Chapter 4. Generating Container Classes

JOnAS uses a special 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 straightforward 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. For example:

GenIC myapp.jar

or

GenIC ejb-jar.xml

A complete description of the GenIC command and its options can be found in the JOnAS tools documentation. The JOnAS Ant task is also described in the JOnAS documentation.

The GenIC utility: