O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Caffeine Development Process

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:

  1. 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.

  2. 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.

  3. Compile your interface. You must compile your interface using javac.

  4. Create the IIOP stubs and skeletons. Run the Caffeine Java2IIOP compiler ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required