There's something I don't get about jbpmsessions and the open, begin, commit, close sequence.
Is it always necessary?
The examples in the documentation indicate that you should wrap your "actions", like getting process instances from the database, between open/begin and commit/close but if I look at the webapp, I can't find when close() is called on the session.
Could someone explain me why the session does not seem to be closed in the webapp? I'm particularly looking at the save() and saveandclose() methods in TaskBean.
Thanks!
So I'm going to answer my own question. It's all done with the filters.