Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Useful for whole Java communit***************  RSS feed

 
balu gates
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the exact differences between
EJB,CORBA and RMI???
I have read in many books and asked to many techies but no one provided the exact and acceptable answers
This question is mainly for EJB,CORBA gurus..............

Everybody feel free to answer it ,even if u know a single point
This question will be a useful question for whole java community
...........................
[This message has been edited by balu gates (edited February 14, 2001).]
 
vani
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CORBA
1.Distrubuted comp
2.Lang Independent
3.Dev on IIOP
4.component interfece should be difined in IDL
5.Any Client cas acess these Components
6.Spicifications r set by OMG, presently 7 lang r supporting corba.
EJB & RMI
1.Both r Distrubuted.
2.lang dependent
3.Protocals: RMI ---jrmp
EJB ---RMI over IIOP
4.In case of RMI programer as to manage the object.
In case of EJB server takes care.
5.For EJB server provide folloing services which r not avalible for RMI & CORBA:
6. Specification:
r set by Sun People.
All the best
vani
a. Life cycle management.
b. Transaction Monitoring.
c. Security.
 
vani
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here r some of the points hope they might serve your need,
CORBA
1.Distrubuted comp
2.Lang Independent
3.Dev on IIOP
4.component interfece should be difined in IDL
5.Any Client cas acess these Components
6.Spicifications r set by OMG, presently 7 lang r supporting corba.
EJB & RMI
1.Both r Distrubuted.
2.lang dependent
3.Protocals: RMI ---jrmp
EJB ---RMI over IIOP
4.In case of RMI programer as to manage the object.
In case of EJB server takes care.
5.For EJB server provide folloing services which r not avalible for RMI & CORBA:
a. Life cycle management.
b. Transaction Monitoring.
c. Security.
6. Specification:
r set by Sun People.
All the best
vani
 
balu gates
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi vani
Can u explain how the transactions r handled in corba and rmi
Corba seems to way ahead of EJB then y EJB is getting so hot.......
How, locating of objects done in the real world using JNDI
If the server is handled by a frim
and lot of different frims r clients with different applications how the services (interfaces) are given to the clients
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a discussion of CORBA and RMI and DCOM here:
http://www.javaranch.com/ubb/Forum33/HTML/001559.html
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CORBA and RMI are used by one object wishing to run a method on a remote object. CORBA is useful if you are going to access non-Java resources. RMI is used for Java-to-Java object connecting. RMI is much simpler that CORBA.
EJB includes all sorts of services (security, database pooling, object pooling, deployment, etc). EJB uses RMI to communicate between objects. EJB servers are filling the roles of a transaction manager.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!