users@glassfish.java.net

Re: How to remove osgi war version from the JNDI Lookup?

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Thu, 22 Mar 2012 13:50:23 +0530

Something like the following should do it:

<ejb-local-ref>
<ejb-ref-name>java:global/mywar/MyEJBBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>MyInterface</local>
<ejb-link>MyEJBBean</ejb-link>
</ejb-local-ref>

I am sure our EJB folks would be able to confirm this.

Sahoo
On Thursday 22 March 2012 01:06 PM, forums_at_java.net wrote:
> Hi Sahoo,
>
> Thanks, the @EJB works fine for me also.
> I was wondering how is the corresponding xml should look like (We have
> a case
> where we need to add it as a patch and it's better doind that using just
> xmls...).
> We tried few options with no luck.
>
>
>
> --
>
> [Message sent by forum member 'Karo']
>
> View Post: http://forums.java.net/node/840006
>
>