Small steps with big feet
Updated hello world tutorial for jBPM 4.3
While checking my tweets this weekend, I found out that Niklas Gustavsson updated the jBPM 4.0 Hello World example to jBPM 4.3. Altough not complicated if you know jBPM and Maven, I’m sure many people will find it helpful. Since my Hello World article is still one of my top posts (visitor-wise), I decided to post here how you can get Niklas’ work in your Eclipse (thanks Niklas!).
You can find the source code on git:
(small remark, you’ve misspelled jbpm, Niklas
)
Clone the repository locally:
git clone git://github.com/protocol7/jbmp4-helloworld.git
And prepare the project for your IDE (I’m using Eclipse):
cd jbmp4-helloworld
mvn eclipse:eclipse
You can now import the project into Eclipse (File -> import -> Maven project). Note that you need a Maven plugin, such as m2Eclipse. Find the Main.java class and run it.
The content of my previous post about this example are still valid today (hurrah for API stability
), so please read further there.

Hi,
My webapp’s are currently using Spring and Hibernate, and I’m wondering if it is possible to integrate jBPM4 with my existing spring context files.
On the other hand, how can I specify a custom path for jbpm.hibernate.cfg.xml?
Thanks in advance.
@Jonatan: jbpm integrates natively with Spring (see dev guide). Also, specifying another hibernate config is done in the jbpm.cfg.xml file.