-
1. Re: Non-serializable objects
manik Oct 19, 2006 6:01 AM (in response to simoneg76)Hi,
You could use FIELD-level replication, but you would need to instrument your classes using JBoss AOP. See
http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/PojoCache/en/html/index.html
for more details.
Cheers,
Manik -
2. Re: Non-serializable objects
simoneg76 Oct 19, 2006 7:05 AM (in response to simoneg76)Hi Manik,
thanks for reply
but problem is... i can't change classes source :-(
so...i can only hope in JBoss components configurations
any idea ? -
3. Re: Non-serializable objects
simoneg76 Oct 19, 2006 7:05 AM (in response to simoneg76)Hi Manik,
thanks for reply
but problem is... i can't change classes source :-(
so...i can only hope in JBoss components configurations
any idea ? -
4. Re: Non-serializable objects
hmesha Oct 19, 2006 8:50 AM (in response to simoneg76)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.