Framework ITRONIX CERTIFIED

Spring Hibernate Industrial Training

 

The Need for Hibernate

  1. N-Tier application design
  2. Container vs. stand alone applications
  3. Refresher on traditional JDBC approach
  4. Hibernate installation and setup

Hibernate At a Quick Glance – A Simple Example

  1. Hibernate origin
  2. Hibernate design
  3. Simple but complete example

Association & Collection Mapping

  1. Realizing association relationships
  2. Mapping collections

Components & Inheritance Mapping

  1. Recognizing and implementing components
  2. Hibernate inheritance techniques

Object Lifecycle, Persistence and Session Management

  1. Object States
  2. CUD (no querying)
  3. Session Management

Executing Queries

  1. Binding Parameters
  2. Running Query
  3. Iterating through results
  4. Tuples/Scalar (Returning multiple object types vs. just simple data values)
  5. Externalizing Queries in mapping file
  6. Queries in Native SQL

HQL in Detail and Criteria Queries

  1. The Hibernate Query Language (HQL)
  2. Criteria Queries

Transaction Management

  1. Introduction to Transactions
  2. Optimistic concurrency control (version column)
  3. Pessimistic locking
  4. Connection release

Advanced Hibernate Features

  1. Batch processing
  2. 2nd Level Cache
  3. Fetching strategies

Introduction to Inversion of Control and Aspect Oriented Programming

  1. Brief history/origin on Spring
  2. Design considerations used by Spring authors
  3. Discuss interface-driven development
  4. Overview of Spring architecture components

The Spring IoC Container

  1. Spring configuration
  2. Defining and instantiating beans
  3. Dependency Injection
  4. Bean scope, inheritance and relationships
  5. Lifecycle call backs

Aspects in Spring

  1. AOP Concepts
  2. Advice, Pointcuts and Aspects
  3. AspectJ Annotations
  4. XML configuration of Aspects

Data Access Integration with JDBC

  1. Data sources & connections
  2. JDBC Templates
  3. Batch Operations

Data Access Integration with ORM

  1. Hibernate Template
  2. JPA Template
  3. Walk through simple example from Hibernate lectures with Spring additions

Transaction Management

  1. Attributes of Transaction Management
  2. Declarative Transactions Management
  3. Programmatic Transaction Management
  4. Integration with Application servers

Spring MVC

  1. Dispatcher Servlet
  2. Controllers
  3. Handler Mappings
  4. Views, Locales, Themes
  5. Exception Handling

Spring MVC Integration with Other Presentation Technlogies

  1. JSP & JSTL
  2. Integration with Struts & Tiles
  3. Integration with Struts

Other Enterprise Framework Components

  1. Integration with scheduler components (Java Timer, Quartz)
  2. Thread Pool Management
  3. OXM (Object XML Mapping)
  4. Testing with Spring

Spring – Web Module

  1. Servlets and JSPs: What’s Missing
  2. The MVC Pattern
  3. The Front Controller Pattern
  4. DispatcherServlet
  5. A Request/Response Cycle
  6. The Strategy Pattern
  7. JavaBeans as Web Components
  8. Web Application Contexts
  9. Handler Mappings
  10. “Creating” a Model
  11. View Resolvers

Spring – Validation

  1. Validators
  2. The Errors Object
  3. ValidationUtils
  4. Error Messages and Localization
  5. Nested Property Paths

Form Controllers

  1. Form Controllers
  2. AbstractFormController
  3. SimpleFormController
  4. Spring Custom Tags
  5. <form:form> and Friends
  6. <form:errors>
  7. Reporting Errors

Refining the Handling Cycle

  1. The Intercepting Filter Pattern
  2. Exception Handling
  3. Interceptors
  4. The Decorator Pattern
  5. Context and Lifecycle
  6. Awareness Interfaces
  7. Support and Utility Classes
  8. “Death By XML”

The Persistence Tier

  1. The DAO Pattern
  2. The DaoSupport Hierarchy
  3. The DataAccessException Hierarchy
  4. JDBC DAOs
  5. JdbcTemplate and RowMapper
  6. Object/Relational Mapping
  7. Hibernate® DAOs
  8. Transaction Control
  9. AOP vs. Annotations

Integration with Hibernte

  1. Integration of Hibernate
  2. Hibernate® HibernateDaoSupport
  3. Hibernate® HibernateTemplate
  4. Understanding of Integration with Spring
  5. Best Practices of Spring with Hibernate
  6. Best Practices of Spring
  7. Conclusion Questions and Answer Session