Introduction to JPA, and a client-server bank program, which uses JPA to persist data in a database. This example illustrates the following.
Object-relational (O/R) mapping
JPA usage
Solving race conditions with a transaction API instead of the synchronized keyword.