Once you have created the package and component, you must generate the files that allow your C++ implementation to run in EAServer and clients to invoke the component. These include the EJB wrapper component that EAServer generates to invoke the component and client stub interface files that clients use to call the component methods.
Generating the server-side files
In the Management Console, expand the javatut package. Beneath it, right-click the JavaArithmetic component and choose Refresh.
The Management Console generates the required files. If generation fails, check the server log file for a description of the problem.
If using Windows, run the following command at a prompt:
%DJC_HOME%\bin\idl-compiler -v Tutorial\JavaArithmetic.idl Tutorial\JavaArithmeticHome.idl -f %DJC_HOME%\genfiles\java\src -java
If using UNIX, run the following command at a prompt:
$DJC_HOME/bin/idl-compiler.sh -v Tutorial/JavaArithmetic.idl Tutorial/JavaArithmeticHome.idl -f $DJC_HOME/genfiles/java/src -java