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 when to use rmi-iiop versus idl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "when to use rmi-iiop versus idl" Watch "when to use rmi-iiop versus idl" New topic

when to use rmi-iiop versus idl

jason white
Ranch Hand

Joined: Aug 08, 2005
Posts: 60
Need help understanding why I would use rmi-iiop in an ejb-to-corba solution but in a pojo-to-corba solution I would use idl...

Is it as simple as the fact that an ejb container implements rmi and does idl generation for you? If so, how does it know what ORB type to implement?

I am confused...

I have looked in the CORBA spec, on the java tutorials for both idl and rmi and read cade's book on the love
jason white
Ranch Hand

Joined: Aug 08, 2005
Posts: 60
I actually also posted this in the Distributed Java Forum on javaranch.

The bartender was kind enough to tackle my question and provide a link in his repsonse to more info (which I highly recommend)...

Look Here:

Newman Huang
Ranch Hand

Joined: Mar 31, 2003
Posts: 85
as i known, the rmi-iiop is the prefered suggestion tech. for EJB container implementation. the iiop makes it possible for the non-java client to visit java distributed service. also the rmi-iiop java client app can visit a corba system service. but java-to-corba communication way is limited i think especially for the old version corba. that is reasonable, for the rmi-iiop take the java in the center place. when corba is the king in one system instead of java, using jidl is the better solution, vice versa.

I agree. Here's the link:
subject: when to use rmi-iiop versus idl
It's not a secret anymore!