In general, integration fo jBPM into enterprise applications (ear/war) does not differ a lot between application servers, most of the issue you can run into are related to library conflicts. Here you can find some samples about integrations of jbpm into web application.
I would recommend using 5.x version as it is under development and community support is available
HTH