Why is it advised to override doGet()&/doPost() instead directly overriding service()? Is it only because the possibility of having implementations for for other doXyz() methods is not possible?
By Overriding service() method, you need to implement logic to read the type of HTTP request (GET/POST). But, currently the service method already does this and dispatches the request to doPost()/doGet() method appropriately.
My pie came with a little toothpic holding up this tiny ad:
a bit of art, as a gift, the permaculture playing cards