66
6.5.2. Description
The GenIC utility generates the container classes for JOnAS from the given Enterprise Java Beans.
The InputFileName is either the file name of an EJB-JAR file or the file name of an XML deploy-
ment descriptor of beans.
The GenIC utility does the following in the order listed:
1. Generates the sources of the container classes for all the beans defined in the deployment de-
scriptor.
2. Compiles these classes via the Java compiler.
3. Generates stubs and skeletons for those remote objects via the RMI compiler.
4. If the InputFile is an EJB-JAR file, adds the generated classes in this EJB-JAR file.
6.5.3. Options
-d directory
Specifies the root directory of the class hierarchy.
This option can be used to specify a destination directory for the generated files.
If the
option is not used, the package hierarchy of the target class is ignored and the generated
-d
files are placed in the current directory.
If the
InputFile
the
-noaddinjar
-invokecmd
Invoke, directly in some cases, the method of the Java class corresponding to the command.
-javac options
Specifies the
java
-javacopts options
Specifies the options to pass to the
-keepgenerated
Do not immediately delete generated files.
-noaddinjar
If the
InputFile
-nocompil
Do not compile the generated source files via the Java and RMI compilers.
-novalidation
Remove xml validation during parsing.
-protocols
Comma-separated list of protocols (chosen from jrmp, iiop, cmi) for which stubs should be gen-
erated. Default is
is an EJB-JAR file, the generated classes are added to the EJB-JAR file, unless
option is set.
compiler name to use (
java
is an EJB-JAR file, do not add the generated classes to the EJB-JAR file.
.
jrmp
Chapter 6. JOnAS Command Reference
by default).
javac
compiler.
Need help?
Do you have a question about the APPLICATION SERVER - JONAS and is the answer not in the manual?
Questions and answers