O'Reilly logo

Java™ Network Programming and Distributed Computing by Michael Reilly, David Reilly

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

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

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