Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AmeerAhmed
IntegratingJBPMIntoA...
IntegratingJBPMIntoA...




JSPWiki v2.2.33

[RSS]


Hide Menu

IntegratingJBPMIntoAppFusePartTrois


Difference between version 21 and version 7:

At line 11 changed 7 lines.
* [2] Create and load identities into jBPM database
* [3] Enhance Process Defintion by creating and assigning tasks
* [4] Write test case to validate Process Definition execution
* [5] Enhance Process Defintion by creating ActionHandlers (DecisionHandler)
* [6] Write test case to validate new Process Definition execution
* [7] Wire spring beans inside jBPM Actions
* [8] Test spring bean execution
* [2] Enhance Process Defintion by creating and assigning tasks
* [3] Write test case to validate Process Definition execution
* [4] Enhance Process Defintion by creating ActionHandlers (DecisionHandler)
* [5] Write test case to validate new Process Definition execution
* [6] Wire spring beans inside jBPM Actions
* [7] Test spring bean execution
At line 21 changed 1 line.
Before we create the schema tasks lets create some packages which willl contain actions, configurations and ant tasks:
Before we create the schema tasks lets create some packages which willl contain actions and config files.
At line 24 changed 2 lines.
{{org.appfuse.jbpm.config}} - will contain hibernate configuration files / identity files \\
{{org.appfuse.jbpm.action}} - will contain jbpm actions\\
{{org.appfuse.jbpm.config}}\\
{{org.appfuse.jbpm.action}}\\
At line 27 changed 1 line.
The following files are from the Jbpm Starter Kit (see [IntegeratingJBPMIntoAppfuse] for the download link) :-
The following files are from the Jbpm Starter Kit (see [IntegratingJBPMIntoAppFuse] for the download link) :-
At line 29 changed 1 line.
Copy the following files to {{org.appfuse.jbpm.config}}:
Copy these files to {{org.appfuse.jbpm.config}}:\\
At line 34 changed 1 line.
{{create.db.hibernate.properties}} does require modification to point to the Jbpm datasource (the same as the one defined previously in Part I).
{{create.db.hibernate.properties}} does require modification . It has to point to the Jbpm datasource (same as the one defined in Part I).
At line 48 changed 2 lines.
\\
\\
;:%%(color: blue)''You might want to change the cache provider for production usage to a more robust one such as Ecache. If you plan on sticking with this one, ensure that {{dao.compile.classpath}} in {{properties.xml}} contains this reference:''%%
{{{
<!-- DAO -->
<path id="dao.compile.classpath">
...
<pathelement location="${commons-collections.jar}"/>
...
</path>
}}}
At line 61 added 1 line.
At line 65 removed 1 line.
At line 73 changed 2 lines.
<deployprocess cfg="src/dao/org/appfuse/jbpm/config/hibernate.cfg.xml"
properties="src/dao/org/appfuse/jbpm/config/create.db.hibernate.properties">
<deployprocess cfg="src/dao/org/appfuse/jbpm/config/hibernate.cfg.xml"
properties="src/dao/org/appfuse/jbpm/config/create.db.hibernate.properties">
At line 76 changed 1 line.
</deployprocess>
</deployprocess>
At line 78 changed 2 lines.
cfg="src/dao/org/appfuse/jbpm/config/hibernate.cfg.xml"
properties="src/dao/org/appfuse/jbpm/config/create.db.hibernate.properties"/>
cfg="src/dao/org/appfuse/jbpm/config/hibernate.cfg.xml"
properties="src/dao/org/appfuse/jbpm/config/create.db.hibernate.properties"/>
At line 82 removed 1 line.
At line 88 changed 3 lines.
{{build.processes}} is a convenience task to build process defnitions. Multiple definitions can be added.
{{declare.jbpm.tasks}} does exactly what it names implies, loads task definitions used in the next target.
{{clean_jbpm}} refreshes the jbpm db. Which i find myself doing a lot of! It first drops the schema(you will lose all changes, so beaware), then creates a new one, then deploys the process defintions and finally loads the workflow identities(users) into the jbpm database.
{{build.processes}} is a convenience task to build process defnitions. Multiple definitions can be added.\\
{{declare.jbpm.tasks}} does exactly what it names implies, loads task definitions used in clean_jbpm target.\\
{{clean_jbpm}} refreshes the jbpm db. Which i find myself doing a lot of! It first drops the schema(you will lose all changes, so beware), then creates a new one, then deploys process defintions and finally loads workflow identities(users) into the jbpm database.
At line 100 added 1 line.
Execute __ant clean_jbpm__ and watch the magic happen!

Back to IntegratingJBPMIntoAppFusePartTrois, or to the Page History.