© Michael Müller 2018
Michael MüllerPractical JSF in Java EE 8 https://doi.org/10.1007/978-1-4842-3030-5_12

12. Java Persistence API

Michael Müller1 
(1)
Brühl, Nordrhein-Westfalen, Germany
 

The data for the Books application is homogeneous, which means the overall structure is the same for every category, book, review, or piece of linking information. The classic storage method for such data (and usually the best choice) is a SQL database system.

If you’re a Java SE developer and have accessed SQL DBs so far, you might have used Java Database Connectivity (JDBC) . JDBC is an abstraction for SQL statements. The database is queried and returns a result set, which is transformed to lists, objects, and other things by your program. The responsibility ...

Get Practical JSF in Java EE 8: Web Applications ​in Java for the Enterprise 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.