• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

moving state of object instead of behavior?

 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic