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


Tim Bray introducing the (J)Ruby panel Stage being build in the nearby park alcatraz Hotel room Moscone Center - JavaOne Scribbled Sun Logo nearby hotel Cable Car line smashmouth Greenland Okke en Rudie Stretched Limo Joshua Bloch at JavaOne2008 javaone2008 keynote Rudie pub Golden Gate Acme Anvile at CommunityOne Keynote golden_gate_warning_sign Charles Nutter & Guillaume Laforge
View more photos >

Categories



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