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.

This entry was posted in java. Bookmark the permalink.

2 Responses to Advanced Hibernate training Pt. II

  1. erikvanoosten says:

    >> 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. peter says:

    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

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>