[jboss-user] [JBoss jBPM] - deployment in JBoss
bill.burke@jboss.com
do-not-reply at jboss.com
Wed Mar 21 16:36:13 EDT 2007
I would like to write a JBoss Deployer for jBPM. Basically it would work like this:
1) Create a table:
create table PROCESS_DEF_HASHES(
name VARCHAR,
hashcode long
);
2) Read the XML file. Create a MD5 hash of the file.
3) select * from PROCESS_DEF_HASHES where name="pd name of file" AND hashcode = MD5 hash
4) If query returns anything, do nothing and return
5) Create new Process Definition
6) Search to see if any old Process Definitions have Instances. If not, delete all the old ones, keep the ones that have process instances.
Sound cool? Then you wouldn't have to have an ANT step and could create bundled, scoped .jbpm archives like we do for EJB, EAR, WAR, ESB, HAR, etc...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030372#4030372
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030372
More information about the jboss-user
mailing list