I often hear people saying that session scoped objects should implement Serializable ? Why it is so ? What will be the result if one doesn’t do this ? Why not make this a part of the servlet specification then ? I know Tomcat doesn’t complain if we do not do this . What about other app servers like JBoss, WebSphere or Weblogic ?
I often hear people saying that session scoped objects should implement Serializable ? Why
Share
Why does the container need to store session on the disk (passivation)? Perhaps when the memory is full. When the session is needed again, it retrieves it from the disk back into memory (activation).
http://www.javapractices.com/topic/TopicAction.do?Id=110