12.4. From IDL to Java

So far, we've covered the basic syntax of the Interface Definition Language. The next step is to write a CORBA service described by an IDL schema and implemented in Java. We'll also need to write a CORBA client that will access our service. So you can compare between CORBA and RMI, we'll carry on the example of a distributed lightbulb service, first introduced in Chapter 11.

For efficiency's sake, we will use the CORBA reference implementation that is included in the Java 2 platform. While this is not a full production implementation, it is perfectly adequate for the purposes of learning CORBA, and it comes free as part of Java.

12.4.1. A Sample Schema

The following schema describes our distributed lightbulb service, which ...

Get Java™ Network Programming and Distributed Computing 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.