This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
A jndi.properties file in the root of your MyClient.jar:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://<ip here>:1099 java.naming.factory.url.pkgs=org.jboss.naming.client ...jboss specific j2ee.clientName=MyClient ...same as display-name
In your application.xml file you need to add: <module> <java>MyClient.jar</java> </module>
Running your client jar from a remote computer should now work by doing