I am working on Java 1.6. The application server is JBoss 5.0. I am using Eclipse Kepler.
In Eclipse I create a new Enterprise Application Project (EAR Application Project) by selecting File --> New --> Enterprise Application Project. I name it MyApp.
I selected it to have 2 modules:
1) EJB Module (I call it MyAppEJB)
2) Web Module (I call it MyAppWeb)
Now how to include JPA? Eclipse is giving me choice to include JPA in MyAppEJB and/or MyAppWeb.
Q1: Should JPA be part of MyAppEJB only?
Q2: Should JPA be part of MyAppWeb only?
Q3: Should JPA be part of both MyAppEJB and MyAppWeb?
Aucun commentaire:
Enregistrer un commentaire