Java Reference
In-Depth Information
At this point we are ready to start developing our application. The data access
layer will be implemented in the EJB module and the user interface layer will be
implemented in the web application module.
Implementing the Data Access Layer
Now we are ready to start developing our application. In this project we will be
generating JPA entities from an existing database, mimicking the typical situation in
a real enterprise project, where a database administrator is in charge of creating the
database schema for the application.
For our example, we will be using the database schema we created in the
Automated Generation of JPA Entities section of Chapter 5.
In order to do so, we need to right-click on our EJB module project and select
New | Other , then select the Persistence category and Entity Classes
from Database .
 
Search WWH ::




Custom Search