• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

entity bean CMR's

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic