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 Spring in Action this week in the Spring 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: 757
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: y to implement serializable in getter & setter ?