
Based on the Notificator.idl, you must generate the classes that will support the callback object activation and will dispatch the client request to the callback object's implementation (remember that the Notificator object acts as a server-side object for the calls from the UtilCallback bean when its isPrime method is called). These objects are based on the CORBA Portable Object Adapter (POA) architecture, which is the default object adapter for CORBA 2.1 (effective since J2SE 1.4).
You generate the support classes using the standard idlj tool that is distributed with your JDK software.
CORBA POA Architecture Snapshot
The Portable Object Adapter (POA) hosts the implementations of remote objects (called servants). The main responsibility of the POA is to dispatch the client request to a remote object to the appropriate servant. The client requests a server-side remote object using a reference. This request is first received by the ORB on the server-side, and then it dispatches it to the corresponding POA that hosts the object's implementation.
For more information about the POA architecture, see the CORBA programming guides for J2SE 1.4 on Sun Microsystem's Web site at http://java.sun.com.
You now have the following classes generated in the directory where your Notificator.idl file resides: