Remote @EJB dependency injection from remote JBoss AS
April 05, 2009 | No Comments »
You want JBoss to inject a remote proxy of an EJB located on another JBoss? Nope, out of the box it won’t do that.
JBoss will not do that with jndi.properties in your EJB module classpath either, nor it won’t if you launch JBoss with -Dava.naming.provider.url=server1,server2.
So the easy way to do that is to bind the remote naming context provider into local naming context.
How? Follow me.














