Exercises
To extend your knowledge of the subjects covered today, try the following exercises:
1. |
Create a simple XML format to represent a book collection with three books and a Java application that searches for books with Joseph Heller as the author, displaying any that it finds. |
2. |
Create two applications: one that retrieves records from a database and produces an XML file that contains the same information and a second application that reads data from that XML file and displays it. |
Where applicable, exercise solutions are offered on the book’s website at http://www.java21days.com.