Migration of jBPM5 integration in Nuxeo CMF

Leave a comment

September 9, 2011 by huionn

I have been stuck for weeks thinking how to migrate jBPM3 to jBPM5 used in Nuxeo. Today, finally I found a feasible migration path. Ideally, it will be:

  1. Copy existing jbpm nuxeo project and rename it.
  2. Make the junit tests pass.
  3. Migrate JbpmServiceImpl to jBPM5
  4. Make the junit tests pass.
  5. Repeat 3 & 4 for other implementation classes.
  6. Deploy the new bundles.

Without the junit test cases, the process will be prohibitively time consuming as deployment of new bundle take minutes. The challenges still remain, but I can overcome it step by step…


Update 1 (12/09/2011):  After removing the dependency to jBPM3, I have to comment out most of the codes to quick fix the compilation errors. As the API and concept of Task in jBPM 5 are very different with Task in jBPM3, it turns out that the migration is much harder than I expected. I think I have to rewrite the Nuxeo service API to fit jBPM5’s API and concepts.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: