Hi,
I wish to make a
Tomcat driven rest service, where a PUT's a
string that represents a filepath.
The server then adds this to a queue, and performs a long job on each member of the queue.
The client can do a GET with the same path, and the server will respond with a status string.
How would you setup the queue, so that the POJO that implements the PUT can put it on the queue.
And where would you imagine the process that implements the long job to exist?
I am very new to Tomcat and to producing Rest services, as you probably can see.
I would like someone to point me in the right direction please with a rough idea as to how this could be implemented.
Regards,
John.