Solved

Tomcat 6 - Session Serializable

Posted on 2007-03-20
5
756 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
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.
0
 
LVL 30

Expert Comment

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

but I think you
0
 

Author Comment

by:fylix0000
ID: 18782361
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:
Mayank S earned 500 total points
ID: 18784079
Any objects which your servlets are storing in the session need to be serializable
0
 
LVL 30

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article covers how to install the Microsoft Windows Operating System (OS). What is covered in this article:  > Different Versions and Editions of the Windows OS  > Upgrading versus Fresh Installation of the OS           - Steps to take pr…
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

735 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