Sathya Sekar penned

> This is my first post to this group ! Rather a newbie
> to XDoclet. So pardon for any naivette.

Welcome to the list and XDoclet! :)

> I have an entity bean, JournalMap, which is deployed
> in a package say A.jar with the below class tags :
> 
> [...]
> 
> Now, I have another bean which is deployed in another
> package B.jar but in the same J2EE server - and this
> bean has a CMR to the above JournalMap bean :

That's the problem. Entity beans can only have relationships with other
entity beans in their JAR. This is in addition to the requirement of
local interfaces for the bean on the other side of the relationship (the
"to" side).

>From the EJB specification 10.3.2 (though I'm sure there's a more
explicite definition that mentions packaging):

  Container-managed relationships can exist only among
  entity beans within the same local relationship scope,
  as defined by the <relationships> element in the
  deployment descriptor. Container-managed relationships
  are defined in terms of the local interfaces of the
  related beans.

-- 
David Harkness                               Sony Pictures Digital
Sr. Software Engineer   310.482.4756    [EMAIL PROTECTED]

        Those who judge the value of advice by its source
        will at once dismiss the best and follow the worst.


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to