12.3. Comparison of JDBC and JDO
After seeing a JDBC example in this chapter and JDO throughout the book, you probably agree that the two APIs definitely “feel” very different to use. So what really makes this difference?
JDO is a high-level API for transparent object persistence. The programmer can write Java code and work with Java objects as always. The data of the objects is almost automatically made persistent and can be reused in a different run of the application, can be queried, and possibly can be accessed by other applications. All this is achieved in a relatively transparent manner.
You may have noticed that the JDO API does not make any explicit reference on what the specification calls the “datastore,” the place where persistent ...
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.