JMS and servlets

I

iksrazal

I have a long running task - parsing thousands of files with a thread
pool. I need to create a web interface to start this task, which can
take hours.

I'm having a hard time finding JMS examples that fit this scenario -
sending a task from a servlet to start something long. My questions
are:

1) P2P or Publish/Subscribe?
2) Consume a message asynchronously or synchronously?
3) Should the thread pool program run in the container or outside of
it?
4) How/Who do I notify for success or failure of the thread program
started by JMS? Email with JavaMail sent from the thread program?

Thanks for any advice or links,
iksrazal
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top