wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Confusion with RMI-IIOP and Java-IDL. Need your help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Confusion with RMI-IIOP and Java-IDL. Need your help" Watch "Confusion with RMI-IIOP and Java-IDL. Need your help" New topic
Author

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

Nim Sathi
Greenhorn

Joined: Feb 09, 2003
Posts: 5
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

Joined: Dec 11, 2002
Posts: 142
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

Joined: Feb 09, 2003
Posts: 5
Thanks for that. That cleared a few things up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion with RMI-IIOP and Java-IDL. Need your help