I can (partly) understand your question. This is however not answered in a short statement and therefor out of our scope (jbpm developers). I hope someone else has an example for you.
I do think however that the documentation, webapp example, the api, test cases etc... are a good startingpoint for what you need. e.g. the call from a struts actioh is not to different from a call in a jsf bean.
First of all, sorry for my bad English. I try to accomplish my struts action with the webapp and jsf calls, but nothing happens (except an exception).
I don't know where is the problem. Perhaps database is not well initialized, perhaps jbpm and tomcat configuration is the problem, maybe I'm using the API badly.
I read the example, but is so confusing for me.
What can I do, then?
With 'partly' I did not mean that your question was unclear (sorry for *my* bad english ;-)) I meant that I could understand the origin of your question partly since I do not agree that there is to little documentation/examples/.... at least not to a certain extend. It should get you started and if you run into e.g. transaction issues then I agree that there is not enough documentation (yet).
If you get an exception, why not post it and post the example code. Then we can have a look. The way you ask the question now, my only answer can be 'no idea, post additional info'
You said you read 'the' example. What example do you mean? The websale process? the webapp? combining strusts (actions) etc. IN the webapp will be difficult. In many situations it is better to develop your own webapp and just use the jbpm webapp for RAD or monitoring