This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes moving state of object instead of behavior? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "moving state of object instead of behavior?" Watch "moving state of object instead of behavior?" New topic

moving state of object instead of behavior?

yamini nadella
Ranch Hand

Joined: Apr 13, 2004
Posts: 257
as part of application you need to move the state of object instead of behavior, what should you use?


it seems B is correct. that means all other options move the behavior?
Pavel Grushetzky

Joined: Oct 12, 2005
Posts: 13
I would say E is correct.

IIOP is a protocol that allows to move object state, but not behaviour. It is native protocol for CORBA, but can also be used as wire protocol for RMI.

HTTPS is a secure protocol that intended to transfer unstructured data, not objects.
CORBA is a technology that enables intercommunication between heterogeneous parties by thru ORB that mediates requests.
RMI is a technology for remote communication between java components.
JRMP is a default RMI wire protocol that allows transferring both object state and behaviour.
Santosh Pasupuleti
Ranch Hand

Joined: Aug 10, 2005
Posts: 97
The answer is A (A) HTTPS (B)CORBA (C)RMI (D)JRMP (E) IIOP

The objective is to move the state that is some data.

HTTPS is not a single protocol, rather it is the combination of HTTP over an SSL transaport (Mark Cade, page 146).

HTTP is the best fit to just transfer the data not an object (which has state and behaviour).

All the other options are meant for transfering objects (state and behaviour).

I agree. Here's the link:
subject: moving state of object instead of behavior?
jQuery in Action, 3rd edition