Question: how to use jbpm in web application?
Answer: In your case, you are already using jBPM as a library of your java project. If you want to use it in a webapp there's nothing special you must do. Create a new webapp project, add jBPM5 dependencies/libraries and start creating your kbases, ksessions and so on. After a long time, i'm able create a jBPM web application.