[jboss-user] [EJB 3.0] - Re: communicate with a remote JNDI EJB3 object
jaikiran
do-not-reply at jboss.com
Mon Jul 13 03:19:48 EDT 2009
You will find a jndi.properties in the client classpath (source code). You can edit that to point to the remote server. Here's an example:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
| java.naming.provider.url=jnp://Remote-Machine-IP:1099
Remote-Machine-IP is the IP/hostname of the remote server which hosts the EJB. 1099 is the Naming port (by default) of the remote server.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243167#4243167
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243167
More information about the jboss-user
mailing list