• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When to use IIOP vs IDL

 
Francesco Marchioni
author
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I can see there are some mock questions about what to use
when you must reach a legacy application. In particular
one "hot" question is the choice between IIOP and IDL, given
one environment.

I found this description in mock exams about RMI-IIOP: "RMI-IIOP - If you are writing most of your new applications using the Java programming language, but need to maintain legacy applications written in other programming languages as well"

Can anybody expand it maybe giving one practical example ?
(All in all I cannot catch the difference with IDL which is used too to comminicate with legacy applications)

Thanks
Francesco
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IIOP is a protocol whereas IDL is a limited language script that is used generate artifacts for IIOP calls.
 
Ali Reza Hosseini
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use IDL to generate java stubs to access a corba-based service.
RMI IIOP is often used if you have to access an ejb-based service.
 
Required Field
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you meant
"RMI IIOP is often used if you have to access an rmi-based service"... not ejb-based service.

Originally posted by Ali Reza Hosseini:
You can use IDL to generate java stubs to access a corba-based service.
RMI IIOP is often used if you have to access an ejb-based service.
 
Sreenivasa Majji
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following is an extract from Sun.

RMI-IIOP is for Java programmers who want to program to the RMI interfaces, but use IIOP as the underlying transport. RMI-IIOP provides interoperability with other CORBA objects implemented in various languages - but only if all the remote interfaces are originally defined as Java RMI interfaces. It is of particular interest to programmers using Enterprise JavaBeans (EJB), since the remote object model for EJBs is RMI-based.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic