[jboss-user] [JNDI and Naming] - Bind external ejbs to jndi

Anita Albert do-not-reply at jboss.com
Thu May 12 17:00:37 EDT 2011


Anita Albert [http://community.jboss.org/people/anitaalbert] created the discussion

"Bind external ejbs to jndi"

To view the discussion, visit: http://community.jboss.org/message/605037#605037

--------------------------------------------------------------
  We have two jboss servers (say A and B) running. Is it possible to have ejbs deployed on server A to bind to the naming service on server B? The goal is that clients on server A should not have to do a remote look up to call interfaces on this ejb.  I initially tried using ExternalContext and defining an MBean but realized I have to change the way I do the look up to actually call any interface on the ejb. Is there anyway I can specify either -
1. On server A - to configure ejbs to also bind to the naming service on B while getting deployed. 
   or
2. On server B - to configure jndi so that the jndi name indirectly points to jnp://serverB:1099/jndi name

Any pointers to any documentation will be really appreciated. Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/605037#605037]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110512/1daf3f00/attachment-0001.html 


More information about the jboss-user mailing list