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]
[jBoss-User] Questions on ejb-link and lookup of other beans
Hardy, Patrick, DDI - Garden City Tue, 06 Mar 2001 10:48:40 -0800
- Re: [jBoss-User] Questions on ejb-link a... Hardy, Patrick, DDI - Garden City
- Re: [jBoss-User] Questions on ejb-l... David Castro Diephouse
