[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: Using JBossSerialization with HttpSession Replication (J
hmesha
do-not-reply at jboss.com
Tue Aug 29 12:08:59 EDT 2006
hi Brian,
I've invented my a new system porperty session.serialization.jboss=true (default) / false :) . Also, taking into account Clebert advice to use factories. I'll create org.jboss.web.tomcat.tc6.session.SessionSerializationFactory class similar to the factory in JBC but it doesn't override the default implementation to change class loader context since we already deal with it inside http session replication code. The class reads the system property mentioned above and sets the boolean value UseJBossSerialization and static methods to create ObjectOuputStream, ObjectInputStream, MarshalledValue, MarshalledObject. Those methods will be used in conjunction with UseJBossSerialization falg to serialize the objects in JBossCacheService before inserting into the cache and deserialize after returing a retrieved value.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968131#3968131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968131
More information about the jboss-dev-forums
mailing list