![]() |
![]() |
|
|
idltojava(1)
Name
idltojava—Compiles IDL files to Java source code based on IDL to Java mappings defined by the OMG.
Synopsis
idltojava [idltojava Command Flags] [idltojava Command Options] filename ...
m3idltojava [idltojava Command Flags] [idltojava Command Options] filename ...
To run idltojava on Client-side IDL files, use the following command:
idltojava <flags> <options> <idl-files>
The idltojava command requires a C++ pre-processor, and is used to generate deprecated names. The command idltojava generates Java code as is appropriate for the client-side ORB.
Note: A remote joint client/server is a client that implements server objects to be used as callback objects. The server role of the remote joint client/server is considerably less robust than that of a CORBA server. Neither the client nor the server has any of the BEA Tuxedo system administrative and infrastructure components, such as tmadmin, JNDI registration, and ISL/ISH (hence, none of scalability and reliability attributes of BEA Tuxedo ATMI system).
To run m3idltojava on Server-side IDL files, use the following command:
m3idltojava <flags> <options> <idl-files>
Note: The m3idltojava compiler is deprecated in this release. BEA Systems recommends using the idltojava compiler to generate client stubs for CORBA Java clients and CORBA Java joint client/servers.
The server-side ORB is built to use non-deprecated names. The command m3idltojava generates Java code using non-deprecated names as is appropriate for the server-side ORB.
Description
The idltojava command compiles IDL source code into Java source code. You then use the javac compiler to compile that source to Java bytecodes.
The command idltojava is used to translate IDL source code into generic client stubs and generic server skeletons which can be used for callbacks. The command m3idltojava is used to translate IDL into generic client stubs and CORBA server skeletons.
The IDL declarations from the named IDL files are translated to Java declarations according to the mappings specified in the OMG IDL to Java mappings.
The idltojava compiler provided with the BEA Tuxedo system CORBA environment includes several enhancements, extensions and additions that are not present in the original Sun Microsystems, Inc. version of the compiler. The BEA Tuxedo system specific revisions are summarized here.
The BEA Tuxedo system idltojava compiler:
Options
Note: Several option descriptions have been added here that are not documented in the original Sun Microsystems Inc. idltojava compiler documentation.
Command Flags
The flags can be turned on by specifying them as shown, and they can be turned off by prefixing them with the letters no-. For example, to prevent the C preprocessor from being run on the input IDL files, use -fno-cpp.
The table below includes descriptions of all flags.
Notes
The BEA Tuxedo system idltojava compiler processes #pragma somewhat differently from the Sun Microsystems, Inc. idltojava compiler.
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|