24.5 Setting up a Java DB Database

This chapter’s examples use Oracle’s pure Java database Java DB, which is installed with Oracle’s JDK on Windows, Mac OS X and Linux. Before you can execute this chapter’s applications, you must set up in Java DB the books database that’s used in Sections 24.624.7 and the addressbook database that’s used in Section 24.8.

For this chapter, you’ll be using the embedded version of Java DB. This means that the database you manipulate in each example must be located in that example’s folder. This chapter’s examples are located in two subfolders of the ch24 examples folder—books_examples and addressbook_example. Java DB may also act as a server that can receive database requests over a network, but that is beyond ...

Get Java™ How To Program (Early Objects), Tenth Edition 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.