Advanced Hibernate training Pt. II

Today the training continued, full speed ahead. We covered some really handy topics like:

  • Queries, Criteria API, Filters
  • Application design with Hibernate
  • Performance tuning
  • Deployment
  • Caching

I found it quite usefull to have an in-depth view on the way the second level cache (and thus query cache) work. Application design was primarely focussed on using EJB3 for what we call the service tier; the Hibernate guys REALLY don’t like Spring.

I put forward some of the concepts we used in the current model, and the primary advice was: don’t go wild on inheritance… it will be far more difficult to tune for good performance then a ‘flatter’ model would. Instead of using a persistent supertype Chris would prefer to use interfaces and a composite object holding the shared values; much easier to use… I have to think about that.


2 Responses to “Advanced Hibernate training Pt. II”

  1. 1 erikvanoosten

    >> the Hibernate guys REALLY don’t like Spring

    It is probably more something like: Christian Bauer does not like Spring. Gavin King probably does not care.

  2. 2 peter

    You’re probably right. I must say, I really do like working with Spring in most cases… and am not considering throwing it out at the moment!

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


javaone2008 keynote pub Golden Gate Moscone Center - JavaOne alcatraz Stage being build in the nearby park Joshua Bloch at JavaOne2008 Acme Anvile at CommunityOne Keynote Java + You on a cab Okke en Rudie Scribbled Sun Logo Greenland Community One Keynote Hotel room Charles Nutter & Guillaume Laforge Tim Bray introducing the (J)Ruby panel sea_lion nearby hotel javaone 2008 goodybag Rudie
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.