|
|
|
Java 1.2 extends Java's distributed object capabilities
The Java 1.2 platform allows you to build distributed object applications using two different methods -- the existing RMI and a new technology called Java IDL, which is a component of the Java Enterprise specification. Although Sun has gone to some length to allay fears that portions of these technologies are redundant, many developers are still confused over the need for two seemingly similar distributed object technologies. In this article, we will compare and contrast the two technologies and develop sample applications that make use of each one.
|
|
Java IDL
Java developers of embedded systems have an ever-increasing number of choices in compilers, libraries, and development tools. Not all of these products are blessed by Sun, however. In fact, a lot of them are independent developments by companies that aren't Sun licensees. From giants like HP to small companies like NewMonics to open source offerings like Transvirtual's Kaffe, developments to the Java specification are becoming increasingly common. This response to the special needs of embedded systems may well weaken Sun's hold on Java.
|
|
Locating CORBA objects using Java IDL
Implementing CORBA objects is no trivial matter. In fact, it's a feat worthy of a round of high fives. Once the celebration subsides and everyone has left your cube suitably impressed with your coding talents, you must figure out how to publish your new object so that any computer on the enterprise can easily locate it. What else would you use but a naming service?
|
|
IDL-to-Java mapping: Part One
This article begins an examination of the IDL-to-Java mapping. This month's column looks at the basic data types, structure, and data transfer. Next month we will look at more complex types. Language mappings are not trivial and a sizable part of the CORBA Specification is devoted to the many languages mappings.
|
|
|