4 Replies Latest reply on Dec 1, 2006 10:57 AM by pravot

    jBPM & EJB3

    nib

      Hi there,
      has anyone used jBPM in connection with EJB3? Is it possible to use Entity Beans 3 in jBPM Processes? Do you know a tutorial or something like that regarding this topic? Thank you in advance.

      Greetz,
      Nib

        • 1. Re: jBPM & EJB3

          I've done this, no problem. It's the same as calling an EJB from any other Java application. Set your JNDI up, lookup the bean, use it.

          gary.

          • 2. Re: jBPM & EJB3
            nib

            Thank you for your answer.
            Another question. If I use a Node in my Process I can choose a Handler which is a Bean. Does this mean an EntityBean (ejb3) or a SessionBean?
            Or is this just a PoJo which is stored in the DB?
            How do I read data from this "bean" (i.p. how do i select the corresponding data set?) Has anyone a link to this?

            • 3. Re: jBPM & EJB3
              nib

              Ahh I got some trouble:
              I use the newest package:
              RC9. After i install it with ant I can't start the jmx-console anymore :-(

              • 4. Re: jBPM & EJB3
                pravot

                Hello, not sure to help you since i'm also pretty new to JBPM. To my understanding, Bean/Field action Handler mainly refers how you can inject parameters into the POJO Handler (Setter/Getter - versus direct property access) there is not much to do with EJB. By the way i also call EJB remote bean from within an action handler of a JBPM process with No Problem.