y lab,
There is nothing special about a web app which runs a JBPM process. You only need to include the jars you need and be able to load the process from a file/the classpath/Guvnor. If you are using persistence with JBPM, you will also need the datasource, database and drivers setup. Think of it as just another library you can use from any kind of application.
HTH