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

From: tmp <>
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:
Sent from the Jersey mailing list archive at