"session" bean scope in a web application - reliable ?

Posted by EugeneP on Stack Overflow See other posts from Stack Overflow or by EugeneP
Published on 2010-05-11T09:57:12Z Indexed on 2010/05/11 10:04 UTC
Read the original article Hit count: 297

Filed under:
|
|
|

Can you rely on this scope and be sure that every time

1) a new session starts, the Spring bean will be initialized with default values

2) while session is kept alive, the current object will store its state during session life, will never be lost or corrupted and can always be got with [webappcontext].getBean ?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring