In this article, we are going to deploy and explore a library app that you will extend later on. Explore how to use the EntityManager object to create SQL queries, how do different entities map to each other, and many more.
Deploying a database server and connecting your Java server to the database doesn’t have to take hours. Learn how to set up your environment for Java EE applications in less than 30 minutes.
Continuing the Java EE JPA Introduction I article, the second part introduces bean annotation, managing JPA entities, and description of fetching.
Explore JPA and the persistence layer of Java EE with JPA in our new theoretical intro to JPA in Java EE 7.