![]() |
Use this task to generate the interface definition language (IDL) files that specify the interface to an Enterprise JavaBean. You can then use the IDL to create client-side usage bindings for CORBA clients to use the Enterprise JavaBean's interface. You need to complete this task only if you are developing a CORBA client that needs to access an Enterprise JavaBean.
To develop the IDL files for an Enterprise JavaBean, complete the following steps:
rmic -idl com.ibm.ejb.samples.hello.Hello com.ibm.ejb.samples.hello.HelloHome
This step results in the class.idl and classHome.idl files. For example, for the above rmic command for the Hello Enterprise JavaBean class, created the following idl files: Hello.idl and HelloHome.idl.
You can use the IDL file to create the client-side usage bindings needed by a CORBA client, as described in Developing a C++ CORBA client.
Related tasks... | |
Parent: Developing a CORBA client | |
Related concepts... | |
The CORBA client programming model | |
The CORBA programming model | |
Interface definition language (IDL) | |