12.4. Summary

This chapter has reviewed JDBC, another API for persisting data in Java, specifically tailored to wide-spread relational databases. A brief overview of relational databases, a history of JDBC, an introduction to the new JDBC 3.0 API, and a source code case study showing the practical use of JDBC were presented in the beginning of the chapter.

The second part of this chapter then compared JDBC with JDO, discussed features and differences of each, and highlighted common misconceptions. The general conclusion drawn was that they are complementary APIs, each serving their own purpose well, and examples of applicability of each API were discussed.

On performance, it was shown that a JDO-based application need not be slower than JDBC-based ...

Get Core Java™ Data Objects 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.