File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Deployment" Watch "Deployment" New topic


avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342

I have ear that contain jar Model,Infra,Server.

I want to have persistence unit XXX that has all the entitis under Jars - Model,Infra

And persistence unit YYY that all the entitis under Jar - Server.

Server has DAO that need to work with the two persistence units.

Where should i put the META-INF files?

Is it ok to has entites in Jar that dosnt declared as ejb jar?

Thank you
Consider Paul's rocket mass heater.
subject: Deployment
It's not a secret anymore!