InterviewSolution
| 1. |
What Optimization Could I Use If The Ejb Container Is The Only Point Of Write Access To The Database? |
|
Answer» You could activate the “COMMIT Option A” that is the CONTAINER caches entity bean state between transactions. This option assumes that the container has EXCLUSIVE access to the persistent store and therefore it doesnt need to SYNCHRONIZE the in-memory bean state from the persistent store at the beginning of each TRANSACTION. You could activate the “Commit Option A” that is the container caches entity bean state between transactions. This option assumes that the container has exclusive access to the persistent store and therefore it doesnt need to synchronize the in-memory bean state from the persistent store at the beginning of each transaction. |
|