Details
-
Task
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-3.2.7 Final, JBossAS-4.0.1 Final
-
None
Description
There are a number of improvements that can be made to the persistence manager.
This should really be done by writing a new version that can then be optionally used while
it is experimental.
1) Make use of the datasource mappings - similar what has been done for the EJB timer
2) The use of the JTA transaction is unnecessary since we are the only one in the transaction branch. The tranaction still needs suspending so we are isolated from any wrapping transacton.
3) Make use of build writes to the database
This can be used for transactional sessions where multiple messages are processed
But it could also be used where people want to relax the absolute requirement that
messages are persisted in return for some performance improvement.
4) A general review/rewrite of where the persistence manager is invoked from the
server with an aim to improve performance.