Hello,

I have a few quick questions.

I have 3 separate beans: BeanA, BeanB and BeanC, all of which can be used
within an application and also within other applications. What I would like
to do is lookup BeanB and BeanC from BeanA. 

I understand that I need to use ctx.lookup("java:comp/env/ejb/MyBean") to
look up other beans, but in ejb-jar, when I specify <ejb-link></ejb-link>,
do the other beans (B & C) *have* to be defined in the same descriptor?
They're already defined in their own descriptors and deployed on the server.


Even if I *redefined* the beans in the ejb-jar for BeanA, would that mean
the other beans would be redeployed when I deploy BeanA? 

What if the bean code is not available at the time of BeanA's deployment?

Thanks.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to