Call : (+91) 99 8080 3767
Mail :

Java Data Objects (JDO) Using KODO

( Duration: 3 Days )

The Java Data Objects (JDO) Using KODO training course provides the general concepts, the Application Programming Interface (API), and the query language of the standard Java Data Objects (JDO) persistence service. You will explore a variety of tools and applications to gain a thorough understanding of JDO and its behavior. You will also learn how to use JDO with Web applications and Enterprise JavaBeans.

By attending Java Data Objects (JDO) Using KODO workshop, delegates will learn to:

  • Explain the purpose, design, and benefits of JDO
  • Create Web applications or Enterprise JavaBeans using JDO
  • Describe, in-depth, the standard JDO API and its Object relational mapping techniques

Solid experience in writing one of the following types of Java applications:

  • A Web application
  • An Enterprise Java Bean

  • This Java Data Objects (JDO) Using KODO class is suitable for Application Programmers



Basic Concepts

  • JDO as a standard, transparent, and universal persistence service
  • Persistent state and JDO identity
  • How applications use JDO in general terms
  • Obtaining a PersistenceManagerFactory object from JNDI or by using a properties file
  • Requirements for defining a data class

Finding Persistent Objects

  • The various ways that applications ‘find’ the persistent objects that interest them
  • Extent interface in JDO
  • Create a program to obtain and iterate an extent of data objects
  • Query interface in JDO
  • Syntax of query filters, parameters, variables, and imports
  • Exception handling during query execution
  • How the IgnoreCache property affects extent iteration and query results
  • Factory methods in the PersistenceManager interface that produce Query objects

Inheritance Mapping

  • Various strategies for mapping a database onto a set of Java objects
  • One class for each table
  • One class per table, with inherited fields duplicated
  • Using a flattened hierarchy
  • Combined approaches
  • Leaf driven hierarchy

The JDO Metadata

  • The purpose of the JDO metadata
  • Required XML elements of the JDO metadata
  • A simple example of JDO metadata that uses only the required elements
  • Optional XML elements of the JDO metadata
  • Default fetch group and its purpose
  • Difference between first-class objects and second-class objects and how this relates to the JDO metadata’s embedded attributes
  • How JDO searches for the JDO metadata files

JDO Identity

  • Three types of JDO identity and their purposes
  • Uniqueness requirement and its significance
  • Requirements for JDO datastore identity classes and application identity classes

The PersistenceManager and Transaction Interfaces

  • Ten management states for data objects
  • PersistenceManager interface in JDO
  • Transparent support for serializing data objects
  • Transaction interface in JDO
  • Optimistic and datastore transactions

Helpers, Factories, Callbacks, and Exceptions

  • JDOHelper class in JDO
  • PersistenceManagerFactory interface in JDO
  • Standard implementation options in JDO
  • Methods in the InstanceCallbacks interface and some uses for them
  • Exception classes defined by JDO

Using JDO with Web Applications

  • Design issues when using JDO with Web Applications

Using JDO with Enterprise JavaBeans

  • Design issues when using JDO with Enterprise JavaBeans
  • Differences in how JDO behaves in the following environments
    • JDO local transactions
    • Container managed transactions
    • Bean managed transactions

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.