If i understood you just need a remote lookup
Le 25 mai 2013 10:26, "jply" <[email protected]> a écrit :

> Need some help. I've been back and forth thru the OpenEJB/TomEE docs and
> examples and I'm having trouble splicing it all together. (I know. Cut me
> some slack. It's the next-to-last week of a deathmarch.)I've got a JSF app
> I
> want to deploy to TomEE. Its managed beans contain injected @EJB remote
> references. Those EJBs are deployed to a Glassfish server. I've got to keep
> the app portable, so I can't use @EJB(mappedName= ...), but I can use
> @EJB(name="ejb/MyRemote"). I won't be deploying any EJBs to TomEE, just the
> war with the webapp.To make this work, my understanding is that I need
> to:1)
> Create a JNDI provider to link to the remote Glassfish. What is the form of
> this descriptor element? Which deployment descriptor file does it belong
> in?2) Bind the name from the @EJB(name=...) annotation to a mapped name
> that
> OpenEJB can use to get the impl from Glassfish via the JNDI provider. Same
> questions: what is the form of this element, and which file should I place
> it in?TIA,Jerry
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Invoke-EJB-on-Glassfish-tp4663221.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to