/* using java.util.timer is the most simple but also very inflexible - and It is considered less-than-nice in relation to the app server since * it executes the scheduled task in a new background thread that the appserver has no control over. * */ package dk.thoerup.schedulesamples; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet implementation class JavaTimer */ public class JavaTimer extends HttpServlet { private static final long serialVersionUID = 1L; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } }