Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1038
  • Last Modified:

EJB Vs. CORBA


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
sekharj
Asked:
sekharj
  • 2
1 Solution
 
rwarriorCommented:
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
 
sekharjAuthor Commented:
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
 
rwarriorCommented:
> 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now