Web tier: servlets, JSP, Web frameworks: Instance of a class in a servlet

  1. Instance of a class in a servlet (2 messages)

    If we have a servlet, in which in the service method() we have an instance of the class. Wht is going to call the instance of this class. like the servlet is called by the servlet container...wht will call the instance of the class...

    Threaded Messages (2)

  2. err..the jvm?

    whos on first...
  3. First web container will call the servlet's service() and when it come across class instance , its JVM's turn.