• Post Reply Bookmark Topic Watch Topic
  • New Topic

When should you use Java IDL and when should you use RMI-IIOP?  RSS feed

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

Do you have an answer for this?
When should you use Java IDL and when should you use RMI-IIOP?

Thanks,
Guru
 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guru,

Java IDL - Java Interface Definition Language is used for defining the remote interface details using the CORBA.

RMI/IIOP - Remote Method Invocation/ Internet Inter ORB Protocol is used for CORBA/Java Objects can communicate with the distributed Java Object.

-Raman
 
Dave Clark
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
one of the other differences between Java IDL and Java RMI (over IIOP) is in the approach that they take.

Following the CORBA development model, the IDL approach says define the interface first, using CORBA's Interface Definition Language, then generate Java stubs and ties from the IDL.

The RMI approach says define the interfaces in Java rather than in IDL.

Of course web services lets you take either approach - generate WSDL from Java or Java from WSDL.

cheers,

Dave.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!