Re: serializable and exceptions

2008-02-14 Thread Randy Burgess
List > Date: Thu, 14 Feb 2008 14:27:19 -0600 > To: Struts Users Mailing List > Subject: Re: serializable and exceptions > > Yes, for my own objects, i am going to implement the serializable interface, > however, the xwork class, even if i were to rewrite/replace it, i wo

Re: serializable and exceptions

2008-02-14 Thread Brian Relph
Yes, for my own objects, i am going to implement the serializable interface, however, the xwork class, even if i were to rewrite/replace it, i would also have to rewrite the interceptor to use the new object ... On 2/14/08, Randy Burgess <[EMAIL PROTECTED]> wrote: > > That would be the first thin

Re: serializable and exceptions

2008-02-14 Thread Randy Burgess
That would be the first thing I would do and generate a serialVersionUID for the pojo. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications > From: Brian Relph <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 14 Feb 2008 10:38:28 -0600 > To: Struts U

Re: Serializable

2005-09-30 Thread Tamas Szabo
On 9/30/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > I'm not sure it is a stupid question... I guess this enters the realm of > generic Java question, but I can't say I've ever thought about this > before... what happens if you have a class that implements serializable, > and you then exten

Re: Serializable

2005-09-30 Thread Frank W. Zammetti
Yep, knew I had to be missing something :) Thanks Atta! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Fri, September 30, 2005 10:08 am, atta-ur rehman said: > from: > > http://java.

Re: Serializable

2005-09-30 Thread atta-ur rehman
from: http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html "When traversing a graph, an object may be encountered that does not support the Serializable interface. In this case the NotSerializableException will be thrown and will identify the class of the non-serializable object." A

Re: Serializable

2005-09-30 Thread Tamas Szabo
Hi, But (this is OT): how do you stop Tomcat from doing so? I looked in the > Tomcat 5.0.x doc and just found nothing really helpful. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/manager.html If you want to stop Tomcat doing this for a webapp only put a META-INF/context.xml in your

Re: Serializable

2005-09-30 Thread Leon Rosenberg
I wouldn't do it, unless you use distributed sessions. Having serializable forms will cause tomcat to dump everything from the session to a file, and reload it after restart. Unless you explicitely want this (user-invisible restart, but then you need to make EVERYTHING serializable) it makes restar