Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is ServletContext a singleton?

 
Jacob Thomas
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does getServletContext() produce a singleton? Are there multiple instances of ServletContext objects?

I was going through some of the examples of servlet applications. Most of them doesn't seem to be using the concept of attributes and listeners. Could somebody please descibe some real world scenarios where they are used?

Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic