Chapter 2. Java Persistence

Applications are made up of business logic, interaction with other systems, user interfaces . . . and persistence. Most of the data that our applications manipulate has to be stored in databases, retrieved, and analyzed. Databases are important: they store business data, act as a central point between applications, and process data through triggers or stored procedures. Persistent data is everywhere, and most of the time it uses relational databases as the underlying persistence engine. Relational databases store data in tables made of rows and columns. Data is identified by primary keys, which are special columns with uniqueness constraints and, sometimes, indexes. The relationships between tables use foreign keys ...

Get Beginning Java™ EE 6 Platform with GlassFish™ 3 now with O’Reilly online learning.

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