DataAnalyticsinStudentHands / CombinedBackend

The goal of this repository is to eventually combine all of our backends into one place in order to decrease maintenance
0 stars 2 forks source link

Transaction Layer #3

Closed DotTry closed 9 years ago

DotTry commented 9 years ago

Added a new EntityManager for dealing with multiple data sources. Changed certain methods in DAO layer to write to different entitymanagers. Changed certain methods in Service and Resource layer to identify which data sources to write to. Changed resource layer to call to Transaction layer which then calls to Service layer. Added the Transaction layer: Switch classes switch and define the transactionManager. TransactionImpl classes calls the service method under the transactionManager. Added beans for Transaction layer.