Transactions, Spring.
use this example as a jumping-off point to learn more about it. We will take the AOP approach here: <tx:advice id="txAdvice" transaction-manager="txManager"> <! - the transactional semantics… → <tx:attributes> <! - all methods starting with 'get' are read-only → <tx:method name="get*"