File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Object Relational Mapping
Joined: Jan 10, 2007
Sep 05, 2007 11:23:00
I have ear that contain jar Model,Infra,Server.
I want to have persistence
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
I agree. Here's the link:
Adding persistence.xml dynamically
Bind the server IP to the EJB JNDI name
Persistence Unit Scoping
Multiple persistance unit simultaneously, issue.
persistence unit scope
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014