JB167 - JBoss - Hibernate Essentials

Hibernate Essentials tečaj se priporoča Java razvijalcem, ki bi radi podrobno spoznali Hibernate ali Java Persistence API različice objektno relacijske perzistence in implementacije poizvedbenega servisa. Obe implementaciji ponujata zmogljiv nabor API za razvoj objektno orientiranih perzistentnih razredov. Obe prav tako uporabljata asociacije, polimorfizem, dedovanje, kompozicije in zbirke (collections) perzistentinh razredov. Za popolno izrabo implementacij lé teh, se bo udeleženec tudi naučil načina izdelave in izvajanja SQL poizvedb z EJB-QL, s prenosljivim Hibernate SQL dodatkom (HQL), osnovnim SQL in z uporabo objektno orientiranega Criteria and Example API.

Tečaj se odvija v angleškem jeziku. Vsebinski sklopi so:

Understanding object/relational persistence

In this module persistent data management in the context of object-oriented applications is defined. The relationship of SQL, JDBC and Java, specifically the underlying technologies and standards that Hibernate is built upon, are discussed. The software development challenges that embody the "object/relational paradigm mismatch" are individually identified. Additional generic problems that are encountered when creating object-oriented software clients to relational databases are also discussed. This module concludes with presenting the basic concepts of object/relational mapping and the capabilities provided by Hibernate.

Getting started with Hibernate

This module provides the student with the information necessary to complete a simple Hibernate project. The student will be exposed to the Hibernate core programming interfaces and will then be shown how to integrate a Hibernate application with "non- managed" and "managed" environments.

Mapping Persistent Classes

This module explains how to map the Plain Ordinary (Old) Java Objects of a rich domain model to Hibernate metadata. Mapping class inheritance hierarchies and fine-grained models will also be discussed. The module will conclude with an introduction to class association mappings.

Working with Persistent Objects

In this module, the student will learn about The lifecycle, or the various "states" of persistent objects in a Hibernate application. The student will begin working with the Session persistence manager and understanding transitive persistence.

Transactions and Concurrency

In this module, the student will learn how long-running application transactions can be associated with the Hibernate notion of a "unit of work". Database transactions and locking will be discussed in the context of a long-running application transaction.

Advanced Mapping Concepts

The Hibernate type system and how it can be extended to create custom mapping types is one of the topics explained in this module. The student is provided an introductory overview of advanced mapping concepts such as collection mapping and how to map one-to-one and many-to-many associations.

Retrieving Objects

In this module, the student is introduced to the basic concepts, concerns and means of retrieving object state from persistent store with Hibernate. This section introduces the student to fetching strategies and how to discern and solve the "n+1" Selects problem.

Queries

HQL, criteria, and native SQL queries are covered in detail. Once these foundational APIs are presented, the student is shown advanced reporting techniques, the use of dynamic queries and how to optimize runtime fetching.

Caching

In this module, an explanation for the use of cache is provided. The student will learn about use of Hibernate first- and second-level cache and will be shown how the caching system is used in practice through examples from the CaveatEmptor application.

Application Design and Architecture

In this module, the student is introduced to some foundational best practices for writing layered applications with Hibernate. This section will address the use of Servlets and integration with Hibernate and EJBs in managed environments. Creating implementations using application transactions, handling legacy data and using audit logging are practices which are also addressed.

The Hibernate Toolset

This module is an introductory overview of the use of the Hibernate toolset and how it can be used in application development with Hibernate. The student will learn about automatic database schema generation and POJO code generation techniques. Importing legacy schemas with Middlegen and attribute-oriented programming with tools such as XDoclet will also be addressed. Hibernate, Java Persistence and EJB3
This module is an introductory overview of the standardized Java Persistence API and its use with the EJB3 component framework. The student will be introduced to the Java Persistence API and will be provided a comparison of equivalent capabilities of the Hibernate API. The module then shows the use of the JPA in a managed environment using the new EJB3 POJO-based component framework. The student will be shown how to write applications with the JPA via the new EJB3 Session and Entity Bean interfaces.
 

Prijava

Trajanje: 3 dni
Lokacija: Housing Co. d.o.o., Vodovodna 100, 1000 Ljubljana

Potek tečaja

Pričetek tečaja: 9:00
Konec tečaja: 16:30-17:00 p.m. (odvisno od poteka)

Cena: 2.290 EUR + DDV

Več informacij...

Komu je tečaj namenjen?

Hibernate Essentials je namenjen Java razvijalcem, ki morajo obvladati Hibernate al Java Persistence API objektno relacijske perzistence in implementacije poizvedbenega servisa. Ciljna skupina so Java razvijalci, ki delajo z SQL podatkovnimi bazami, razvijalci za podatkovne baze, ki si želijo spoznati objektno orientiran razvoj programov. Tudi administratorjem podatkovnih baz, ki jih zanima kako ORM vpliva na zmogljivosti podatkovnih baz in kako nastaviti SQL baze in perzistentne plasti za čimvišje zmogljivosti, bo tečaj zanimiv. Tečaj pokrije JBoss implementacijo JSR-220 podspecifikacije Java Persistence in razloži osnovne API verzije 3.x JBoss Hibernate produkta, na kratko Hibernate 3.

Hibernate Essentials tečaj je predpogoj za udeležbo na RHD267 - Advanced Hibernate Course. Tečajnik mora obiskati tečaj Hibernate Essentials, ali pa imeti primerljive izkušnje, preden se udeleži Advanced Hibernate tečaja.

Predznanje

  • Razumevanje relacijskega perzistentnega modela
  • Dobro znanje Java jezika
  • Poznavanje OOAD konceptov
  • Prepoznavanje UML
  • Izkušnje z SQL dialekti
  • Uporaba JDK in izdelava potrebnega okolja za prevajanje in poganjanje Java programov iz ukazne vrstice
  • Razumevanje JDB
  • Predznanje J2EE ali Hibernate ni potrebno. Tečaj se izvaja na Hibernate 3.2.


 Literatura

Udeleženci prejmejo uradno JBoss literaturo.