By embedding Java DB in your Java application, you provide a portable database that launches and shuts down as the application does. If that's not enough, you can create XML schemas on the fly using XML files and insert rows into a table without using SQL too.
by Raghu Donepudi
May 12, 2006
n exclusive, embedded database for a Java application is a marvelous idea, the full potential of which may not be realized for some time. Currently, you could use it as a supplemental client-side database in desktop and browser applications or as a backup database should something go wrong with the network database.
A networked database serves as a persistence repository for various applications' business data, but every application contains a lot of data that is not business-related, such as user personal screen settings, etc. Storing this non-business-related data in a networked database server wastes valuable network and database resources. Having this type of data available only during the lifetime of the application makes sense. Java DB offers a perfect solution in this case.
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!