• Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote object && Serializable object

 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In HFE pg73, it reads that arguments and return values for a remote method must be one of these:
1. primitives
2. serializable objects
3. an array or collection of primitives or serializable objects
4. a remote object
And we know that in 4, a remote object is basically a stub to the remote object, so is a stub a serilizable object? If not, what makes it different from other non-serializable objects as such that a stub can be the arguments and return values of a remote method call and others cannot.
 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think stub is serialized object because it can be sent via network...
Correct me if i am wrong...
daniel
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!