![]() |
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.idlThis command generates client-side bindings only and is equivalent to:
idlj -fclient My.idlClient-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.idlThis 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.idlThe 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.