Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JMS and servlets

Thread Tools

JMS and servlets

Posts: n/a
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

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
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,
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 5.5.6 : How to deploy and run JSP and Servlets Martin Java 6 12-11-2010 03:05 PM
implementing or using jms or running jms without application server Java 0 06-26-2007 10:26 AM
I want to learn JSP, XLST, Struts, Ant, Antenna, J2ME, JMS, Swing, Servlets Java 9 07-02-2006 12:27 PM
Java servlets: Hi All! I want to display xml file in browser using servlets datta.saru Software 0 05-15-2006 03:30 PM
How to setup JBoss for JMS (not MDB-JMS) ? Thomas Stein Java 0 10-18-2004 09:10 PM