Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about RMI and which objects to tag with SerialID

 
Kenny Johnson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I use RMI, are the only objects passed over the network ( and hence need to have a serialID specified ) the ones that you bind to your RMI registry, or are other classes - like exceptions throw in your binded objects also serialized and passed around?

so say I have a Car class, and I bind it to my registry so others can perform remote method invocation on it. My car class contains tires ( of class Tire ) and it also could possibly throw some custom exceptions ( like say, OutOfGasException ). Should Tire and OutOfGasException have a serialID? Are these objects serialized?

Thanks for any help given!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic