Posted on 2001-07-05
Last Modified: 2013-11-24

What are the specific advantages in using EJBs along with CORBA objects instead of using just CORBA objects ? Is a CORBA object as pluggable as an EJB ?

Question by:sekharj
  • 2

Accepted Solution

rwarrior earned 100 total points
ID: 6254870

This is not an easy to answer question. But in short EJB provides a lot of standards for services which have to be implemented from scratch for CORBA, like Persistence, Transaction Managment, Thread Pooling, Connection Pooling, Load Balancing etc. And because EJB is build on standards (for instance: JNDI, JTS etc) you can exchange the components.
EJB is the future and its the standard component architecture for building distributed object oriented applications in JAVA, but CORBA is multi-language. "EJB and J2EE with CORBA provide the benefits of portability and interoperabilityin heterogeneous environments. "

some urls:

EJB and CORBA (a little bit old but still worth reading if you are interested in the combination EJB and CORBA):

recommended intros:


hope this helps

Author Comment

ID: 6258637
If you use EJBs then is there a good reason why we would need CORBA objects also apart from EJBs?

otherwise if we use CORBA objects, can't we design the CORBA objects to work as pluggable objects just like the EJBs? I need to know whether it is possible to pack a bunch of CORBA objects into one CORBA Object, just like the EJBs.

Expert Comment

ID: 6259216
> If you use EJBs then is there a good reason why we > would need CORBA objects also apart from EJBs?

if you have corba components already or if you need to implement some stuff in any other language than java.

>otherwise if we use CORBA objects, can't we design >the CORBA objects to work as pluggable objects just
>like the EJBs? I need to know whether it is possible >to pack a bunch of CORBA objects into one CORBA
>Object, just like the EJBs.

sure, but its a lot of work, and why should you do this if others have already spend a lot of effort in this. corba 3 introduced the corba component modell, but its not really like ejb. one keyword with ejb is plug and work.

if you need corba or ejb depends much on your specific task. even if i like ejb very much in my current project which is heavy distributed, that means every client is a server and vice versa, ejb doesnt make much sense. so we are using plain corba.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JAVA part two 5 58
Impossible to extract MSI from new JAVA releases 2 50
advertisement module in core php 4 148
Arrays.asList  VS  ArrayList 4 45
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now