Java Logo
April 15, 2003
Introduction to JDO

Presentation Slides

Thanks to Patrick Linskey of Solarmetric for his Intro to JDO presentation and discussion of Solarmetric's Kodo JDO implementation.

Patrick presented a comprehensive overview of Java Data Objects with discussion on the benefits of Solarmetric's implementation, Kodo. Basically JDO is a cross between object serialization and persistence via JDBC in which one "flattens" their data model. Using JDO requires only minimal modifications to code and the ultimate datastore can be an object database, relational database, xml file, jndi, etc. You can even persist to multiple datastores at the same time. JDO does integrate with the transaction manager/distributed transactions and can be used underneath the hood to implement container managed persistence as exemplified in Sun's Sun One Application Server. Solarmetric's Kodo product caches data and can result in a performance boost of up to 20%. See the slides for more details.

Thanks to Solarmetric for providing Pizza and a raffle as well as Computer Science Corporation for facilities!

Abstract

Earlier this year, the Java Data Objects (JDO) specification was approved through the JCP in a landslide vote 14-0. The Java Data Objects specification provides a standard way for persisting objects and is showing a great deal of promise by increasing application portability, reducing development cycle time, and improving code quality. Applications written with JDO can be ported seamlessly across any data store without any recompilation or changes at the source level. Developers using JDO are seeing 20-40% decrease in coding. Java Data Objects works equally well in managed environments as well as non-managed environments.

  • The following topics will be presented:
  • Introduction to the JDO standard;
  • The benefits of the JDO API;
  • A comparison of JDO to other persistence APIs;
  • The JDO enhancement process;
  • JDO's public interfaces;
  • Examples of how to persist data using JDO ;
  • Examples of how to retrieve data leveraging the JDO Query Language (JDOQL);
  • A description of how to use JDO with EJBs.