Java Tutorial - Java Script :
Needs and Features Analysis
What are the reasons we might need a Java database? There are other non-Java databases that are better suited to handle large enterprise applications. These other databases support Java using JDBC drivers. Why do we need a lightweight Java alternative? There are several reasons why we might elect to use a Java database:
· If the database needs of an application are light, then a Java database is normally easier to set up, configure, and maintain than the heavyweight alternatives.
· Two of the Java databases also support memory-based tables. This feature might come in handy for fast lookups of commonly needed data.
· It might also be advantageous to use a lightweight database for specialized installations of our application. John has often installed sales versions of applications onto a laptop computer for demonstration purposes. The laptop can be easily used for conferences or sales presentations and the database quickly restored for the next demonstration.
· It is even possible to deploy the database as a part of a Web application, including it in the .war file.
In light of these uses, the closer the database is to conformance with the SQL Entry Level specification and with the required JDBC 2.0 subset, the better. The database should also provide support for transactions. Support for both memory- and disk-based databases is nice but is not mandatory. Product stability and reliability is a concern that also needs to be considered.
