Hi Sachin CORBA is an architecture. It is basically a link to connect/communicate/interface application software running on heterogenous platforms. RMI also is an interface but it connects applications running on different servers but written totally in Java. EJB again is an architecture and applications written using EJBs work on any system that supports the EJB specs.
Middleware, is a layer of software between the network and the applications. This software provides services such as identification, authentication, authorization, directories, and security. Please correct me if I am wrong. Appreciate it. Suneel
With Corba, u can have heterogenous platforms, for example C++ client and java server. With RMI, both clients and server implementations are in Java. Further Corba interfaces are written in IDL. For RMI, u can just write usual Java interfaces. [This message has been edited by Narayan Veeramani (edited July 10, 2001).]
The Common Object Request Broker Architecture (CORBA) from the Object Management Group (OMG) provides a platform-independent, language-independent architecture for writing distributed, object-oriented applications. CORBA objects can reside in the same process, on the same machine, down the hall, or across the planet.