Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Order of execution

 
hatim osman
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there.
Now, if class Obj implements the HttpSessionBindingListener, what is the order of notification when the following code executes:


I am amazed because when I kept track of the listener methods (on Tomcat), I found the order of notification the following:
Bound-Bound-Unbound
and I have expected:
Bound-Unbound-Bound
Does anybody have an explaination?
Thank you in advance
Hatim
SCJP, SCJD
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recently, there's been an extensive discussion on this subject. Please check this thread.
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!