Creating the StoreBO project
To implement even the most basic business functionality, the domain entities must exist and be available. So, let's create the project StoreBO (BO means Business Objects) that is going to hold the store's entities.
Note
As we're going to use the Java Persistence API (JPA), it's good to know that the default JPA implementation shipped with Oracle WebLogic Server 12c is Oracle TopLink, which is heavily based on EclipseLink. Up until the previous release (11g), the default implementation was Kodo, which Oracle bought along with other BEA products.
The Oracle Enterprise Pack for Eclipse gives us a couple of handy features to create a JPA Project. By selecting this project type, we basically instructed Eclipse to add the JPA facet to the project, enabling features such as a tool to map relational tables to classes.
Tip
Keep in mind that JPA 2.0, which is the layer that enables EJB 3.x persistence features, is not directly linked to Java EE—you can use the persistence...