Thanks for a good article. I thought the example was a good one, but I would like to see some more discussion (in the article) of how you test that the code behaves correctly when there is a rollback. I guess I'll take a look at what happens in run2 and run3 in the source code.
I found figure 4 more usable than the Spring XML listings. Do you have any tips for expressing the rest of the configuration (i.e. the transaction attributes etc) visually?
Two SNAFUs, by the way: Some of the in Listing 6 and Listing 7 Spring XML has got <font color="blue"> tags mixed into it. Also, the indentation of CarManagerImpl.reserveCar makes it look like the final "return" statement is in the same block as the "throw" |