I want to submit a enhancement to jbpm and wanted to see what everybody thinks about it:
Everytime our application starts it deploys the latest process definition files (packages
in the same *.jar). This allows us to always keep our code and process definitions in
sync - for example if somebody modified and packaged a new process definition.
However, currently every time you deploy jbpm blindly creates new row(s) in the database.
This is rather problematic considering that we run multiple hosts against the same db and
they can start/stop many times a day (very decentralized model). This results in a lot of
uneeded junk in the database.
The change I wrote actually compares the process definition parsed from the xml file
against the lattest version in the database and only deploys if it's different. This
way we still get the "just deploy each time you start" behavior, however without
unneeded load on the db.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121915#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...