aspose file tools
The moose likes Servlets and the fly likes y to implement serializable in getter & setter ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "y to implement serializable in getter & setter ?" Watch "y to implement serializable in getter & setter ?" New topic
Author

y to implement serializable in getter & setter ?

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 760
why do we implement serializable in getter and setter ???


Jigar Naik


Shubha Sridhar
Greenhorn

Joined: Feb 22, 2007
Posts: 2
The data you are going to set or get using getter or setter method some times may need to pass through network from one remote to another remote system.Serializable is property that allows you to write the data or the object state into an output stream and fetch it back from there...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: y to implement serializable in getter & setter ?