Chapter 3. Generating the container classes

JOnAS uses a specific compiler to statically generate stubs and skeletons for the remote objects by way of the rmi compiler or jeremie compiler. This allows faster loading and execution of beans compared to the dynamic approach used in JBoss. Once you have the deployment descriptors, this is a straight forward process that can be performed using GenIC, a tool provided in the JOnAS distribution. The corresponding ANT task for JOnAS may also be used.

Here is how to use GenIC:

GenIC [Options] InputFile
InputFile is either a jar file or a xml deployment descriptor. Example :
GenIC myapp.jar

GenIC ejb-jar.xml
A complete description of the GenIC command and its options can be found at JOnAS tools documentation. The JOnAS ANT task is also described in the JOnAS documentation.

The GenIC utility :