[jboss-user] [JBoss Seam] - Re: Stateful session bean serialization error.

bfo81 do-not-reply at jboss.com
Mon Sep 18 06:27:43 EDT 2006


For the sake of completeness:

During serialization all properties of an object get serialized. Therefor they need to implement the interface Serializable.

If they don't, then you need to make them "transient". Like this they are omitted during serialization and get re-injected after deserialization.

In this case it makes sense, since faces, application or session contexts are "dynamic" and they might have changed in the meantime. So it's important to get the "newest" instance.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972246#3972246

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972246



More information about the jboss-user mailing list