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.