0 Replies Latest reply on Oct 28, 2009 7:17 PM by Scott Everts

    Long running Serial Process ... what's the best method to do

    Scott Everts Newbie

      I am trying to figure out what the best way to perform a long running process within JBOSS. I have thought about having a quartz job wake up periodically and invoke a function of a MBEAN. The problem with this approach is that I don't want to timeout the quartz job (which is basically a MDB) so I was thinking that I would create a thread within the MBEAN to process the long running task. The problem with that approach is that I need to update the database and I can not access the EnitityManager from within a thread. Any thoughts of how this could be done? Is there a better way to accomplish this?