• Post Reply Bookmark Topic Watch Topic
  • New Topic

entity bean CMR's  RSS feed

 
Rowan John
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The answer to my question is bound to be in the spec, but I couldnt find it there. So, if I deploy an ear with 2 jar files with entity beans, such as:
my.ear
a.jar
b.jar
where a.jar has the Order entity bean and b.jar has the Orderline entity bean can I define a CMR between the Order and OrderLine entity beans?
Thanks,
Rowan
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is no, you can't. CMR's must be defined between EJB's defined within the same JAR file. This is because the EJB-NAME that's used to define the sources of the CMR is not "namespace qualified" to indicate which file it came from.
Kyle
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!