It's very easy to turn persistence on in a Glassfish server, but what I've found is that this will persist all calls going through the system and some of these are synchronous calls that don't need to be persisted. This obviously affects server performance.
Is there a way to specify which bpel processes get persisted, for example BPELs representing synchronous calls wouldn't be persisted, whereas BPELs that represent asynchronous processes sitting in memory would be persisted.