What is difference between processRequest() and service()?
843841Apr 17 2003 — edited Apr 18 2003I've seen a few examples on the web where a processRequest method is defined in a servlet extending HttpServlet (http://java.sun.com/blueprints/corej2eepatterns/Patterns/FrontController.html) and others. I'm coming back to servlets after a year and a half, and back then service was the method doing what processRequest seems to be doing in these recent examples. Confusing me even more is that HttpServlet still has a service method defined and it doesn't seem to be deprecated if favor of any processRequest method. Can anyone point me in a useful direction on this? Any help would be appreciated.
Thanks,
Nikhil