The jclient command allows the user to easily start a "heavy" java client that will be able to reach beans in remote JOnAS servers and start distributed transactions.
Add an additional classpath before running the Java program.
Set a security manager using the policy file in $JONAS_BASE/conf/java.policy. (This is used to download stubs automatically; see Section 3.5.3 Automatic Downloading of Stubs from Clients.)