Chapter 3, “Developing EJB Clients”

(CR #498818) In the “Client runtime requirements” section, include this:

When using JDK 1.6, add this option in $JAVA_HOME/bin/java:

-Dsun.lang.ClassLoader.allowArraySyntax=true

This is because the JDK 1.6 on the client side provides the allowArraySyntax option to convert array from the server result data.

If clients run with a JRE, instead of a full JDK, you can prevent the client from trying to generate and compile stubs by setting the system property djc.allowRuntimeCompile to false in the Java command that starts the client application.