|
I believe the servlet 2.2 spec requires that everything that is put into
the session is serializable. If that's true I doubt that every servlet
engine will require that. If they do then you'll need to make all of the
objects that you
put into the session serializable which could be a real pain and even impossible in some cases. You can't make your jdbc connection serializable for instance. There is an article at www.javageeks.com that shows one way to address this via a SerializableAdapter for your non serializable objects. It'd be cool if one of the tomcat guys could talk about whether, in the future, they will require all objects in a session to be serializable. Maybe it's been discussed to death already... Sean Kroah Shahed Ali wrote: Hi, Does tomcat seralize session objects ? 1. If it does, and I have non serializable objects like SQL Connections sitting in my session, then what should I do ? 2. If it does not, and I have a lot of sessions lying around, then will tomcat crash due to memory limitations ? ThanksShahed -- Sean Kroah T:503.222.9660 F:503.241.5682 WireX Communications, Inc. Software Engineer, [EMAIL PROTECTED] |
- Session Object Serailization Shahed Ali
- Re: Session Object Serailization Sean Kroah
- Re: Session Object Serailization Alef Arendsen
- Re: Session Object Serailization Craig R. McClanahan
- Re: Session Object Serailization Sean Kroah
- Re: Session Object Serailization Craig R. McClanahan
- Re: Session Object Serailization Shahed Ali
- Re: Session Object Serailization Craig R. McClanahan
