Servlets, long operations
Posted
by asrijaal
on Stack Overflow
See other posts from Stack Overflow
or by asrijaal
Published on 2010-05-17T08:36:31Z
Indexed on
2010/05/17
8:40 UTC
Read the original article
Hit count: 253
Hi there,
I'm refactoring a big piece of code atm where a long taking operation is executed in a servlet. Now sometimes I don't get a response after the operation has finished. (It has finished because it is printed into the logs)
What I wish to achieve would some "fire and forget" behavior by the servlet. I would pass my params to the action and the servlet would immediately return a status (something like: the operation has started, check your logs for further info)
Is this possible with servlet 2.5 spec? I think I could get such a behavior with JMS
maybe any other solutions out there?
© Stack Overflow or respective owner