Friday, August 15, 2014

Multithreading and Transaction

Every thread have common value of operation like what type of operation to go Or standard protocal when to commit ,when to rollback,how many transaction object to create so it is set once and use by all thread .

Whether every thread share same object,Or for everythread the object is different.If they share it will be singleton and need sychronization .

Creating a common scenario of data for db operation for all thread by setting as singleton

there are lost of set method in a class in DataSourceTransactionManager.So,need to  make sure what is common protocal for all threads

No comments:

Post a Comment