Solved

EJB Vs. CORBA

Posted on 2001-07-05
3
947 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

707 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

13 Experts available now in Live!

Get 1:1 Help Now