Had this question earlier at Whizlabs simulator test :
As Part of an application you are developing, you need to move the state of an object but not its behavior. Which of the following frameworks should you use ?
1-HTTPS 2-CORBA 3-RMI 4-JRMP 5-IIOP I HAD chose answer 5, but the right answer by Whizlabs was 2 The explanation given by whizlabs, they said that CORBA only moves the state of an object and RMO move object�s behavior. Choice 4 and 5 are incorrect as both they are protocol, not framework for moving objects.
At the other side, almost same first question from Cade book, Chapter 7 �Protocols- in review section at the end of chapter, he said IIOP moves state, but not behavior and JRMP can move whole objects including their behavior part.
Can some one please help me to clear these doubts regarding both question..Please reply for this question as I have few days before the exam ... Thank you so much in advance for your reply,
I think the Whizlabs question is a bit tricky, because it asks for "frameworks". So from Whizlabs' point of view 5 really is wrong, because it is a protocol - as said in Whizlabs explanation.
Cade asks for "protocol" so in his case IIOP really is the correct answer.
In my experience the mock exams are all very picky about carefully reading the question! It is too easy to loose some words by just glancing over the question and thus misinterpreting it. Take it as a good training for the "real thing": always read the questions and answers VERY carefully! ;-)
Any of you guys explain me the difference between the state and the behavior of an object with a simple example so that It would be easy for me to apply it on RMI and CORBA.
Joined: Feb 04, 2004
Thank Franck for your answer,
I agree that Whizlabs questions are very triky , like the question above as soon I read it while doing my test, I directly chose IIOP, than when doing the review; found it wrong and saw the answer given by Whizlabs and the said framworks, I even didn�t realize while had read first time the question that they mentioned Framworks, even that didn�t know before in case Framework or protocol what change ...I�m just Hoping the question on the real test they are not tricky as Whzlabs questions... are they ?
Thank again Frank,
subject: Protocols- Please help on this question from Whizlabs