This content has been marked as final. Show 1 reply
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.