Thx again,
It think i resolved my issue.

My Bean implementation was defined like this:
@stateless
@localbean
public class whatever implements whateveremote

Having
@statless
public class whatever implements whateveremote,whateverlocal

seems to be working.
Now I can use remote interface on all three implementations using the
jndiprovider.


br hw



on., 14.05.2014 kl. 07.16 +0200, skrev Romain Manni-Bucau:

> Remote bean name, ejb-name no link with java itself if you dont name your
> ejb as the implementation
> Le 14 mai 2014 05:35, "hwaastad" <[email protected]> a écrit :
> 
> > Hi,
> > and thanks for answering.
> >
> > I've been testing a lot but I've not been able to make it work.
> >
> > Just to make sure,
> > do you mean: @EJB(mappedName = "jndi:ext://myInitialContext/<Bean
> > implementation>")?
> >
> > br hw
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> > http://openejb.979440.n4.nabble.com/basic-ejb-lookup-question-tp4669243p4669296.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >


Reply via email to