Categories
Development

Hibernate Caching

Caching is an essential component in any ORM solution. Without it it is impossible to obtain a decent performance, and without a proper understanding of the mechanisms at work you will get bad performance.

Some products like TopLink will behave extremely weird with improper usage of the cache, and leave you crying. 😉 Do not embark on a ORM project without understanding the internals, especially of the cache, but also the product. Add distribution and synchronization to the mix and you got some nice complexity. 🙂

Two good articles on the internals of Hibernate can be found here:

Of course both are grabbed of the front of hibernate.org. 🙂

Categories
Development

SOA Antipatterns

IBM DeveloperWorks has a good article with common SOA antipatterns here. I’m no big fan of SOA, but that doesn’t mean it doesn’t have a use. It’s just that the hype has to pass and everyone has to realize it’s not something you have to use everywhere. How long did it take with EJBs? 😉

Categories
Development

Spring transaction details

There’s a good in-depth article on Spring transaction handling here.