A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
It is sorta covered in the
JavaRanch Style Guide
Bind the server IP to the EJB JNDI name
persistence unit scope
Adding persistence.xml dynamically
Multiple persistance unit simultaneously, issue.
Persistence Unit Scoping
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014