Solved

EJB Vs. CORBA

Posted on 2001-07-05
3
997 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

726 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