File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Servlet Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Servlet Object" Watch "Servlet Object" New topic

Servlet Object

Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 423
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 ?

OCPJP 6.0-81% | Preparing for OCWCD | |
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
The servlet container handles the servlet object lifecycle.
I agree. Here's the link:
subject: Servlet Object
It's not a secret anymore!