Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



What is the difference between CORBA and Java RMI?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-09-2009
Member
 
Join Date: Jul 2009
Posts: 154
What is the difference between CORBA and Java RMI?
  

Hi,

I know little about RMI concepts. But I wanted to know what CORBA is and what is the difference between CORBA and Java RMI. It would be great if you adding the minor differences as major ones. In what scenario's one can opt RMI over CORBA or vice-versa? Will appreciate if somebody can clear my doubts?

Reply With Quote
  #2  
Old 03-09-2009
Member
 
Join Date: Mar 2008
Posts: 335
Re: What is the difference between CORBA and Java RMI?

RMI is completely based on Java, CORBA is language independent. There are many adapters for CORBA, and programs can call procedures written in any language that has a CORBA interface. CORBA has more features documented in the specification that only communication between processes. RMI is easier to implement if you know Java - is the same as calling a local process - but is limited only to call other Java applications.
Reply With Quote
  #3  
Old 03-09-2009
Member
 
Join Date: May 2008
Posts: 249
Re: What is the difference between CORBA and Java RMI?

RMI provides support for polymorphic parameter passing, while not strictly CORBA. CORBA supports multiple languages is good for some applications, but MRI has the advantage of being dynamic, which is good for other applications. It allows dynamic loading of classes at runtime. In language CORBA environment, dynamic class loading is not possible. The major advantage of dynamic class loading is that it allows arguments to be passed in remote invocations that are subtypes of the declared types. In CORBA, all types must be known in advance.
Reply With Quote
  #4  
Old 03-09-2009
Member
 
Join Date: May 2008
Posts: 177
Re: What is the difference between CORBA and Java RMI?

RMI allows full objects to be passed and returned. CORBA allows remote method invocations as well as the exchange of primitive data types and structures. Many places have CORBA infrastructures, to allow J2EE people to pretend that EJBs might in some crazy world be compatible with CORBA components, CORBA also appears to have a performance increase over RMI, which makes it an attractive option for systems that are accessed by users who require real-time interaction.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What is the difference between CORBA and Java RMI?"
Thread Thread Starter Forum Replies Last Post
Difference between hashset and hashmap in java ScarFace 01 Software Development 5 02-02-2010 08:04 AM
What does CORBA mean? Roxy_jacob Networking & Security 5 18-12-2009 08:20 AM
what is the difference between c and java? Linoo Software Development 5 28-11-2009 04:11 PM
Difference between Applet and Japplet in java Jalabala Software Development 3 21-11-2009 06:48 AM
What is the difference between an object and an instance in java? Lalit5 Software Development 5 02-03-2009 08:00 PM


All times are GMT +5.5. The time now is 11:49 PM.