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.


  1. Jonatan Soto February 24, 2010


    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.

  2. Joram February 25, 2010

    @Jonatan: jbpm integrates natively with Spring (see dev guide). Also, specifying another hibernate config is done in the jbpm.cfg.xml file.

  3. roberto March 29, 2010

    Does anyone have an example a little more complicated than HelloWorld to show me!
    I am in difficulty in the use of jBPM.
    I have seen examples on the official website but they are too little complex 🙁
    my e-mail romodem@libero.it

  4. Yahya June 23, 2010

    Thanks for this good tutorial,

    Here is a good tutorial too.

  5. Hayabusa brother July 13, 2010

    thanks for keeping me up to date on this subject.

    Sent from my Android phone

  6. […] Small steps with big feet " Blog Archive " Updated hello world tutorial … (tags: bpm jboss java) […]

Leave a Reply

Your email address will not be published.