• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Object

 
Harikrishna Gorrepati
Ranch Hand
Posts: 423
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Where do we create Servlet object ? We are not saying anywhere like new Servlet() or new HttpServlet(). In Java everything is object. Maybe, Servlet container (implementation vendor) creates Servlet object ? Same question for Simple Regular Hello World class (or) EJB class..Who is creating objects for them ?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlet container handles the servlet object lifecycle.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic