• Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialization  RSS feed

 
Raj Bhunia
Greenhorn
Posts: 8
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When we should use serialization?
 
Rob Spoor
Sheriff
Posts: 20892
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) when you need to send objects over a network; especially for RMI serialization is used quite heavily. I think this is also why Exception extends Serializable.
2) to store objects in their "native" form for any reason.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!