You are comparing apples and oranges, for starters. The EJB spec, which outlines a suite of specifications for developing a multi-tiered expert system using
Java, and CORBA, a platform-neutral specification for creating a distributed system, are not equivalent in any meaningful sense. In fact, you could build an EJB architecture using CORBA with no implied conflicts.