ctmjava2idl (generate IDL file)
- Organization of this page
Format
ctmjava2idl [-h] | [-g] [-o output-file-name] [-c class-path] EJB-class-file
Function
This command generates an IDL file from an EJB class file.
Arguments
- -h
-
Displays how to use the command.
- -g
-
If this option is specified, the command generates an IDL definition file provided by CTM.
- -o output-file-name
-
Specifies the name of the output file.
- -c class-path
-
Specifies the class path referenced by the class file.
- EJB-class-file
-
Specifies the EJB class file from which an IDL file is to be generated. Make sure that this option is specified at the end of the command line.
Return values
- 0:
-
The command ended normally.
- Other than 0:
-
The command terminated abnormally due to an error that occurred during command processing. Take measures as indicated in the message that is output, and then re-execute the command.
Notes
-
For the PATH environment variable, set the path of the directory that contains java2idl for TPBroker V5. In UNIX, set the TPBroker V5 path for the path environment variable in the shared library.
-
The IDL definition file generated if the -g option is specified becomes the definition file in JDK 1.4.2 provided by Cosminexus.
-
During execution of the ctmjava2idl command, messages might be output from TPBroker that is internally used.
-
The ctmjava2idl command overwrites the file whose name is specified for the -o option. Even when the command line has a syntax error, the file whose name is specified immediately after the -o option might be overwritten.
The ctmjava2idl command outputs an IDL file that is compatible with OTM. For details about the IDL file, see the manual TPBroker Object Transaction Monitor Programmers Guide.