Re: Easiest way to communicate with the WebApp

2011-06-13 Thread Nikola Milikic
Hi Erik, I think you're on the right track there with REST services through tapestry-resteasy. It's really easy to set up and it provides you reading (using GET method) and writing (using PUT or POST) capabilities. Regarding the issue of these methods being publicly available is unavoidable as the

Re: Easiest way to communicate with the WebApp

2011-06-13 Thread Nicolas Barrera
On Sun, Jun 12, 2011 at 9:55 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > > Another option is to implement a service that opens a server socket to > receive the commands. Again, you'll need to implement some kind of > authentication. > > Perhaps you could connect to a JMS queue

Re: Easiest way to communicate with the WebApp

2011-06-12 Thread Erik Fäßler
Thanks a lot for your ideas. I already thought of a thread regularly checking on updates. I will just think a bit more about pros and cons and then implement one of the mentioned possibilities. Thanks again and best regards, Erik Am 12.06.2011 um 14:55 schrieb "Thiago H. de Paula Figueiredo

Re: Easiest way to communicate with the WebApp

2011-06-12 Thread Thiago H. de Paula Figueiredo
On Sun, 12 Jun 2011 08:22:17 -0300, Erik Fäßler wrote: Hey all, Hi! 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 wou

Re: Easiest way to communicate with the WebApp

2011-06-12 Thread dragan.sahpas...@gmail.com
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 wrote: > Hey all, > > the web application I'm developing depends on some resources which may > change on a regula

Easiest way to communicate with the WebApp

2011-06-12 Thread Erik Fäßler
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 ap