Results 1 to 4 of 4

Thread: What is the difference between CORBA and Java RMI?

  1. #1
    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?

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

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

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

Similar Threads

  1. Difference between hashset and hashmap in java
    By ScarFace 01 in forum Software Development
    Replies: 5
    Last Post: 02-02-2010, 09:04 AM
  2. What does CORBA mean?
    By Roxy_jacob in forum Networking & Security
    Replies: 5
    Last Post: 18-12-2009, 09:20 AM
  3. what is the difference between c and java?
    By Linoo in forum Software Development
    Replies: 5
    Last Post: 28-11-2009, 05:11 PM
  4. Difference between Applet and Japplet in java
    By Jalabala in forum Software Development
    Replies: 3
    Last Post: 21-11-2009, 07:48 AM
  5. Replies: 5
    Last Post: 02-03-2009, 09:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,263,573.88787 seconds with 17 queries