• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between RMI, CORBA and EJB's?

 
Priyanka Chopda
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,
I have been listening to "Distributed Java" but am not sure if all the three i.e. RMI, CORBA and EJB's are distributed tecnologies what is the difference between them?
In what scenario's one can opt RMI over CORBA or EJB or vice-versa?
Will appreciate if somebody can clear my doubts?
Thanks a ton in advance
-PC
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All three technologies, RMI, CORBA and EJB's are distributed technologies, in that they can distribute an application across two or more computers. RMI is the Java facility for invoking methods on objects that live in a different VM. It is a good choice for small network-enabled programs in the client-server model. CORBA is a language-independent specification for network computing. It enumerates several services: naming, security, persistent objects and so on. CORBA would be useful in building more complex apps than RMI would easily support alone. Applications which require security authorities and multiple servers. Enterprise Java Beans are standards for making network-accessible components. They are part of the Java 2 Enterprise Edition, which specifies many of the kinds of services that CORBA specifies and uses RMI to communicate. EJB's and their related technologies are, like CORBA, useful for large-scale applications. These are non-trivial technologies so it is hard to say exactly where one would choose one over the other. Those decisions should be driven by the requirements of the application one is designing.
Helpful links:
RMI Tutorial
CORBA and Java
J2EE Tutorial
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!