Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion with RMI-IIOP and Java-IDL. Need your help

 
Nim Sathi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need some help with rmi-iiop and java-idl.
With Java-IDL - my understanding is that you use the interface defined by the IDL to create a stub. Your java application talks to the IDL-stub which talks to the ORB which passes your request by IIOP to the remote ORB where the process is reversed.
java app -> IDL stub ->ORB ->IIOP ->ORB ->IDL Skeleton -> java app
Is this correct?
How does RMI IIOP work? My understanding is that you can use RMI-IIOP to talk to CORBA objects. Where does the IDL come in in such a situation?
When do I use what? My understanding is that you use Java-IDL if you have to connect to alot of CORBA applications. If most of your applications are written in Java but you still need to connect to the odd legacy app written in another language - then you use RMI-IIOP. Is this correct?
Appreciate any help.
Cheers,
Nim
 
Lin Feng
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RMI/IIOP is designed to enable your RMI server to be accessed by CORBA client.
You can use the rmic to create the IDL , the stub / skeleton classes.
 
Nim Sathi
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that. That cleared a few things up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic