.'" t ." ." Copyright 2001-2006 Sun Microsystems, Inc. All Rights Reserved. ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ." ." This code is free software; you can redistribute it and/or modify it ." under the terms of the GNU General Public License version 2 only, as ." published by the Free Software Foundation. ." ." This code is distributed in the hope that it will be useful, but WITHOUT ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ." version 2 for more details (a copy is included in the LICENSE file that ." accompanied this code). ." ." You should have received a copy of the GNU General Public License version ." 2 along with this work; if not, write to the Free Software Foundation, ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ." ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ." or visit www.oracle.com if you need additional information or have any ." questions. ." ." ` idlj - Online Linux Manual PageSection : 1
Updated : 07 Aug 2006
." Generated by html2man
NAMEidlj − The IDL−to−Java Compiler idlj generates Java bindings from a given IDL file.
Synopsis
flidlj [ options ] \f4idl\-file\fP\f3
flwhere idl−file is the name of a file containing Interface Definition Language (IDL) definitions. Options may appear in any order, but must precede the idl−file.
DescriptionThe IDL−to−Java Compiler generates the Java bindings for a given IDL file. For binding details, see the OMG IDL to Java Language Language Mapping Specification. Some previous releases of the IDL−to−Java compiler were named idltojava.
Emitting Client and Server Bindings To generate Java bindings for an IDL file named My.idl: idlj My.idl This generates the client−side bindings and is equivalent to: idlj \f4\-fclient\fP\f2 My.idl\fP The client−side bindings do not include the server−side skeleton. If you want to generate the server−side bindings for the interfaces: idlj \f4\-fserver\fP\f2 My.idl\fP Server−side bindings include the client−side bindings plus the skeleton, all of which are POA (that is, Inheritance Model) classes. If you want to generate both client and server−side bindings, use one of the following (equivalent) commands: idlj \f4\-fclient \-fserver\fP\f2 My.idl\fP
idlj \f4\-fall\fP\f2 My.idl\fP There are two possible server−side models: the Inheritance Model and the Tie Delegation Model. The default server−side model is the Portable Servant Inheritance Model. Given an interface My defined in My.idl, the file MyPOA.java is generated. You must provide the implementation for My and it must inherit from MyPOA. MyPOA.java is a stream−based skeleton that extends org.omg.PortableServer.Servant and implements the InvokeHandler interface and the operations interface associated with the IDL interface the skeleton implements. The PortableServer module for the Portable Object Adapter (POA) defines the native Servant type. In the Java programming language, the Servant type is mapped to the Java org.omg.PortableServer.Servant class. It serves as the base class for all POA servant implementations and provides a number of methods that may be invoked by the application programmer, as well as methods which are invoked by the POA itself and may be overridden by the user to control aspects of servant behavior. Another option for the Inheritance Model is to use the −oldImplBase flag in order to generate server−side bindings that are compatible with versions of the Java programming language prior to J2SE 1.4. Note that using the −oldImplBase flag is non−standard: these APIs are being deprecated. You would use this flag ONLY for compatibility with existing servers written in J2SE 1.3. In that case, you would need to modify an existing MAKEFILE to add the −oldImplBase flag to the idlj compiler, otherwise POA−based server−side mappings will be generated. To generate server−side bindings that are backwards compatible: idlj \f4\-fclient \-fserver\fP\f2 \fP\f4\-oldImplBase\fP\f2 My.idl\fP
idlj \f4\-fall\fP\f2 \fP\f4\-oldImplBase\fP\f2 My.idl\fP Given an interface My defined in My.idl, the file _MyImplBase.java is generated. You must provide the implementation for My and it must inherit from _MyImplBase. The other server−side model is called the Tie Model. This is a delegation model. Because it is not possible to generate ties and skeletons at the same time, they must be generated separately. The following commands generate the bindings for the Tie Model: idlj \f4\-fall\fP\f2 My.idl\fP
idlj \f4\-fallTIE\fP\f2 My.idl\fP For the interface My, the second command generates MyPOATie.java. The constructor to MyPOATie takes a delegate. In this example, using the default POA model, the constructor also needs a poa. You must provide the implementation for delegate, but it does not have to inherit from any other class, only the interface MyOperations. But to use it with the ORB, you must wrap your implementation within MyPOATie. For instance:
fl ORB orb = ORB.init(args, System.getProperties());
fl
fl // Get reference to rootpoa & activate the POAManager
fl POA rootpoa = (POA)orb.resolve_initial_references("RootPOA");
fl rootpoa.the_POAManager().activate();
fl
fl // create servant and register it with the ORB
fl MyServant myDelegate = new MyServant();
fl myDelegate.setORB(orb);
fl
fl // create a tie, with servant being the delegate.
fl MyPOATie tie = new MyPOATie(myDelegate, rootpoa);
fl
fl // obtain the objectRef for the tie
fl My ref = tie._this(orb);
flYou might want to use the Tie model instead of the typical Inheritance model if your implementation must inherit from some other implementation. Java allows any number of interface inheritance, but there is only one slot for class inheritance. If you use the inheritance model, that slot is used up . By using the Tie Model, that slot is freed up for your own use. The drawback is that it introduces a level of indirection: one extra method call occurs when invoking a method. To generate server−side, Tie model bindings that are compatible with versions of the IDL to Java language mapping in versions prior to J2SE 1.4. idlj \f4\-oldImplBase\fP\f2 \fP\f4\-fall\fP\f2 My.idl\fP
idlj \f4\-oldImplBase\fP\f2 \fP\f4\-fallTIE\fP\f2 My.idl\fP For the interface My, this will generate My_Tie.java. The constructor to My_Tie takes a impl. You must provide the implementation for impl, but it does not have to inherit from any other class, only the interface HelloOperations. But to use it with the ORB, you must wrap your implementation within My_Tie. For instance:
fl ORB orb = ORB.init(args, System.getProperties());
fl
fl // create servant and register it with the ORB
fl MyServant myDelegate = new MyServant();
fl myDelegate.setORB(orb);
fl
fl // create a tie, with servant being the delegate.
fl MyPOATie tie = new MyPOATie(myDelegate);
fl
fl // obtain the objectRef for the tie
fl My ref = tie._this(orb);
fl
Specifying Alternate Locations for Emitted Files If you want to direct the emitted files to a directory other than the current directory, invoke the compiler as: idlj \f4\-td /altdir\fP\f2 My.idl\fP For the interface My, the bindings will be emitted to /altdir/My.java, etc., instead of ./My.java.
Specifying Alternate Locations for Include Files If My.idl included another idl file, MyOther.idl, the compiler assumes that MyOther.idl resides in the local directory. If it resides in /includes, for example, then you would invoke the compiler with the following command: idlj \f4\-i /includes\fP\f2 My.idl\fP If My.idl also included Another.idl that resided in /moreIncludes, for example, then you would invoke the compiler with the following command: idlj \f4\-i /includes \-i /moreIncludes\fP\f2 My.idl\fP Since this form of include can become irritatingly long, another means of indicating to the compiler where to search for included files is provided. This technique is similar to the idea of an environment variable. Create a file named idl.config in a directory that is listed in your CLASSPATH. Inside of idl.config, provide a line with the following form: includes=/includes;/moreIncludes The compiler will find this file and read in the includes list. Note that in this example the separator character between the two directories is a semicolon (;). This separator character is platform dependent. On the Windows platform, use a semicolon, on the Unix platform, use a colon, etc. For more information on includes, read the CLASSPATH (Solaris) or CLASSPATH (Windows) documentation.
Emitting Bindings for Include Files By default, only those interfaces, structs, etc, that are defined in the idl file on the command line have Java bindings generated for them. The types defined in included files are not generated. For example, assume the following two idl files: \f4My.idl\fP #include <MyOther.idl>
interface My
{
};
\f4MyOther.idl\fP interface MyOther
{
}; The following command will only generate the java bindings for My: idlj My.idl To generate all of the types in My.idl and all of the types in the files that My.idl includes (in this example, MyOther.idl), use the following command: idlj \f4\-emitAll\fP\f2 My.idl\fP There is a caveat to the default rule. #include statements which appear at global scope are treated as described. These #include statements can be thought of as import statements. #include statements which appear within some enclosing scope are treated as true #include statements, meaning that the code within the included file is treated as if it appeared in the original file and, therefore, Java bindings are emitted for it. Here is an example: \f4My.idl\fP #include <MyOther.idl>
interface My
{
#include <Embedded.idl>
}; \f4MyOther.idl\fP interface MyOther
{
}; \f4Embedded.idl\fP enum E {one, two, three}; Running the following command: idlj My.idl will generate the following list of Java files: ./MyHolder.java
./MyHelper.java
./_MyStub.java
./MyPackage
./MyPackage/EHolder.java
./MyPackage/EHelper.java
./MyPackage/E.java
./My.java Notice that MyOther.java was not generated because it is defined in an import−like #include. But E.java was generated because it was defined in a true #include. Also notice that since Embedded.idl was included within the scope of the interface My, it appears within the scope of My (that is,in MyPackage). If the −emitAll flag had been used in the previous example, then all types in all included files would be emitted.
Inserting Package Prefixes Suppose that you work for a company named ABC that has constructed the following IDL file:
\f4Widgets.idl\fP module Widgets
{
interface W1 {...};
interface W2 {...};
}; Running this file through the IDL−to−Java compiler will place the Java bindings for W1 and W2 within the package Widgets. But there is an industry convention that states that a company's packages should reside within a package named com.<company name>. The Widgets package is not good enough. To follow convention, it should be com.abc.Widgets. To place this package prefix onto the Widgets module, execute the following: idlj \f4\-pkgPrefix Widgets com.abc\fP\f2 Widgets.idl\fP If you have an IDL file which includes Widgets.idl, the −pkgPrefix flag must appear in that command also. If it does not, then your IDL file will be looking for a Widgets package rather than a com.abc.Widgets package. If you have a number of these packages that require prefixes, it might be easier to place them into the idl.config file described above. Each package prefix line should be of the form: PkgPrefix.<type>=<prefix> So the line for the above example would be: PkgPrefix.Widgets=com.abc The use of this option does not affect the Repository ID.
Defining Symbols Before Compilation You may need to define a symbol for compilation that is not defined within the IDL file, perhaps to include debugging code in the bindings. The command idlj \f4\-d\fP\f2 MYDEF My.idl\fP is the equivalent of putting the line #define MYDEF inside My.idl.
Preserving Pre−Existing Bindings If the Java binding files already exist, the −keep flag will keep the compiler from overwriting them. The default is to generate all files without considering if they already exist. If you've customized those files (which you should not do unless you are very comfortable with their contents), then the −keep option is very useful. The command idlj \f4\-keep\fP\f2 My.idl\fP emit all client−side bindings that do not already exist.
Viewing Progress of Compilation The IDL−to−Java compiler will generate status messages as it progresses through its phases of execution. Use the −v option to activate this "verbose" mode: idlj \f4\-v\fP\f2 My.idl\fP By default the compiler does not operate in verbose mode.
Displaying Version Information To display the build version of the IDL−to−Java compiler, specify the −version option on the command−line: idlj −version Version information also appears within the bindings generated by the compiler. Any additional options appearing on the command−line are ignored.
Options−d symbol This is equivalent to the following line in an IDL file:
fl#define \f4symbol\fP\f3
fl−emitAll Emit all types, including those found in #include files. −fside Defines what bindings to emit. side is one of client, server, serverTIE, all, or allTIE. The −fserverTIE and −fallTIE options cause delegate model skeletons to be emitted. Assumes −fclient if the flag is not specified. −i include−path By default, the current directory is scanned for included files. This option adds another directory. −keep If a file to be generated already exists, do not overwrite it. By default it is overwritten. −noWarn Suppresses warning messages. −oldImplBase Generates skeletons compatible with pre−1.4 JDK ORBs. By default, the POA Inheritance Model server−side bindings are generated. This option provides backward−compatibility with older versions of the Java programming language by generating server−side bindings that are ImplBase Inheritance Model classes. −pkgPrefix type prefix Wherever type is encountered at file scope, prefix the generated Java package name with prefix for all files generated for that type. The type is the simple name of either a top−level module, or an IDL type defined outside of any module. −pkgTranslate type package Whenever the module name type is encountered in an identifier, replace it in the identifier with package for all files in the generated Java package. Note that pkgPrefix changes are made first. type is the simple name of either a top−level module, or an IDL type defined outside of any module, and must match the full package name exactly. If more than one translation matches an identifier, the longest match is chosen. For example, if the arguments include:
fl −pkgTranslate foo bar −pkgTranslate foo.baz buzz.fizz
flThe following translations would occur:
flfoo => bar
flfoo.boo => bar.boo
flfoo.baz => buzz.fizz
flfoo.baz.bar => buzz.fizz.bar
flThe following package names cannot be translated: o org o org.omg or any subpackages of org.omg Any attempt to translate these packages will result in uncompilable code, and the use of these packages as the first argument after −pkgTranslate will be treated as an error. −skeletonName xxx%yyy Use xxx%yyy as the pattern for naming the skeleton. The defaults are: o %POA for the POA base class (−fserver or −fall) o _%ImplBase for the oldImplBase class (−oldImplBase and (−fserver or −fall)) −td dir Use dir for the output directory instead of the current directory. −tieName xxx%yyy Name the tie according to the pattern. The defaults are: o %POATie for the POA tie base class (−fserverTie or −fallTie) o %_Tie for the oldImplBase tie class (−oldImplBase and (−fserverTie or −fallTie)) −nowarn, −verbose Verbose mode. −version Display version information and terminate. See the Description section for more option information.
Restrictions:o Escaped identifiers in the global scope may not have the same spelling as IDL primitive types, Object, or ValueBase. This is because the symbol table is pre−loaded with these identifiers; allowing them to be redefined would overwrite their original definitions. (Possible permanent restriction). o The fixed IDL type is not supported.
Known Problems:o No import generated for global identifiers. If you invoke on an unexported local impl, you do get an exception, but it seems to be due to a NullPointerException in the ServerDelegate DSI code. 0
Johanes Gumabo
Data Size : 61,347 byte
man-idlj-java-1.6.0-openjdk.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 180,806
Visitor ID : :
Visitor IP : 18.117.168.40 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|1|'"|.'" t
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|2|"|."
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|3|"|." Copyright 2001-2006 Sun Microsystems, Inc. All Rights Reserved.
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|4|"|." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|5|"|."
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|6|"|." This code is free software; you can redistribute it and/or modify it
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|7|"|." under the terms of the GNU General Public License version 2 only, as
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|8|"|." published by the Free Software Foundation.
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|9|"|."
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|10|"|." This code is distributed in the hope that it will be useful, but WITHOUT
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|11|"|." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|12|"|." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|13|"|." version 2 for more details (a copy is included in the LICENSE file that
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|14|"|." accompanied this code).
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|15|"|."
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|16|"|." You should have received a copy of the GNU General Public License version
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|17|"|." 2 along with this work; if not, write to the Free Software Foundation,
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|18|"|." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|19|"|."
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|20|"|." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|21|"|." or visit www.oracle.com if you need additional information or have any
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|22|"|." questions.
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|23|"|."
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|24|"|." `
) (parse_manual_page_|249|idlj-java-1.6.0-openjdk.1|26|"|." Generated by html2man
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|44|\f4idl\-file\fP\f3|flidlj [ \fP\f3options\fP\f3 ] \fP\f4idl\-file\fP\f3
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|66|\f4\-fclient\fP\f2 My.idl\fP |This generates the client\-side bindings and is equivalent to: \f2idlj \fP\f4\-fclient\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|68|\f4\-fserver\fP\f2 My.idl\fP |The client\-side bindings do not include the server\-side skeleton. If you want to generate the server\-side bindings for the interfaces: \f2idlj \fP\f4\-fserver\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|70|\f4\-fclient \-fserver\fP\f2 My.idl\fP |Server\-side bindings include the client\-side bindings plus the skeleton, all of which are \f2POA\fP (that is, Inheritance Model) classes. If you want to generate both client and server\-side bindings, use one of the following (equivalent) commands: \f2idlj \fP\f4\-fclient \-fserver\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|72|\f4\-fall\fP\f2 My.idl\fP |\f2idlj \fP\f4\-fall\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|89|\f4\-fclient \-fserver\fP\f2 \fP\f4\-oldImplBase\fP\f2 My.idl\fP |\f2idlj \fP\f4\-fclient \-fserver\fP\f2 \fP\f4\-oldImplBase\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|91|\f4\-fall\fP\f2 \fP\f4\-oldImplBase\fP\f2 My.idl\fP |\f2idlj \fP\f4\-fall\fP\f2 \fP\f4\-oldImplBase\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|97|\f4\-fall\fP\f2 My.idl\fP |\f2idlj \fP\f4\-fall\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|99|\f4\-fallTIE\fP\f2 My.idl\fP |\f2idlj \fP\f4\-fallTIE\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|143|\f4\-oldImplBase\fP\f2 \fP\f4\-fall\fP\f2 My.idl\fP |\f2idlj \fP\f4\-oldImplBase\fP\f2 \fP\f4\-fall\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|145|\f4\-oldImplBase\fP\f2 \fP\f4\-fallTIE\fP\f2 My.idl\fP |\f2idlj \fP\f4\-oldImplBase\fP\f2 \fP\f4\-fallTIE\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|190|\f4\-td /altdir\fP\f2 My.idl\fP |\f2idlj \fP\f4\-td /altdir\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|200|\f4\-i /includes\fP\f2 My.idl\fP |If \f2My.idl\fP included another idl file, \f2MyOther.idl\fP, the compiler assumes that \f2MyOther.idl\fP resides in the local directory. If it resides in \f2/includes\fP, for example, then you would invoke the compiler with the following command: \f2idlj \fP\f4\-i /includes\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|202|\f4\-i /includes \-i /moreIncludes\fP\f2 My.idl\fP |If \f2My.idl\fP also included \f2Another.idl\fP that resided in \f2/moreIncludes\fP, for example, then you would invoke the compiler with the following command: \f2idlj \fP\f4\-i /includes \-i /moreIncludes\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|214|\f4My.idl\fP |By default, only those interfaces, structs, etc, that are defined in the idl file on the command line have Java bindings generated for them. The types defined in included files are not generated. For example, assume the following two idl files: \f4My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|224|\f4MyOther.idl\fP |\f4MyOther.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|234|\f4\-emitAll\fP\f2 My.idl\fP |To generate all of the types in \f2My.idl\fP and all of the types in the files that \f2My.idl\fP includes (in this example, \f2MyOther.idl\fP), use the following command: \f2idlj \fP\f4\-emitAll\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|236|\f4My.idl\fP |There is a caveat to the default rule. \f2#include\fP statements which appear at global scope are treated as described. These \f2#include\fP statements can be thought of as import statements. \f2#include\fP statements which appear within some enclosing scope are treated as true \f2#include\fP statements, meaning that the code within the included file is treated as if it appeared in the original file and, therefore, Java bindings are emitted for it. Here is an example: \f4My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|246|\f4MyOther.idl\fP |\f2};\ \fP \f4MyOther.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|252|\f4Embedded.idl\fP |\f2};\ \fP \f4Embedded.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|287|\f4Widgets.idl\fP |\f4Widgets.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|299|\f4\-pkgPrefix Widgets com.abc\fP\f2 Widgets.idl\fP |Running this file through the IDL\-to\-Java compiler will place the Java bindings for \f2W1\fP and \f2W2\fP within the package \f2Widgets\fP. But there is an industry convention that states that a company's packages should reside within a package named \f2com.\fP. The \f2Widgets\fP package is not good enough. To follow convention, it should be \f2com.abc.Widgets\fP. To place this package prefix onto the \f2Widgets\fP module, execute the following: \f2idlj \fP\f4\-pkgPrefix Widgets com.abc\fP\f2 Widgets.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|319|\f4\-d\fP\f2 MYDEF My.idl\fP |You may need to define a symbol for compilation that is not defined within the IDL file, perhaps to include debugging code in the bindings. The command \f2idlj \fP\f4\-d\fP\f2 MYDEF My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|329|\f4\-keep\fP\f2 My.idl\fP |If the Java binding files already exist, the \f2\-keep\fP flag will keep the compiler from overwriting them. The default is to generate all files without considering if they already exist. If you've customized those files (which you should not do unless you are very comfortable with their contents), then the \f2\-keep\fP option is very useful. The command \f2idlj \fP\f4\-keep\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|339|\f4\-v\fP\f2 My.idl\fP |The IDL\-to\-Java compiler will generate status messages as it progresses through its phases of execution. Use the \f2\-v\fP option to activate this "verbose" mode: \f2idlj \fP\f4\-v\fP\f2 My.idl\fP
) (rof_escape_sequence|91|idlj-java-1.6.0-openjdk.1|373|\f4symbol\fP\f3|fl#define \fP\f4symbol\fP\f3
)