/[projects]/miscJava/Test3/src/dk/thoerup/schedulesamples/JavaTimer.java
ViewVC logotype

Contents of /miscJava/Test3/src/dk/thoerup/schedulesamples/JavaTimer.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 772 - (show annotations) (download)
Tue Jun 1 05:51:53 2010 UTC (13 years, 11 months ago) by torben
File size: 770 byte(s)
skeleton for a new example
1 /* 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
2 * it executes the scheduled task in a new background thread that the appserver has no control over.
3 *
4 */
5
6 package dk.thoerup.schedulesamples;
7
8 import java.io.IOException;
9 import javax.servlet.ServletException;
10 import javax.servlet.http.HttpServlet;
11 import javax.servlet.http.HttpServletRequest;
12 import javax.servlet.http.HttpServletResponse;
13
14 /**
15 * Servlet implementation class JavaTimer
16 */
17 public class JavaTimer extends HttpServlet {
18 private static final long serialVersionUID = 1L;
19
20
21
22 protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
23 }
24
25 }

  ViewVC Help
Powered by ViewVC 1.1.20