O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

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

Creating a CORBA Server

When you create a CORBA server, you create an implementation for a CORBA object and create a main method that creates one or more instances of the CORBA object. After you create a CORBA object, you register it with the CORBA naming service to allow clients to access it.

Before you create the object implementation, of course, you need an IDL file. Because the IDL file in Listing 17.1, shown earlier, is a very simple IDL, it makes a good starting point for CORBA development. After you create the IDL file, you must compile it. Each ORB implementation has a different IDL compiler with different options. JDK 1.3 comes with an IDL compiler called idlj that is easy to use. For some strange reason, idlj doesn't generate server ...

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