This document covers most of the aspects of looking up and using EJBs 
remotely.

http://kb.atlassian.com/content/orion/docs/remote-access/remote-access.html

Cheers,
Scott

-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
      Supporting YOUR J2EE World


Alexey Alexapolsky wrote:

> I manages to achieve this by adding a line to applications.xml
> 
>     <ejb-module path="../applications/YP/YP-ejb.jar" remote="false" />
> 
> and then I get my ejbs from another app same as I do from standalone app ,
> via Initial context
> 
> Don't forget to ejb declaration to web.xml of your web app
> 
> Regards,
> Alexey
> CodeCharge Support
> 
> 
>  > -----Original Message-----
>  > From: Patrik Strid [mailto:[EMAIL PROTECTED]]
>  > Sent: Thursday, January 17, 2002 1:48 AM
>  > To: Orion-Interest
>  > Subject: Lookup EJB's in another application
>  >
>  >
>  > 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/
>  >
> 



Reply via email to