Transactions using execute around method pattern and lambdas

After reading Functional Programming in Java by Venkat Subramaniam, I was really impressed by the execute around method pattern and how great it works together with lambdas. The pattern is popular when handling resources, but also fits other situations where you have common parts. By using this pattern you remove…