Solved

Tomcat 6 - Session Serializable

Posted on 2007-03-20
5
759 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
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…

726 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