• 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

what does the stub do

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hope my doubt is valid.
i hav read that the stub converts method calls from java format
to a network format so that it can be transported over the network. This process is called marshalling.
What is this network format.
isnt the above procedure similar to object seriallisation.
so can i assume that serialisation and marshalling mean one and the same. if not can somebody please ellaborate on why to use 2 different terminologies serialisation and marshalling
 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
network formate is tcp/ip packets
serialization means to convert some object to such a formate which can be sent over a network or can be saved on the hard drive
then reconstruct the object back to the original object
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
network formate is tcp/ip packets
serialization means to convert some object to such a formate which can be sent over a network or can be saved on the hard drive
then reconstruct the object back to the original object
 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you call a method on a remote object you have to do more than just serializes objects. You have to format a message that names the remote object as well as the method that is to be called and the parameters that are passed. The formatting of this message is called marshalling. The message must then be serialized so that it can be sent across the network. I believe that the format of this message conforms to the IIOP protocol that CORBA uses.
reply
    Bookmark Topic Watch Topic
  • New Topic