There's a lot of technical "blurp" out on the Internet, books and elsewhere where you can read a lot about how to setup container-managed persistence contexts etc., but none of the sources I've found deal with the much more difficult question:
How do you decide on which type of container-managed persistence context to use? How do you decide between container-managed transaction-scoped and container-managed extended persistence contexts conceptually?
How do you approach this? What are the crucial points here? Is there a more-or-less generally accepted policy that can be applied? Maybe we/you can develop one here...
I'm really struggling to find a useful answer to this. Help highly appreciated.
According to here and here, you would use the Extended Persistence Context only if you deal with stateful EJBs.