3 Replies Latest reply on Feb 23, 2006 2:54 PM by aguizar

    Integrate jBPM into AS build

    aguizar

      Getting jBPM integrated in the AS build is also a priority. Integration with Web Services depends on it. Due to the different sets of Hibernate mappings, I'm not sure how we can have a jBPM and a BPEL service running side by side. I can think of two alternatives:
      Remove the jBPM libraries from the BPEL service so that they come from either the jBPM service or the lib subdirectory of the AS configuration
      Have only a BPEL service, since its mappings are a superset of the jBPM mappings. Allegedly, jPDL and BPEL processes are able to coexist in the same database.

        • 1. Re: Integrate jBPM into AS build
          tom.baeyens

          good point!

          (i asked some advice on the jboss developers mailing list)

          my first thought is that we should have 2 service archives, both with their own database tables. i think merging the database will lead to maintenance and integration nightmares.

          One plain jBPM/jPDL service archive and one BPEL service archive. We should also add that these service archives check if the database is already present. if not, the service archives should then create the tables automatically.

          One option is that you create a separate database for each of these. But another option is that you change the prefix for the BPEL tables. That would allow people to use jPDL and BPEL in the same database.

          regards, tom.

          • 2. Re: Integrate jBPM into AS build

            There is a parallel discussion on this subject which focuses on the impact on the AS/testsuite here.

            • 3. Re: Integrate jBPM into AS build
              aguizar

              I agree merging the database would be problematic, particularly because BPEL does not use the latest version of jBPM due to time constraints (it follows closely, tough). Further, users can still deploy jPDL processes to the BPEL database if their processes are compatible with the older jBPM version.

              I'll change the BPEL prefixes in the next release.