I've only ever used the J2EE RI, but I hope this question is not
implementation-dependent (it seems like the answer to almost every EJB
question is that it depends upon the vendor).

   Given the three scenarios below, when do I need to use an EJB reference or
link when I'm creatinga  new enterprise ean?

   1.  One application, one jar file, multiple beans that want to refer to
each other.

   2.  One application, multiple jar fiiles, one bean per jar, and the beans
need to refer to each other.

   3.  Two separate applications which want to refer to beans which are
deployed only in the other application.  (Is this possible?).

   I'm trying to figure out when I have to use a reference and what its' good
for or why it's needed.  I was told tahtyou have to use references if the
beans are all in the same jar because the jar has its own special naming
context, but taht didn't make much sense to me.  JNDI is JNDI.  Thank.s


   Ken

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to