Hibernate

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ]

Articles
Examples
Interview Transcripts
  Presentations
Tips
Tutorials
  

Articles:
  • Introduction to Hibernate by Nick Heudecker   - [Clicks: 953]
    This article has given you an introduction to what Hibernate can do. Hibernate delivers a high-performance, open source persistence framework comparable to many of its open source and commercial counterparts. Developers utilizing Hibernate can greatly reduce the amount of time and effort needed to code, test, and deploy applications. However, we've only scratched the surface and I encourage you to explore Hibernate for yourself.
    [This article covers Hibernate 2.1, which was released as a release candidate in December 2003.]
    http://www.systemmobile.com/articles/IntroductionToHibernate.html - Dec, 2003
  • A Simple Data Access Layer using Hibernate by Mario Aquino   - [Clicks: 680]
    Two of those tools, Hibernate and Middlegen, combine to automatically generate an object representation of an entity model. This article has demonstrated a simple data access framework that leverages the strengths of Hibernate while providing a layer of separation so that an application need not be dependent on its data access toolkit. The combination of code generation and toolkit abstraction boosts an application's ability to quickly evolve and adjust as need warrants and more robust solutions become available.
    http://www.ociweb.com/jnb/jnbNov2003.html - Nov, 2003
  • Hibernate in Action: Practical Object/Relational Mapping (Review Project) by Christian Bauer, Gavin King   - [Clicks: 640]
    Hibernate in Action is both an introduction to the theoretical aspects of automated object/relational mapping and a practical guide to the use of Hibernate. The extensive example code implements an online auction application.
    http://www.theserverside.com/resources/HibernateReview.jsp - Aug, 2003
  • Introduction to Hibernate by Nick Heudecker   - [Clicks: 515]
    Hibernate delivers a high-performance, open source persistence framework that can greatly reduce the amount of time and effort needed to code, test, and deploy applications. The introductory article shows you how to create, update, retrieve and delete persistent classes, and how to persist object collections using Hibernate. Source code and mapping documents for an example application have been provided.
    http://www.theserverside.com/resources/article.jsp?l=Hibernate - Jul, 2003 - (PDF - 107 Kb)
  • Using Hibernate to Persist Your Java Objects to IBM DB2 Universal Database by Javid Jamae, Kulvir Singh Bhogal   - [Clicks: 248]
    In this article, we've only scratched the surface of how Hibernate can be used. We presented Hibernate in the context of a few POJOs (Plain Old Java Objects). However, note that the extensive Hibernate API covers more advanced topics such as one-to-many mappings, transactions, and collections. Now that you have your feet wet with Hibernate, you should feel more comfortable about exploring how the open source offering can be used in your programming endeavors.
    http://www7b.software.ibm.com/dmdd/library/techarticle/0306bhogal/0306bhogal.html - Jun, 2003
  • Object to Relational Mapping and Relationships with Hibernate by Mark Eagle   - [Clicks: 765]
    There are several ways to persist data with Java. The persistence layer is one of the most important layers in a Java application. In most cases the persistence store is a relational database. The persistence layer is often not given enough attention in my opinion. This article will touch on some well-known persistence frameworks used in Java. Then we will look at some new persistence frameworks such as Hibernate. Lets start by looking at some of the more well-known frameworks and APIs available.
    http://www.meagle.com:8080/hibernate.jsp - 2003

[Top]

Examples:
  • AdminApp   - [Clicks: 959]
    This Hibernate demo application is a simple Java servlet web application build by the Hibernate team to show how Hibernate might work with WebWork2. … Full source for all actions and JSPs is included, the license is LGPL. You can use this demo as a skeleton for your own Hibernate2 and WebWork2 project.
    [Hibernate2, WebWork2, Tomcat, MySQL]
    http://www.hibernate.org/159.html - Dec, 2003
  • xPetstore by Herve Tchepannou, Brian McSweeney, James Cooley   - [Clicks: 519]
    xPetstore is a re-implementation of Sun Microsystem PetStore based on xDoclet. This demo application demonstrate how to use open source frameworks to build WODRA (Write Once, Deploy and Run Anywhere) J2EE applications.
    [xPetstore has been implemented using 2 differents approaches: 1) A pure EJB solution based on JSP, Struts, Sitemesh, EJB 2.0 and CMP 2.0, 2) A Servlet solution based on Velocity, WebWork, Sitemesh, POJO and Hibernate.]
    http://xpetstore.sourceforge.net/index.html - May, 2003

[Top]

Interview Transcripts:
  • Tech Talk with Gavin King on Hibernate by Gavin King   - [Clicks: 453]
    Gavin talks about how Hibernate got started, why it has become so successful, and some of its best features. He discusses the need for queries vs. traversing object hierarchies in Java, how Hibernate deals with stored procedures, and the importance of transparent persistence. He looks at the biggest challenges he faced building a persistence framework, questions the need for domain models in many applications, gives his opinion on JDO and bytecode manipulation, and describes how Hibernate uses CGLib for dynamic proxying.
    http://www.theserverside.com/events/library.jsp#king - Sep, 2003

[Top]

Presentations:
  • Object/Relational Mapping with Hibernate by Christian Bauer   - [Clicks: 763]
    This presentation was held in Antwerp at JavaPolis in December 2003 by Christian Bauer. It shows why we need object/relational mapping, why Hibernate is the best solution. It contains some slides about Data Transfer Object (DTO) patterns and CarrierWave.
    http://www.hibernate.org/hib_docs/online/javapolis2003_presentation/hibernate_javapolis2003.pdf - Dec, 2003 - (PDF)
  • Object/Relational Mapping with Hibernate by Gavin King   - [Clicks: 532]
    This presentation was held in Denmark at JAOO in October 2003 by Gavin King. It shows the Hibernate basics and describes the Hibernate solutions for common object/relational mapping performance issues.
    http://www.hibernate.org/hib_docs/online/jaoo_presentation/HibernateJAOO.ppt - Oct, 2003 - (PPT)
  • Workshop: Hibernate Toolset by Gavin King, Christian Bauer   - [Clicks: 334]
    This workshop was held at the JAOO conference in Denmark in October 2003. The presentation shows the Hibernate toolset for roundtrip development, including database DDL/schema generation and Java class generation from existing database schemas. The presentation also contains a lab you can walk through, along with the source and build files required. An example database using HSQLDB is included.
    [Download examples]
    http://www.hibernate.org/hib_docs/online/workshop_toolset/presentation/html/ - Oct, 2003
  • Data Persistence Frameworks: An Introduction to Hibernate by Norman Klein   - [Clicks: 579]
    Norman Klein started with a brief introduction to the current landscape of available data persistence frameworks. He then provided introductory level coverage of the Hibernate feature set. Finally, he walked us through some example code using Hibernate in a web application.
    [The slides (500K) from the talk and the example code (1M) are both available for download.]
    http://www.baychi.org/bof/struts/20030903/ - Sep, 2003

[Top]

Tips:

[Top]

Tutorials:
  • Hibernate & Tomcat Quickstart by Christian Bauer   - [Clicks: 1188]
    A tutorial for Hibernate beginners, using Tomcat 4.1 and Hibernate2. Includes example configuration files, a persistent Java class and mapping.
    http://www.hibernate.org/hib_docs/ - Jul, 2003
  • Hibernate relationships by Tom Sedge   - [Clicks: 1063]
    This document aims to record an explain the different types of association and collection mapping that Hibernate supports and the effects of choosing each one, including how to set up the mappings and the tables created.

    We run through each type of relationship, define it for the uninitiated, give an example usage case, and show how to achieve each relationship with Hibernate.

    This document does not pretend to be an exhaustive list Hibernate's capabilities but instead aims to explain the most common relationships. It does not try to recommend any particular approach or judge the merit or performance of each one.
    http://www.xylax.net/hibernate - 2003

[Top]