Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 753
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 ?
 
Similar Threads
Problem assigning long values
Why and When to use reflections
SERIALIZABLE INTERFACE
Can a servlet access the bean created by the JSP
y to implement serializable in getter & setter ?