jBPM is very versatile and can be used in a numerous amount of ways. The purpose of this page is to show how jBPM can be combined with different technologies such as servlets, JSP, JSF, SEAM... Feel free to contribute your examples!
jBPM Plain Servlet example
This is a very small example to illustrate how to use jBPM in a custom webapp. It was build and tested using jBPM 3.1.3. Download an archive containing the Eclipse project here. You will have to change some properties and add the correct jbpm jar and servlet jar to the project to make it work.
jBPM state machine example
This is a very small example to illustrate how to use jBPM as a finite state machine engine. It was build and tested using jBPM 3.2.2. Download an archive containing the Eclipse project here.
The example runs as a JUnit test, and emits log4j messages to show the process evolution. (The test will take one particular path - that can be changed by changing the value of the process variable.)
jBPM Spring JSF example
Please have a look at Spring-jbpm-example for full explanation about setting up
jBPM 3.1.2 with Spring and JSF running on a tomcat server with MySql database support. Note this example is a maven example and some prior knowledge of maven is desirable.
You may need to manually include jbpm-3.1.2.jar and jbpm-identity-3.1.2.jar in your maven repository
jBPM JSP example
jBPM with SEAM example
Comments