{{theTime}}

Search This Blog

Total Pageviews

Servlet LifeCycle

LifeCycle:  Servlet Creation to Termination:

-- Servlet is intialized by calling the init() method.  Init() method called only once when first created
-- Client requests processed by service() method.  Each request resulted a new thread calling service() method.  Service method checks the request type (GET, POST, PUT, DELETE) and call doGet, doPost, doPut or doDelete() methods.
-- Servlet is termincated by desctroy() method
-- Finally, garbage collected by the JVM garbage collector

No comments:

java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport

SpringBoot Error: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.j...