[jboss-user] [Clustering/JBoss] - Re: Non-serializable objects

hmesha do-not-reply at jboss.com
Thu Oct 19 08:50:24 EDT 2006


You can create a wrapper class around the session object that intercept calls to setAttribute() and getAttribute() then using JBossSerialization serialize your objects before writing them to the session and deserialize them on return. Also, make sure that your wrapper class is thread safe so you won't get thread contention in there and would be a bottle neck in your application.

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

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



More information about the jboss-user mailing list