This answers: Why do GenericServlet and HttpServlet implement the Serializable interface?