Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

urgent serialize of getSession()

Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi frinds
i need small explanation
the thing is that when we want make a sesion serializable

we should make sure that all our servlets have to do serialization of the session rite......

please correct me
Posts: 43016
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I may be misunderstanding what you're saying, but the way it's phrased it sounds wrong.

To make a session serializable, all objects put into the session must be serializable. The servlet doesn't have to do anything special. Is that what you're asking?
[ August 31, 2007: Message edited by: Ulf Dittmer ]
Ranch Hand
Posts: 242
Mac Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kajal

What do you want to achieve by serializing a session.
We normally serailize the attributes attached to the session of a distributed web app.

I have heard of synchronization of session but haven't heard about serializing of session.
Moreover I don't think we serialize a method. We serialize a class by making them to implement marker interface Serailizable.
Please explain it a little more.

Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic