File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes CORBA and Java IDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "CORBA and Java IDL" Watch "CORBA and Java IDL" New topic

CORBA and Java IDL

Peter Warde
Ranch Hand

Joined: Aug 18, 2004
Posts: 71
I'm a bit confused as to when you should use Java IDL and RMI/IIOP.

My understanding is that:

you should use Java IDL when you wish to access a CORBA server

you should use RMI/IIOP in an EJB application server when you wish to service requests froma CORBA server.

Is this correct? Can't RMI/IIOP access a CORBA server as well?

Any cleaing up of the distinction between Java IDL and RMI/IIOP would be greatly appreciated.


Virendran Pushpanayagam
Ranch Hand

Joined: Jun 12, 2004
Posts: 31
Hi Peter,

I too had the same problem. The easiest way to know which to use is

If you need to communicate with a CORBA client from Java or vice versa then you use RMI-IIOP

If you want to access CORBA services through Java use Java-IDL.

Hope this helps.

[ August 22, 2006: Message edited by: Virendran Pushpanayagam ]
It is sorta covered in the JavaRanch Style Guide.
subject: CORBA and Java IDL
It's not a secret anymore!