Here’s a post from In Relation To about how to improve performance of Hibernate. The session management stuff sounds interesting. I’ll think that what I’m currently doing works out to session-per-request but I need to verify that. There is also an interesting post about locking that mentions a phenomenon I observe all the time: every developer has enough hubris to think they can hack together something like a locking scheme in 30 minutes that will be better than what other people have spent 25 years thinking about. I know that hubris is one of Larry Wall’s virtues of a programmer, but most of the time the people that think these things are just fooling themselves. I’ll admit that although I’m pretty decent, even my best ideas and my most elegant code are not as road tested as products and code that have been in service for years or decades.