wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in Listner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in Listner" Watch "Doubt in Listner" New topic

Doubt in Listner

Shashank vanjare

Joined: Apr 10, 2008
Posts: 9
1)What will be the order of Listner Notification when the conatainer is
about to shut down?
2)When the container shuts down is session tracking cookies deleted?
Muks Sam
Ranch Hand

Joined: Apr 09, 2004
Posts: 47

Hi Shashank,

While container shuts down, request listeners, session listeners an finally contextlisteners are expunged. Session tracking cookies are not deleted because they are present on client machine. Cookies generally are sent back and forth from client and received by server (after first request to create). So even if you log off from site or close the browser (virtually away from container) then also in the browsers history, you can find the cookies present.


Shashank vanjare

Joined: Apr 10, 2008
Posts: 9
Thank you Mukul!
It is sorta covered in the JavaRanch Style Guide.
subject: Doubt in Listner
Similar Threads
Clearing the form values on value change event of drop down in jsf
Sessionm Listener not notified when Tomcat shutdown
About listner entry in the DD???
JComboBox in the JTable Editor
how to slow down JMS