• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Protocol Questions"

 
Harry Tan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

need your help on these 2 protocol questions:

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."

thanks.
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alchemist,

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


Any ideas?

Thanks,
Dan
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alchemist,

About Q2. As you said, IIOP has a transaction service associated with it, namely JTS. This makes IIOP the obvious right answer.

-- Dan
 
Harry Tan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dan,

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.

tx.
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Harry,

What's the name of the study guide? (if I may ask)

-- Dan
 
James Du
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which protocol has a transaction service associated with it?


What does the sentence exactly mean?

Does it mean that the transaction context could be transfered from one end to the other, or sth more complicated?

Regards,
James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic