serialization - Why does ActionSupport implement Serializable -


what need action classes serializable? when , how happen, if @ all.

as far can tell, doesn't need serializable, , mistake make actionsupport implement interface.

here best reasoning have found on subject (taken here):

it's common in web frameworks use serializable objects couple or reasons, such being able preserve state across server restart , shipping objects around in cluster.

with said, (imho) believe design mistake have actionsupport implement serializable. don't believe either of above apply action objects since short-lived. choice of making actions serializable should have been left developer , not "forced" framework.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -