Canada IT Courses
ExitCertified US




ExitCertified - Excellence in IT Certified Education
 
IT education classes
IT training feature sheet
 
   
 
start > courses and registration > training feature sheet
Applying Hibernate to Persistence in Java :: [TT-3200]
 
 
 
 
 
 
code. TT-3200   length. 4 days
type. Instructor-Led   partner. Other Java :: Development :: Trivera
price.
$1,850 :: contact for GSA GOV.
 
 
Geared for experienced Java developers, this comprehensive, 4 day hands-on course provides an in-depth introduction to Hibernate. With a strong hands-on character and many ready to use practical demos, this course enables developers to put their newly-acquired skills into action, the minute they leave the classroom. Our detailed course materials and student resource CDs server as excellent materials for post-training review as well.
 
course schedule  
 
There are currently no scheduled dates for this course. If you are interested in this course, request a course date with the links below.
   
Request course date Request on site training
 
who can benefit
 
 
This is an intermediate level Java programming course, designed for developers who wish understand and Hibernate for application development.
 
prerequisites
 
 
Students should have at least six months prior Java development experience, including some experience using Server Side technologies (Servlets/JSPs) Students should be comfortable creating a servlet and JSP.
 
hands-on learning
 
 
Throughout the course students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises, and lab review.

This workshop is about 50% hands-on lab and 50% lecture. Multiple detailed lab exercises are laced throughout the course, designed to reinforce fundamental skills and concepts learned in the lessons. Because these lessons, labs and projects are presented in a building block fashion, students will gain a solid understanding of not only the core concepts, but also how all the pieces fit together in a complete application. At the end of each lesson, developers will be tested with a set of review questions to ensure that he/she has fully understands that topic.

Hands-On Labs include:

Map a class (Member) to the database-The objective is to map a class with fields of different types to the database. This will also teach students how to setup the environment
Implement a composition-The objective of this exercise is to understand how to use Hibernate's components
Implement collections-The objective is to understand how to map different collections.
Map different associations-The objective is to map different association types to the database in two real life use cases.
Map specializations-The objective is to understand how to map class inheritance to the database
Implement a service-per-request proxy and work with detached objects-The objective is to understand how to one could implement the service-per-request pattern and how to control the life-cycle of the detached entity.
Transactions and Concurrency-See the effect of optimistic and pessimistic concurrency and how to develop these schemes




 
course content details  
 


  Session: Introduction to Hibernate - Lesson: Introduction to Hibernate

Explain Object to Relational (O/R) Mapping (ORM)
Explain the Hibernate Architecture
List benefits of using Hibernate
Discuss the goals of Hibernate
List key functionalities of Hibernate
List the different Hibernate types (Entities and values)
List different Persistent representations (POJOs, Maps and XML)




  Lesson: Getting started with Hibernate

Understand the nuts and bolts of Hibernate
Understand how to map a class to the database
Understand the configurations involved and their relationships
List different ways of configuring Hibernate
Understand the overall syntax of the Hibernate Configuration file
Understand the overall syntax of a mapping file
Introduce the org.hibernate.SessionFactory
Introduce the org.hibernate.Session
Understand one way of obtain a session using Hibernate contextual sessions
Supply a basic example of using Hibernate




  Session: ORM with Hibernate - Lesson: Basic ORM

Configure persistent classes
Configure persistent state of a class
Understand the requirements on a persistent entity class
Understand Object identity in Hibernate
Understand how to correctly implement equals and hashCode in Hibernate
Discuss object identity and a caveat in hashCode and equals implementations
Discuss different ways of generating unique numbers for keys
Understand how to influence mapping to columns
Understand how to map properties of a class to multiple tables




  Lesson: Value types Collections and Components

Understand how to map composition using Hibernate's components
Understand how to use components as composite identifiers
Understand the different collection types supported
List different element types: simple types, composite types and entities
Understand programming restrictions when using collections
Understand how to map java.util.Set and java.util.List
Understand how to position elements explicitly in the List
Understand how to map java.util.SortedSet
Understand how to correctly use a Comparator
Understand how to map a java.util.Map
Understand how to map the key of the map
Understand Hibernate's bags
Introduce Dynamic components




  Lesson: Entity associations (relations)

List the different types of associations
Understand the difference between uni and bidirectional associations
Understand how to map unidirectional one to one, many to one and one to many associations
Understand how to and when to use join tables
Understand how to map many-to-many associations
Understand how to configure bidirectional associations
Understand how to cascade over associations




  Lesson: Mapping Inheritance

Discuss the three Inheritance ORM strategies
Discuss the Single Table Inheritance Pattern (aka table per class hierarchy)
Discuss the Class Table Inheritance Pattern (aka table per subclass)
Discuss the Concrete Table Inheritance Pattern (aka table per concrete class)
Discuss Hibernate's implicit polymorphism strategy
Understand how to configure these mappings
Understand the concept of a discriminator




  Session: Using persistent Objects - Lesson: Reading, updating and deleting objects

Understand the three object states (Transient, Persistent and detached)
Understand how to transition from the transient to persistent state (IOW how to make objects persistent)
Understand how to retrieve hibernated objects using the primary key
Understand how to retrieve hibernated objects using basic HQL
Understand how to update entities which are in the persistent state (attached updates)
Understand how to transition entities form persistent to detached state
Understand the detached state of an entity
Discuss the briefcase model
Understand how to transition from detached (back) to persistent (IOW how to re-attach detached objects)
Understand the difference between update, merge
Removing entities
Discuss the different cascade options and their impact on entity associations




  Lesson: Transactions

Describe the need for transaction control.
Explain isolation levels.
Discuss the three different ways of demarcating transactions
Understand the different ways of demarcating transaction in a managaed Java EE environment
Understand how to correctly use the contextual session
Use the Hibernate Transaction API to hide transaction implementation
Correctly handle exceptions
Understand Optimistic vs Pessimistic locking schemes
Implement Optimistic concurrency using Hibernate's automatic versioning
Implement Pessimistic concurrency using Lock modes
List different optimistic lock modes supported in Hibernate
Locking using read for update
Understand the read for update scope on association (and how to cascade the lock)




  Appendix - Session: Querying in Hibernate - Lesson: Querying for objects

Introduce two ways of querying (Criteria and HQL)
Understand the basic HQL syntax
Introduce the org.hibernate.Query class
Working with the results of a query
Handling different resultset element types (unique, array of entity, scalar)
Use the relationships between entities in your HQL
Use HQL expressions
Use aggregate functions
Use the group by clause
Understand how to enable Pagination
Use parametrized HQL
Understand the concept of Named Queries
Use the org.hibernate.Criteria to query
Understand how to use Query By Example (QBE)





 
Refresh your IT training.




find a course
 
phone us
 
view course schedule





Refresh your IT training.

 
go to top
Sun Microsystems, Veritas, Oracle, Symantec, and Project Management IT Education Sun Microsystems, Veritas, Oracle, Symantec, and Project Management IT Education
© 2008 ExitCertified. All rights reserved.
terms of use and disclaimer :: privacy policy :: webmaster :: link to us
   
Sacramento Training :: 916.669.3970 | Las Vegas Training :: 1.800.803.EXIT (3948) | San Francisco Training :: 415.975.3948 | San Jose Training :: 408.288.EXIT (3948)
Phoenix, Arizona Training | Los Angeles, California Training | San Diego, California Training | Broomfield, Colorado Training | Fort Lauderdale, Florida Training
Tampa, Florida Training | Atlanta, Georgia | Downers Grove, Illinois | Kansas City, Kansas Training | Portland, Maine Training | Baltimore, Maryland Training | Burlington, Massachusetts Training
Troy, Detroit, Michigan Training | Minneapolis, Minesota Training | St. Louis, Missouri Training | Omaha, Nebraska Training | Edison, New Jersey Training | New York City, New York Training
Raleigh, North Carolina Training | Columbus, Ohio Training | Philadelphia, Pennsylvania Training | Nashville, Tennessee Training | Dallas, Texas Training
Houston, Texas Training | Hampton, Virginia Training | Madison, Wisconsin Training | Seattle, Washington Training

ExitCertified is a global provider of authorized technology training. Some of our popular course topic searches include:

Java Training | J2EE Training | JSP Training | Java Courses | Servlets Training | EJB Training | Struts Training | Networking Courses | Solaris Training
Red Hat Training | SUSE Training | XML Training | Oracle SQL | Oracle PL/SQL | DBA Training | DBA Certification | Oracle Certification
RedHat Training | Solaris Certification | Java Certification | Veritas Certification | PeopleSoft Training | 11g Training | 11g Certification
RedHat Courses | SQL Training | 10g Training | 9i Training | Application Development Training | Certified Training | Corporate Training
Government Training | Course Catalogue | Training Schedule | Certification Training | Project Management Training | Linux Training
Solaris 10 Training | Unix Training | NetBackup Training | Virus Protection Courses | Education Technology Newsletter | zSeries Training
s/390 Training | iSeries Training | DB2 Training | OS/400 Training | AIX Training | Rational Courses | PMI Training | Project Management Training
SeeBeyond Training | Java Composite Application Platform (JCAPS) Training | MySQL Training | MySQL Database Course | Hyperion Training | Fusion Middleware