This section shows the steps you must follow to create your Caffeine client and server classes and then run them. Let's go through these steps one-by-one and see what's involved:
Define a remote interface. Your server object must declare its services through a remote Java interface. It does this by extending org.omg.CORBA.Object. Each method in a remote interface must throw either a CORBA system or user exception.
Optionally, generate CORBA IDL. To generate CORBA IDL, run your Java interfaces through Java2IDL. You can also run your Caffeine clients and servers without CORBA IDL.
Compile your interface. You must compile your interface using javac.
Create the IIOP stubs and skeletons. Run the Caffeine Java2IIOP compiler ...