0 Replies Latest reply on Oct 20, 2004 10:59 AM by onlytoine

    How to reference EJB deployed in another JAR ?

    onlytoine

      Hello,

      I'm reading this book and trying the probleme described in the title.

      For instance, I have two JAR files a.jar and b.jar where I deployed respectively the A and the B entity bean.

      Now, I want to create a relation Many-To-One from B to A... The issue is when I deployed B, I get the exception : "A not bound"...

      In the book (p. 203), it says : "if 2 entity beans are to have a relationship, they must be deplyoed by the same deployment descriptor". This is the reality ? I can't definitively solved my problem ???

      However, I saw over the web that ejb-link should allow to refer a EJB deployed in another JAR file using this syntax : <ejb-link>./a.jar#A</ejb-link>. Does JBoss 4 support this feature ?

      Thanks for your reply !

      Best regards,
      Anthony MÜLLER