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 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.