Confusion with RMI-IIOP and Java-IDL. Need your help
Joined: Feb 09, 2003
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
Joined: Dec 11, 2002
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.