I want to know if byte[] is serializable. Also how to i check if the entire obejct is serializable? I have an object which implements serializable, but at run time am getting NotSerializableExceptionexception. This happens only when I tun the app in clustered mode using apache and tomcat.
If I tun it in non clustered mode....everything looks fine.
An yhelp on this...pls [ September 24, 2006: Message edited by: Mary Cole ]
Ernest Friedman-Hill
,
author and iconoclast
staff
You'd just have to make it into a named class -- i.e., define it inside the method or inside the class, rather than as an anonymous class, or even as a new top-level class (since it doesn't seem to need access to the enclosing class for anything.) Once you give it a name, then it's obvious how to declare that it implements Serializable.