JMS and servlets

Discussion in 'Java' started by iksrazal, Jul 30, 2003.

  1. iksrazal

    iksrazal Guest

    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
     
    iksrazal, Jul 30, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thomas Stein
    Replies:
    0
    Views:
    795
    Thomas Stein
    Oct 18, 2004
  2. Martin
    Replies:
    6
    Views:
    18,013
    anupam.cmit
    Dec 11, 2010
  3. Replies:
    9
    Views:
    906
    Darryl L. Pierce
    Jul 2, 2006
  4. Replies:
    0
    Views:
    455
  5. Garg
    Replies:
    6
    Views:
    907
Loading...

Share This Page