Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Another Question... this time, about relationships  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!