for portability simply do the lookup manually in a producer :(

- Romain


2012/6/26 exabrial <exabrial+open...@gmail.com>

>
> I'll try to explain better:
>
> Say I have a two tier architecture... a web tier and business logic tier.
> The web tier is a JSF app running in TomEE and the business logic tier is a
> large cluster of standalone OpenEJB servers.
>
> The tutorial said I can accomplish this with the following annotation:
> @EJB(mappedName = "jndi:ext://shoe/OrangeBeanRemote")
> OrangeBeanRemote myEjb;
>
> However, I'd like to just have this for portability:
>
> @EJB
> OrangeBeanRemote myEjb;
>
> Both examples should resolve the EJB on the remote business logic tier. Is
> there a way to tell TomEE to find all of it's EJBs by default on the
> business tier without any instance specific notation like
> "jndi:ext://shoe/OrangeBeanRemote"?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Using-EJB-Inject-to-lookup-on-remote-interface-running-on-separate-standalone-OpenEJB-server-tp4655814p4655820.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to