Create a CORBA Application

CORBA applications work on a client/server model. In this section, you create a CORBA-client application that loads an image file and then sends it across the enterprise to a CORBA server application. The server application displays the image in a separate window upon receiving it. One of the interesting things about this application is that the Interface Definition Language (IDL) does not include an equivalent data type to the java.awt.Image class. In fact, only the Java primitive data types, except for the java.lang.String class, are defined in IDL. You get around this potential problem by creating your own data classes that you can completely map to IDL and that map onto the Java data type. Begin writing your CORBA ...

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.