Is anyone reading this stuff?
Is it possible to postpone CMP writes until the end
of the transaction (this is possible in weblogic and it makes a very large difference in my code)?
I start the transaction in my servlet. A session bean is then called multiple times which calls entity beans and even other session beans, etc. until done.
Then the transaction is committed.
I know that without even doing the transaction in the servlet I get lots and lots and lots of CMP writes of my beans. The transaction helps but not enough. I really need all the CMP writes postponed until the end of the transaction.
Is it possible?
Whoops! My bad.
I had asked this in the performance forum.
And the reply there: look at sync-on-commit-only was
exactly what I needed. Thanks....