Chapter 5. Developing JPA Entities
Ambition is the path to success. Persistence is the vehicle you arrive in. Bill Bradley (a politician).
The EJB 3.0 specification includes a persistence specification called the Java Persistence API (JPA). It is an API for creating, removing, and querying Java objects called entities that can be used within both, a compliant EJB 3.0 container and a standard Java SE 5 environment.
In this chapter, we introduce the AppStore application, which will be a central theme of this book. The application includes a persistence layer designed around JPA, a session bean facade, and a frontend delivered with JavaServer Faces(JSF) web framework (we will see this in the next chapter).
In this chapter, we will discuss the following ...