File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Question for SCEA part I 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 "Question for SCEA part I" Watch "Question for SCEA part I" New topic
Author

Question for SCEA part I

Usama Rashwan
Ranch Hand

Joined: Oct 10, 2001
Posts: 33
I found this Question in one of the mock exams and I believe the answer is incorrect
Here is the Question

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?

ARMI-JRMP
BRMI-JNI
CRMI-IIOP
DEJB
EJava IDL
FJava-CORBA Bridge

Choice E is correct. "I believe the correct answer is C because we have a CORBA application, Billing Information, so we can use RMI-IIOP from the new java application, Patient Registration, to connect to the old application"

And this is the explanation from the mock exam
The following is taken from:
http://java.sun.com/j2se/1.3/docs/guide/idl/
"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 IDL (Object Management Group Interface Definition Language) and IIOP (Internet Inter-ORB Protocol) defined by the Object Management Group." Hence choice E is correct.
RMI-JRMP is used for distributed processing in a pure Java environment. Hence choice A is incorrect.
There is no indication whether the Patient Billing system supports JNI. Hence choice B is incorrect.
RMI-IIOP is useful when dealing with EJB applications. Hence choices C and D are incorrect.
There is no such thing as a Java-CORBA bridge. The Java IDL API performs that function. Hence choice F is incorrect.


SCJP2, SCWCD , SCEA Part I<br />Enterprise Application Development with IBM WebSphere Studio, V5.0<br />IBM Certified Solution Developer - WebSphere Studio, V5.0<br />IBM 483 (Enterprise Connectivity with J2EE)<br />IBM Certified Specialist - IBM WebSphere Application Server, Advanced Single Server Edition for Multiplatforms, V4.0
Ricardo Ferreira
Ranch Hand

Joined: Feb 13, 2006
Posts: 156
Originally posted by Usama Rashwan:
I found this Question in one of the mock exams and I believe the answer is incorrect
Here is the Question

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?

ARMI-JRMP
BRMI-JNI
CRMI-IIOP
DEJB
EJava IDL
FJava-CORBA Bridge

Choice E is correct. "I believe the correct answer is C because we have a CORBA application, Billing Information, so we can use RMI-IIOP from the new java application, Patient Registration, to connect to the old application"

And this is the explanation from the mock exam
The following is taken from:
http://java.sun.com/j2se/1.3/docs/guide/idl/
"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 IDL (Object Management Group Interface Definition Language) and IIOP (Internet Inter-ORB Protocol) defined by the Object Management Group." Hence choice E is correct.
RMI-JRMP is used for distributed processing in a pure Java environment. Hence choice A is incorrect.
There is no indication whether the Patient Billing system supports JNI. Hence choice B is incorrect.
RMI-IIOP is useful when dealing with EJB applications. Hence choices C and D are incorrect.
There is no such thing as a Java-CORBA bridge. The Java IDL API performs that function. Hence choice F is incorrect.


Hi Friend,

The 'E' answer is correct like the mock exam says. I can not give an better explanation rather than the mock exam explanation. It is absolutely correct.

This what happens:

If an application define corba interfaces, and an java application wants to access this system, the first and unique thing that will possibilite this, is generate java stubs for the corba system using the Java IDL compiler. Just using those stubs, the java application will can access the legacy corba system.

Every CORBA system that defines interfaces, should be available for have those interfaces in an common, well define interface language, that is IDL (interface definition language). The IDL specification is maintained by the OMG group, so, is a standard for languages ans tools.

Once you have an IDL, you can use an proprietaty IDL compiler to re-generate the CORBA interfaces in an target programming language. In the case of java, the Sun's JDK makes available the 'idlj' tool to create those stubs.

Since you have java stubs for an specific CORBA interface, you will be able to access the legacy system. The JVM architecture will use the RMI/IIOP protocol to by-pass the object state from different programming languages. So, if you think in steps, the first thing to do is, use the Java IDL technology. Remember that RMI/IIOP is the protocol, not the solution.

I hope have helped you !


Ricardo Ferreira,<br /> <br />Sun Certified Enterprise Architect<br />IBM Certified SOA Solution Designer<br />IBM Certified RUP v7.0 Solution Designer<br />IBM Certified Specialist for RUP v2003
Thomas Taeger
Ranch Hand

Joined: Dec 16, 2002
Posts: 309
Hello Usema,

you have
a) newer Patient Registration System as a Java based Application and
b) Patient Billing System using CORBA.

Originally posted by Usama Rashwan:
... we have a CORBA application, Billing Information, so we can use RMI-IIOP

You probabely thought having RMI-IIOP on the

For a) you would be in RMI-IIOP anyway if a) would use EJB/J2EE,
but not automatically for a Java based Application.

Thomas


www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Usama Rashwan
Ranch Hand

Joined: Oct 10, 2001
Posts: 33
thanks Ricardo and Thomas for your replays and answer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question for SCEA part I