Solved

Tomcat 6 - Session Serializable

Posted on 2007-03-20
5
746 Views
Last Modified: 2013-12-02
Is adding <distributable/> in my webapps web.xml file is good enough to force all session attributes implement java.io.Serializable
0
Comment
Question by:fylix0000
  • 4
5 Comments
 
LVL 30

Expert Comment

by:mayankeagle
Comment Utility
It means that the application can be distributed over a cluster but I you need to manually ensure that the session attributes implement Serializable - you need to say 'implements Serializable' in the source code of those classes.
0
 
LVL 30

Expert Comment

by:mayankeagle
Comment Utility
>> but I you

but I think you
0
 

Author Comment

by:fylix0000
Comment Utility
Sounds good to me. I checked that yes and need to do that in any Servlet my web Apps is using.
0
 
LVL 30

Accepted Solution

by:
mayankeagle earned 500 total points
Comment Utility
Any objects which your servlets are storing in the session need to be serializable
0
 
LVL 30

Expert Comment

by:mayankeagle
Comment Utility
Any reason for the B grade? You can ask for more clarification if you want.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now