Q1).Which protocol exhibits all of the following properties? - A method invocation protocol -Can connect to many languages on many platforms -Moves object as arguments
A. HTTP B. HTTPS C. JRMP D. IIOP
My answered is IIOP because IIOP is a protocol used by CORBA which can connect to many languages on many platforms. It is also a method invocation protocol. But I'm not sure whether CORBA moves object as argument. In this case I'm not sure about the choice of D or C.
Q2).Which protocol has a transaction service associated with it? A. HTTP B. HTTPS C. JRMP D. IIOP
HTTP/HTTPS definitely has no transaction. The answer is whether JRMP or IIOP. excerp from JTS website: "JTS uses the standard CORBA ORB/TS interfaces and Internet Inter-ORB Protocol (IIOP) for transaction context propagation between JTS Transaction Managers."
About Q1. I agree with you that it's D. JRMP which stands for 'Java Remote Method Protocol' doesn't stratify the 'Can connect to many languages on many platforms' requirement.
About CORBA, objects and arguments; my study guide says the following about CORBA:
Objects are not passed by value; only the argument data is passed. The server/client has to reconstitute the objects with the data. Only commonly accepted datatypes can be passed as arguments unless CORBA 2.3/Objects By Value specification used.
The above quote definitely reinforces our IIOP selection.
However, I don't fully grasp the meaning of:
only the argument data is passed
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Joined: Jul 09, 2001
About Q2. As you said, IIOP has a transaction service associated with it, namely JTS. This makes IIOP the obvious right answer.
Joined: Jan 19, 2005
thanks for your reply. For answer to Q1, my choice is IIOP but the answer to my 'not that reliable' study guide is JRMP.
I said, 'not that reliable study guide' because I spotted a few mistakes from the study guide. This could be another one.
Joined: Jul 09, 2001
What's the name of the study guide? (if I may ask)