aspose file tools*
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 8 in Action this week in the Java 8 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
Author

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?

(A) HTTPS (B)CORBA (C)RMI (D)JRMP (E) IIOP

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

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

Regards
Santosh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: moving state of object instead of behavior?
 
Similar Threads
moving state vs. behavior
I am lost... Help me please
Test Data Strategies
Mock Question on Protocols
Thread's Beta Version (Dan)