I created this project with eclipse. The structure is as follows
- EsbMointorCommon
Contains some classes used in all other projects - EsbMonitorClient
Contains the EJB's (at least it was so created by Eclipse) - EsbMonitorJPA
Contains the Entities (includeing DataSource) - EsbMonitorJSF
Contains the web files - EsbMonitorEAR
Combines all others into a singel EAR file (the META-INF contains the persistence.xml)
Originally the persistence.xml was located in the JPA project but then a whole set of other exceptions occured. Maybe stubid question: I was under the impression that the ejb-jar.xml is not needed anymore but i found examples where a PU is refered to by one. Do i have to create such a xml somewhere?
Thanks four your help!