The Basics of Caffeine

In this section I'll go over the highlights of Caffeine development and explain the Caffeine development process, Java2IIOP, and Java2IDL. Then you'll look at some of the ways that Caffeine extends CORBA.

Caffeine uses Java both as an interface definition language and as an implementation language (just as RMI does). And also like RMI, the Caffeine development process starts with a Java interface. The first thing that you do is declare your Java interface to be remote by extending it—either directly or indirectly—from org.omg.CORBA.Object. Using javac, you must compile your interfaces and then run the output through Java2IIOP.

For each remote Java interface Java2IIOP comes across, it will create a package with the following ...

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.