Java Notes

Database Engines

To use a database system from Java use the JDBC classes, which allow your program to use either a local data base or one located over the Internet.

To package a database engine with your program, you might consider one of the many Java open-source options linked to below.

Because communication with the database is with a standard protocol (JDBC), Java programs can use databases written in any language, so there is no need to restrict your choices to those written in Java.

If you don't want to interact directly with standard SQL, but instead use a more OOP friendly interface that will still use an underlying relational database, you might want to use Hibernate (see below).