users@jersey.java.net

[Jersey] Re: running a parallel polling thread when the webapp gets deployed

From: tmp <le_tmp_at_gmx.de>
Date: Fri, 10 Feb 2012 07:10:50 -0800 (PST)

thanks alot!

that seems to be exactly what i was searching for.

unfortunately i cannot get it work.
i just added a new method to my resource class:

@Schedule(second="*/5",minute ="*", hour="*", info="every 5s")
    public void automaticTimeout() {
        System.out.println("HELLO TIMER");
    }

when i start the webapplication, nothing happens.
is there anything missing?

--
View this message in context: http://jersey.576304.n2.nabble.com/running-a-parallel-polling-thread-when-the-webapp-gets-deployed-tp7269447p7272934.html
Sent from the Jersey mailing list archive at Nabble.com.