learning code of book “how tomcat works”