Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic