• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When do Session Listeners start?

 
John Strong
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do the session listeners specified in the DD within <listener-class> tags start when the app deploys, or do they start when the first session is created, or some other time? Or does this depend on the implementation of the specific Container?
Thanks, - John Strong (pluviosilla@gmail.com)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I wanted to find this out, I would put a System.out.println("I've started"); line in the constructor of a listener and then tail the server logs while starting up and hitting the application.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic