Hi, You can start a thread in your AppModule with a @Startup method and poll for changes on a regular interval.
Cheers, Dragan Sahpaski On Sun, Jun 12, 2011 at 1:22 PM, Erik Fäßler <erik.faess...@uni-jena.de>wrote: > Hey all, > > the web application I'm developing depends on some resources which may > change on a regular basis. I have a plain Java application which is > responsible for creating/updating these resources, e.g. a database table. > I would like this update application to be able to tell my tapestry web app > that new data is available and should be loaded. I would like to send a > command like "update" to the web app which then would tell the services that > new resources are available and that they should reload these. > The question: Which would be easiest way to do this? I have found a package > "tapestry-resteasy" which seems to offer a RESTful interface quite nicely. > However, I do not intend to offer a public API to my web application - I > would rather hide the update functionality from the public. > > I would be glad for a few tips about in which direction I should think and > search here. > > Thanks and best regards, > > Erik > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >