[jboss-jira] [JBoss JIRA] Commented: (JBPM-886) change ejb timers from SLSB to an entity bean approach

Tom Baeyens (JIRA) jira-events at lists.jboss.org
Mon Oct 1 08:10:41 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPM-886?page=comments#action_12379555 ] 
            
Tom Baeyens commented on JBPM-886:
----------------------------------

the timer entity bean should leverage the existing JBPM_JOB table.  most difficult part will be to do a flush between the moment when a new job is persisted with the hibernate session and then you need to flush before loading that same record as an  entity bean to schedule the ejb timer on it.

> change ejb timers from SLSB to an entity bean approach
> ------------------------------------------------------
>
>                 Key: JBPM-886
>                 URL: http://jira.jboss.com/jira/browse/JBPM-886
>             Project: JBoss jBPM
>          Issue Type: Feature Request
>            Reporter: Tom Baeyens
>         Assigned To: Tom Baeyens
>            Priority: Critical
>             Fix For: jBPM jPDL 3.2.3
>
>
> the problem is that all the timers are put on a single slsb.  so we have to loop through all the timers to cancel or find one.  that is a bottleneck.
> we need to change that approach to the use of entity beans.  1 entity bean per job.  so that we can put queries for jobs and that way have a more efficient way of finding and cancelling ejb timers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list