Explain the architechure of a Servlet.

Technology CommunityCategory: JavaExplain the architechure of a Servlet.
VietMX Staff asked 3 years ago

The core abstraction that must be implemented by all servlets is the javax.servlet.Servlet interface. Each servlet must implement it either directly or indirectly, either by extending javax.servlet.GenericServlet or javax.servlet.http.HTTPServlet. Finally, each servlet is able to serve multiple requests in parallel using multithreading.