A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
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 ejb jar?
I agree. Here's the link:
Bind the server IP to the EJB JNDI name
persistence unit scope
Persistence Unit Scoping
Adding persistence.xml dynamically
Multiple persistance unit simultaneously, issue.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014