• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

moving state of object instead of behavior?

 
yamini nadella
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic