I do have objects that do db connections. I think i would need to dig out some more info into the direction you provided. I will look out for how to do it and work upon.
Thank You.....for providing useful information !! Nehal -----Original Message----- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 12:55 PM To: 'Tomcat Users List' Subject: RE: serializing java code Your "code" does not really get "serialized". You just have to be sure that you are not storing any objects in the Session that are not Serializable - i.e. they must implement the interface java.io.Serializable. For many of your custom object types it may be as simple as just implementing the Serializable interface. But if any of your objects have database connection, or other information that cannot be readily serialized - this will take a bit more thought. I'm not aware of a tool that would do this for you - it would be magic :) When I moved an application to a Tomcat cluster a while back, it turned up a number of objects that I did not realize were Serializable, including Log4J loggers. It took a bit of rework, but probably was all done within a half of a day. HTH - Richard -----Original Message----- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 11:32 PM To: Tomcat Users List (E-mail) Subject: serializing java code Hi I need to serialize my existing java code for implementing Tomcat Clustering feature. Is there any ready-made tool which does the job easily? Otherwise, manually, how can i convert my existing code into serialized format? Thanks Nehal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]