JPA Persistence
In the previous installment of this tutorial we went over how to annotate JPA entities to support database relationships. In this installment, we are going to explain how to save data to your database.
In the previous installment of this tutorial we went over how to annotate JPA entities to support database relationships. In this installment, we are going to explain how to save data to your database.
In the examples in the previous part of the tutorial, we looked at how simple JPA could make accessing the data in our database. Now we are going to explore how to configure JPA to give us this functionality.
JEE / J2EE has been around for a long time, and has maintained a reputation as a platform that is both slow, heavyweight, and difficult to use. But things have changed dramatically for the better since those dark days.
The guide below is the configuration tutorial for a short series of posts in which I take you through the process of creating a simple chat server using JEE 6 via the TomEE application server. The aim is to show just how much simpler JEE has become since its older, more heavyweight J2EE days.