Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Another Question... this time, about relationships

 
Eduardo Alcazar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry... another question...

if i have a relatioship between two entity bens, should i put both beans(i mean... two bean classes, and... two home & component interfaces) within a single ejb-jar file?(with only one DD)

 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,you need to put both the Classes in single JAR/EAR file only with one DD.But in DD you need to define relationship element between two beans.

James
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!