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 doubt about a part 1 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 "doubt about a part 1 question" Watch "doubt about a part 1 question" New topic

doubt about a part 1 question

Along huang
Ranch Hand

Joined: Feb 09, 2004
Posts: 72
Heartbreak Hospital has two applications - Patient Registration System and Patient
Billing System. Patient Billing, an older application has CORBA interfaces for updating
Billing Information. The newer Patient Registration system was built as a Java based
Application. Heartbreak now wants to automatically update Billing Information from
the Patient Registration Application. What Java technology may be most suited for
this?(Select 1 correct choice)
d) EJB
e) Java IDL
f) Java-CORBA Bridge

Choice E is correct.

But I think that choice C is correct too. how do you think?

SCJP1.4 SCJD 2<br />SCEA(In progressing)
Manju Karthik

Joined: Mar 03, 2005
Posts: 21

The Answer is correct. It is best to use Java IDL when Java System (Client) interfaces with CORBA system (Server). For other way around you can use RMI-IIOP.

Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 273
The same doubt even I had. But later could manage:

1. CORBA is the billing system, so from Java how to connect to CORBA? best way is JAVA IDL.

2. RMI-IIOP is especially for EJBs. In our system, we don't rquire EJB at all, since EJB and RMI-IIOP are heavy-weight, so we can avoid this option.

Maneshi tuli

Joined: Dec 07, 2004
Posts: 18
Billing system in Corba. 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
Java IDL is for CORBA programmers who want to program in the Java programming language based on interfaces defined in CORBA Interface Definition Language (IDL).

So in this scenerio, its better to use Java IDL to communicate with Corba.

Thanks<br />Maneshi Tuli <br />SCJP/SCWCD/SCBCD/SCEA-1
Yong How, Lim
Ranch Hand

Joined: Feb 22, 2005
Posts: 52
Yes... agreed with the above posts.

Since the questions says the new system has "Java based Application" (does not imply EJB) ... and the older system has "CORBA interfaces"

So the choice should be
"e) Java IDL"

Regards,<br /> Yong How, Lim<br /> SCEA, SCBCD, SCWCD, SCJD, SCJP, LPIC-1
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183
As Sun says at -

Java IDL adds CORBA (Common Object Request Broker Architecture) capability to the Java platform, providing standards-based interoperability and connectivity. Java IDL enables distributed Web-enabled Java applications to transparently invoke operations on remote network services using the industry standard OMG IDL (Object Management Group Interface Definition Language) and IIOP (Internet Inter-ORB Protocol).

-- Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I agree. Here's the link:
subject: doubt about a part 1 question
It's not a secret anymore!