Tomcat 6 - Session Serializable

Posted on 2007-03-20
Medium Priority
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
Question by:fylix0000
  • 4
LVL 30

Expert Comment

by:Mayank S
ID: 18757038
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.
LVL 30

Expert Comment

by:Mayank S
ID: 18757428
>> but I you

but I think you

Author Comment

ID: 18782361
Sounds good to me. I checked that yes and need to do that in any Servlet my web Apps is using.
LVL 30

Accepted Solution

Mayank S earned 1500 total points
ID: 18784079
Any objects which your servlets are storing in the session need to be serializable
LVL 30

Expert Comment

by:Mayank S
ID: 18827518
Any reason for the B grade? You can ask for more clarification if you want.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it f…
The way I use Experts Exchange to assist me in analyzing and diagnosing a problem is I first enter a Verbose Question at Experts Exchange like: Office 2007 will hang when opening and saving files I then launch WordPad (any text editor will do) an…
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

627 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