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 Protocols- Please help on this question from Whizlabs 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 "Protocols- Please help on this question from Whizlabs" Watch "Protocols- Please help on this question from Whizlabs" New topic
Author

Protocols- Please help on this question from Whizlabs

rania ferrag
Ranch Hand

Joined: Feb 04, 2004
Posts: 88
Hi every one,

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,

Rania
Frank Kuepper
Ranch Hand

Joined: Mar 16, 2007
Posts: 45
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! ;-)


SCEA (93%/93%)
Ramesh Kannan
Greenhorn

Joined: Mar 19, 2007
Posts: 9
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.

Thanks,
Ramesh
rania ferrag
Ranch Hand

Joined: Feb 04, 2004
Posts: 88
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,

Rania
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Protocols- Please help on this question from Whizlabs