j2ee‎ > ‎

CORBA Technology and the Java Platform

posted Aug 3, 2010, 5:15 PM by Kuwon Kang

CORBA Technology and the Java Platform


CORBA (Common Object Request Broker Architecture) technology is the open standard for heterogeneous computing. CORBA complements the Java platform by providing a distributed objects framework, services to support that framework, and interoperability with other languages. The Java platform complements CORBA by providing "Write Once, Run AnywhereTM" portability, a highly productive implementation environment, and a very robust platform. By combining the Java platform with CORBA and other key enterprise technologies, Java 2 Platform, Enterprise Edition creates the ultimate platform for enterprise solutions.

CORBA standards provide the proven, interoperable infrastructure to Java 2 Platform, Enterprise Edition. CORBA technology is an integral part of the Java 2 platform through Enterprise JavaBeans, RMI over IIOP, Java IDL, and Java Transaction Service.

Enterprise JavaBeans technology (EJB)

Enterprise JavaBeans is part of the Java 2 Platform, Enterprise Edition. The EJB server-side component model simplifies development of middleware components that are transactional, scalable, and portable. EJB servers reduce the complexity of developing middleware by providing automatic support for middleware services such as transactions, security, database connectivity, and more.

EJBs use the RMI/IDL CORBA subset for their distributed object model, and use the Java Transaction Service (JTS) for their distributed transaction model. When Enterprise JavaBeans are implemented using the RMI-IIOP protocol for EJB interoperability in heterogeneous server environments, the standard mapping of the EJB architecture to CORBA enables the following interoperability:

  • A client using an ORB from one vendor can access enterprise beans residing on an EJB server provided by another vendor.
  • Enterprise beans in one EJB server can access enterprise beans in another EJB server.
  • A non-Java platform CORBA client can access any enterprise bean object.


RMI over IIOP is part of the Java 2 Platform, Enterprise Edition and Java 2 Platform, Standard Edition. RMI over IIOP provides the ability to write CORBA applications for the Java platform without learning CORBA Interface Definition Language (IDL). To work with CORBA applications in other languages, IDL can be generated from Java programming language interfaces. RMI over IIOP includes the full functionality of a CORBA Object Request Broker.

Java IDL

Java IDL is part of the Java 2 Platform, Standard Edition. Java IDL includes a CORBA Object Request Broker (ORB) that is available in every deployment of the Java 2 Platform, Standard Edition. To develop applications with Java IDL, define the interfaces in IDL (Interface Definition Language), and use the IDL-to-Java compiler, idlj to generate the CORBA stubs, skeletons, and ties.

Java Transaction Service

Java Transaction Service (JTS) is based on the CORBA Object Transaction Service (OTS). JTS is part of the Java 2 Platform, Enterprise Edition and provides an implementation of the Java Transaction API (JTA).