2 Replies Latest reply on Feb 11, 2009 6:39 AM by camunda

    Questions on EJB2 enterprise module

    camunda

      Hi Alex,

      I currently review the current enterprise module and have some questions. I hope you don't mind if I post them here?

      - Commands: I thought about that they should be moved to the jbpm core command base. But this special behavior avoid this to be easy:
      ExecuteJobCommand / postJobsExecution: There a JMS message is created hard coded. Wouldn't it be possible to create the jobs again via the MessageService? In the JMS implementaion this will create messages but use the default way and code?

      - Why is the ExecuteJobsCommand that much easier than the ExecuteJobCommand? shouldn't it basically include the same logic?

      - The ExecuteTimerCommand could easily be moved to jbpm core timers, wouldn't that be a good option? Can I do such a refactoring?

      Thanks
      Bernd

        • 1. Re: Questions on EJB2 enterprise module
          tom.baeyens

          couple of other points you need to know if you're going to work in this area:

          * alejandro recently reported in a forum thread that exclusive messages are processed sequentially by 1 MDB. we need to verify that each job runs in its own transaction. (maybe that is what you are actually reporting related to "ExecuteJobsCommand that much easier than the ExecuteJobCommand")

          * i forgot the other point :-)

          • 2. Re: Questions on EJB2 enterprise module
            camunda

            Hi Tom.

            Yeah, thanks! I already saw that (in JIRA and code)...