Enterprise JavaBeans

EJB Compared To CORBA

CORBA is a standard for communication with and between remote objects.  It is a specification that defines a language-neutral, platform-neutral architecture for distributed objects.  Its scope does not, however, include CTM services such as persistence, security, and resource pooling.  It can be seen as a technology that is comparable to Java RMI, the distributed framework that underlies EJB.

CORBA object and EJB objects are, at least in theory, interoperable.  EJB objects can call methods of CORBA objects in the same manner as any other client object.  CORBA objects can call EJB objects if the EJB server supports IIOP, the protocol that underlies CORBA communication [5].  The EJB 1.1 specification did not mandate support for IIOP.  Such support is required in EJB 2.0, and this will aid interoperability [5].