server.xml:

   <application name="ejbapp"
                     path="../applications/ejbapp.ear"/>
   <application name="webapp" parent="ejbapp"
                     path="../applications/webapp.ear"/>

... nothing else. webapp can use the ejbs in ejbapp as if they 
are in its own ear-file.

hope that helps
  klaus

Am Donnerstag, 17. Januar 2002 00:47 schrieben Sie:
> Hi,
>
> If you have two applications in the same orion
> container. One application with web components and
> another with just EJB's. From the application with web
> components, I want to lookup an EJB that is deployed
> in the other application - is that possible via the
> InitialContext or do I have to call it via an URL and
> getting the extra RMI call?
>
> I can get it to work using a provider URL to the other
> application, but using the InitialContext, the local
> context - it cannot find the bean, or more correct,
> the JNDI name could not be found.
>
> Any help is appreciated !
>
> Thanks,
> Patrik
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/

-- 
--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

 "Your mouse has moved.
  Windows must be restarted for the change to take effect."

Reply via email to