Setting Up a Database
To use JDBC, you need a database server and a database driver. Because you might be running Java on a platform different from what this book uses, this example uses a pure Java database server and driver (Type 4).
The hsql database server is a pure Java server that is freely available from http://hsqldb.sourceforge.net/. Download the zip file and expand it into a directory in your file system.
The hsql database server is an excellent example of what it takes to build a database with Java. You will see in Chapter 20, “Developer Assignment Guide,” an example of what you can do. hsql has a lot of functionality from which you can learn. Because the source is provided, it is strongly recommended that you peruse it. In particular, ...
Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.