• 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: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlet container handles the servlet object lifecycle.
 
Happiness is not a goal ... it's a by-product of a life well lived - 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!