Link to home
Start Free TrialLog in
Avatar of sekharj
sekharj

asked on

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 ?



ASKER CERTIFIED SOLUTION
Avatar of rwarrior
rwarrior

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sekharj
sekharj

ASKER

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.
> 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.