Adam Bien's Weblog
The Cost Of An "Empty" Transaction--Screencast
Is it worth to disable transaction (with e.g.
@TransactionAttribute(TransactionAttributeType.NEVER)) on an EJB method for optimization purposes?
Such micro-optimizations increase the complexity, but what is the actual benefit?
In this following screencast a Servlet was deployed with and without involving a UserTransaction and the performance difference was measured with JMeter.
Thanks for watching!
See you at Java EE Workshops at MUC Airport!
Special Event: Java 8 with Java EE 7: "More Power with Less Code", 13th October, 2014 Tweet Follow @AdamBien