either by local reference or by global reference (simpler)
in A :
BeanLocalHome home = (BeanLocaLHOME)new InitialContext().lookup("MySessionBeanInB");
simply that
julien
On Mar 11, 2004, at 10:27 AM, [EMAIL PROTECTED] wrote:
I just need to call a method on a session bean packaged in EAR B, from EAR A.
In EAR A i have a web application which needs to call a business method on a Session bean packaged in EAR B (which is packaged in a jar file inside the ear).
By the way, congratulations on JBoss Nukes. I just took a look at it. And it looks great!
Regards,
Harm de Laat
Informatiefabriek
The Netherlands
<x-tad-smaller>Julien Viet <[EMAIL PROTECTED]></x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller>Sent by: [EMAIL PROTECTED]</x-tad-smaller>
<x-tad-smaller>10-03-2004 21:21</x-tad-smaller>
<x-tad-smaller>Please respond to</x-tad-smaller>
<x-tad-smaller> [EMAIL PROTECTED]</x-tad-smaller>
<x-tad-smaller>To</x-tad-smaller>
<x-tad-smaller>[EMAIL PROTECTED]</x-tad-smaller>
<x-tad-smaller>cc</x-tad-smaller>
<x-tad-smaller>Subject</x-tad-smaller>
<x-tad-smaller>Re: [JBoss-user] deployment question</x-tad-smaller>
<x-tad-smaller>what kind of access ?</x-tad-smaller>
<x-tad-smaller> On Mar 10, 2004, at 3:08 PM, [EMAIL PROTECTED] wrote:</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Hi all,</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > I have two ear files.</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > In EAR A i need to access a sessionbean which is in EAR B.</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > How can this be achieved?</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Thanks in advance,</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Regards,</x-tad-smaller>
<x-tad-smaller> ></x-tad-smaller>
<x-tad-smaller> > Harm de Laat</x-tad-smaller>
<x-tad-smaller> > Informatiefabriek</x-tad-smaller>
<x-tad-smaller> > The Netherlands</x-tad-smaller>
