aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Java IDL question 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 "Java IDL question" Watch "Java IDL question" New topic
Author

Java IDL question

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi,
I got this question from a whizlabs mock exam. I am not going to include all possible answers but just the two that I couldn't make my mind up between!!

The question is:

When should Java IDL be used?

1. When accessing existing Corba Services implemented in c++?
2. When servicing requests from Corba requests?

I don't see the differences between these answers. But it claims you would use RMI over IIOP for number 2.

Can anyone help me out here?

I have read through http://java.sun.com/j2se/1.3/docs/guide/idl/index.html and http://java.sun.com/j2se/1.3/docs/guide/idl/jidlFAQ.html but it still doesn't make sense?

Any help appreciated.
sivan jai
Ranch Hand

Joined: Feb 24, 2010
Posts: 115
I will go with option 1. There is a difference if you read carefully. Visualize which is "your" application in the given scenarios
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
sivan jai wrote:I will go with option 1. There is a difference if you read carefully. Visualize which is "your" application in the given scenarios

Thanks. Still a bit confused.
Anyone else got anything to add?
sivan jai
Ranch Hand

Joined: Feb 24, 2010
Posts: 115
"When accessing a corba service" means you are trying to access a corba service. This is where Java IDL comes into play for your system.
"When servicing corba clients... " means you are trying to cater to corba clients. This is not a usage scenario for Java IDL. Hope it helps.
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
sivan jai wrote:"When accessing a corba service" means you are trying to access a corba service. This is where Java IDL comes into play for your system.
"When servicing corba clients... " means you are trying to cater to corba clients. This is not a usage scenario for Java IDL. Hope it helps.

Still confused.

Why can't you service corba clients using Java IDL?

Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11423
    
  85

You might want to re-read "What is the difference between Java IDL and RMI-IIOP?". It describes 3 scenarios: 1 where you are the client, 1 where there are only Java clients and servers, and 1 where you are the server.

Then re-read the 2 options you posted. As Sivan mentions, 1 suggests that you are the client, and 1 where you are the server.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Venkata Katari
Greenhorn

Joined: Jan 03, 2003
Posts: 3
Look at the second option very carefully.

"2. When servicing requests from Corba requests? "

It doesn't mention that service is CORBA. It only mentions about client. So, Service can be of any type.


VenKatari
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java IDL question