Both HttpServlet (for HTTP-specific web applications) and GenericServlet (for protocol-independent servlets) implement the Servlet interface, which defines the core servlet lifecycle methods like init(), service(), and destroy(). The Servlet interface is the foundation of all servlet technology.