Solved

EJB Vs. CORBA

Posted on 2001-07-05
3
974 Views
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 ?



0
Comment
Question by:sekharj
  • 2
3 Comments
 

Accepted Solution

by:
rwarrior earned 100 total points
ID: 6254870
Hi!

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):
http://cgi.omg.org/news/pr99/trans.html

recommended intros:

corba
http://www.execpc.com/~gopalan/corba/corba.html
ejb:
http://www.execpc.com/~gopalan/java/ejb.html


hope this helps
martin
0
 

Author Comment

by:sekharj
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.
0
 

Expert Comment

by:rwarrior
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.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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 will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

770 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