Persistence using the Java Persistence API
In this chapter, we create the Java Persistence API (JPA) entities that coordinate and mediate access with the ITSOBANK database. We can use either the Derby or the DB2 database to create the matching JPA entities (Customer, Account, and Transaction). We have a choice between the bottom-up scenario and the top-down scenario. To connect the entity model and any of the two databases, we use a Java Naming and Directory Interface (JNDI) data source in the server.
To illustrate the JPA tooling, we create a ...

Get Rational Application Developer for WebSphere Software V8 Programming Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.