• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 766
  • Last Modified:

Tomcat 6 - Session Serializable

Is adding <distributable/> in my webapps web.xml file is good enough to force all session attributes implement java.io.Serializable
0
fylix0000
Asked:
fylix0000
  • 4
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
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
 
Mayank SAssociate Director - Product EngineeringCommented:
>> but I you

but I think you
0
 
fylix0000Author Commented:
Sounds good to me. I checked that yes and need to do that in any Servlet my web Apps is using.
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Any objects which your servlets are storing in the session need to be serializable
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Any reason for the B grade? You can ask for more clarification if you want.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now