[Enterprise Extensions only]

IDL-to-Java: Emitting client and server bindings

To generate the Java bindings for an IDL file named My.idl, set the current working directory to that containing 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 generated files except the Skeleton. If you want to generate server-side bindings for My.idl, issue the command:

idlj -fserver My.idl

This command generates all client-side bindings plus an inheritance-model Skeleton (ImplBase). Currently, server-side bindings include all generated files, even the Stub. Thus, the command above is currently equivalent to each shown below:

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.