GenericServlet class implements Servlet, ServletConfig and Serializable interfaces. It provides the implementation of all the methods of these interfaces except the service method. GenericServlet class can handle any type of request so it is protocol-independent. You may create a generic servlet by inheriting the GenericServlet class and providing the implementation of the service method. First Way of Creating Servlet using Implements Servlet: https://youtu.be/DmvdVPznNEk Learn JDBC Practically : https://www.youtube.com/watch?v=6EF8XPJp-No&list=PL0zysOflRCenjuvOwumYLG9TCsEQZrV2M