What exactly are the real benefits of EJB transaction management over Spring transaction management
Asked
Active
Viewed 1,004 times
0
-
3They do the same thing, transaction management. Some people like JavaEE/EJB, some prefer Spring. – pap Sep 05 '12 at 06:38
-
What exactly do you mean by "EJB / Spring transaction management"? The transaction attributes you can use/define in both cases or the transaction managers functionality / performance? – Piotr Nowicki Sep 18 '12 at 13:27
1 Answers
2
One of the greatest advantages is that in Spring you need to configure transaction management by yourself, while in EJB you simply put annotations. More on EJB vs Spring transactions:

Miljen Mikic
- 14,765
- 8
- 58
- 66
-
I do believe you can configure transaction attributes in Spring with annotations as well. The only additional (configuration) work is to define what transaction manager you want to use in Spring Framework. – Piotr Nowicki Sep 18 '12 at 13:52