Why do transfer objects need to implement Serializable?
Posted
by smaye81
on Stack Overflow
See other posts from Stack Overflow
or by smaye81
Published on 2010-03-16T01:11:57Z
Indexed on
2010/03/16
1:19 UTC
Read the original article
Hit count: 386
I realized today that I have blindly just followed this requirement for years without ever really asking why. Today, I ran across a NotSerializableException with a model object I created from scratch and I realized enough is enough.
I was told this was because of session replication between load-balanced servers, but I know I've seen other objects at session scope that do not implement Serializable. Is this the real reason?
© Stack Overflow or respective owner