not sure i got you but JndiProvider is in tomee.xml so you caneasily switch
to local, remote, clustered deployments

- Romain


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

> Thanks David. I'll try out your page editing functionality a bit later
> tonight once I figure it all out :) The doc also answered a question about
> referencing many servers that I was going to ask.
>
>
> Here's a followup question: So, normally, I'd just put @EJB, but the
> example
> says  @EJB(mappedName = "jndi:ext://shoe/OrangeBeanRemote") I imagine
> "jndi:ext://" is necessary to tell TomEE to go somewhere else other than
> it's own jndi tree.
>
> Is there away around that so just plain @EJB would work? I want to be able
> to develop with the EJBs in TomEE, but in prod, I want a large cluster of
> OpenEJB servers. It seems like I should be able to set my prod default
> <JndiProvider> to point externally...
>
> I tried to find more information about this on this page:
> http://openejb.apache.org/containers-and-resources.html but JndiProvider
> isn't mentioned :( The source for JndiProvider shows three properties: id,
> type, provider but I can't find any info about those either.
>
> I'll keep digging, but any help or ideas appreciated. I'm definitely going
> to add this to the wiki when i'm done.
>
> --
> 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-tp4655814p4655818.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to