Emitting client and server bindings

To generate the Java bindings for an Interface Definition Language (IDL) file named My.idl, set the current working directory to the one that contains My.idl and issue the following command:

idlj My.idl

This command generates client-side bindings only and is equivalent to:

idlj -fclient My.idl

Client-side bindings include all of the generated files except the skeleton. If you want to generate server-side bindings for My.idl, issue the following command:

idlj -fserver My.idl

This command generates all of the client-side bindings plus an inheritance-model skeleton (ImplBase). Currently, server-side bindings include all generated files, even the stub. Thus, the previous command is currently equivalent to each of the following:

idlj -fclient -fserver My.idl 
idlj -fall My.idl

The compiler generates inheritance-model skeletons by default. Given an interface My defined in My.idl, the compiler generates Skeleton _MyImplBase.java. You provide the implementation for My, which must extend _MyImplBase.


Related reference
IDL-to-Java compiler



Searchable topic ID:   rcor_idl2j1
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_idl2j1.html

Library | Support | Terms of Use | Feedback