title: using JMS for long running processes?
body: <p>Can someone point me to a tutorial or similar code where JMS is used by a web app to execute a long running background process? (instead of using threads), I'm fairly familiar with the concepts of JMS messaging, but never used any JMS API or brokers (i'm looking at learning Apache ActiveMQ)</p>
  
  <p>I'd like to be able to:
    submit a message to the queue to run a process
    check the status (progress) on that process at arbitrary times</p>
  
  <p>Thanks!</p>