aspose file tools*
The moose likes Servlets and the fly likes Session Activation/Passivation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Session Activation/Passivation

Andy Smith
Ranch Hand

Joined: Sep 28, 2003
Posts: 239
What are the diffenerent scenarios when a servlet container can passivate a session??
Is there any case besides migration?
[ November 25, 2003: Message edited by: Andy Smith ]

Share Knowledge to gain it.
SCJP 2, SCWCD 2, SCDJWS, IBM 141 (In Progress), IBM 486 (Next)
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Just some I'm clear on something...

'activation' and 'passivation' are words usually used in an Enterprise Bean context (EJB).

Do you mean 'when are session beans activated/passivated?' or an HttpSession ?
Andy Smith
Ranch Hand

Joined: Sep 28, 2003
Posts: 239
Well i mean HttpSession only..
Are they activated/Passivated by the container??
HttpSessionActivationListener listens on activation /Passivation of the Session..I just want to know the different scenarios when this listener can be used?
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
I guess we are currently discussing this topic in SCWCD forum... Do u ask the same question across forums?


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Yes, you are discussing it in SCWCD

Since this is a cross-post, it's now closed.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session Activation/Passivation