This content has been marked as final.
Show 1 reply
-
1. Re: communicate with a remote JNDI EJB3 object
jaikiran Jul 13, 2009 3:19 AM (in response to samsam001)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.