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

From: tmp <>
Date: Tue, 14 Feb 2012 05:48:35 -0800 (PST)

Thanks for your help again!

I tried it 10 times to subscribe for but i'm
getting no subscription response.. so i have to use the old adress ;)

I am using the tomcat-maven-plugin to deploy my webapp.
Do I have to register the class that uses the @Schedule annotation in my
web.xml explicitely?

Here is my actual web.xml:
And here is the pom.xml:

It took me a long time to get the tomcat-maven-plugin running with https and
the database connection. So I dont know if it is easy to switch to glassfish
instead of tomcat. Do you have experiences with that?

All I need is to start a polling thread as soon as the webapp gets deployed.
Perhaps I dont need EJB for that? Isn't there a possibility to achieve this
with jersey?

Thanks again for your help!

View this message in context:
Sent from the Jersey mailing list archive at