US / UK-EMEA / Contact Ask DevelopMentor a Question800.699.1932

Integrating Spring 3.0 and Hibernate (Spring Emphasis) Training

(FW1157) 5 Day Course, $2495
 
Upcoming Classes:

What You Will Learn

Course Highlights

Course Details

Dates & Locations

Integrating Spring 3.0 & Hibernate (Spring Emphasis) is an in-depth Spring and Hibernate training course geared for experienced Java developers who need to understand what Spring Framework is in terms of today's systems and architectures, and how to use Spring in conjunction with other technologies and frameworks. The course explores the Hibernate framework and how to apply Hibernate to persistence requirements in Java and J2EE applications. Students will also learn how to integrate Hibernate as the persistence layer for Spring applications.


The Spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion. Spring's flexibility and transparency is congruent and supportive of incremental development and testing. The framework's structure supports the layering of functionality such as persistence, transactions, view-oriented frameworks, and enterprise systems and capabilities. Spring's Aspect-Oriented Programming (AOP) framework enables developers to declaratively apply common features and capabilities across data types in a transparent fashion.


Spring makes J2EE development easier. Spring simplifies commons tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many J2EE design patterns. Spring puts the OO design back into your J2EE application, and it integrates nicely with JSF.


Hibernate is a powerful enabler that addresses object/relational persistence in the Java world. Hibernate offers all the advantages of developing in Java plus a comprehensive suite of capabilities for mapping object-oriented features to the relational model. This course tells you what you need to know to design and build your own Hibernate-enabled applications. You'll learn the details of the key Hibernate capabilities and how to leverage their strengths, with a special focus on using Hibernate with the Spring framework. If you want to deliver an application using Hibernate within the Spring 3.0 framework, you'll find this course essential.

What You Will Learn

Course Highlights

Course Details

Dates & Locations

Students who attend Integrating Spring 3.0 and Hibernate will leave the course armed with the required skills to design and implement Spring applications that effectively and transparently use Hibernate to manage data persistence. This course provides coverage of Hibernate concepts and practices for interacting between Java and relational databases.

The areas addressed in this course range from data/class mapping and persisted object lifecycle and management to how Hibernate can be used in the Spring 3.0 framework.


Working in a dynamic, lab-intensive hands-on coding environment, students will learn to:

  • Explain the issues associated with complex frameworks such as J2EE and how Spring addresses those issues
  • Understand the relationships between Spring and J2EE, AOP, IOC, JDBC, Hibernate, JSF, Struts, JMS, and EJBs.
  • Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications.
  • Work with Spring's support for transactions
  • Explain how the issues associated with object persistence in a relational model are addressed by Hibernate
  • Understand the relationships between SQL, Java, Spring, and Hibernate
  • Write applications that take advantage of the Hibernate Persistence Manager.
  • Map Java classes to relational tables.
  • Capture both relational and inheritance associations in metadata using either XML or the Java 5 Annotations mechanism.
  • Create and use mappings between Java classes and relational databases.
  • Understand how identity and keys are handled in Hibernate.
  • Understand the persistent object lifecycle and how that relates to transactions and concurrency.
  • Understand how to use Hibernate within the Spring framework

The course provides a solid foundation in essential terminology and concepts, extended and built upon throughout the engagement. Processes and best practices are discussed and illustrated through both discussions and group activities.


Attending students will be led through a series of advanced topics comprised of integrated lectures, extensive hands-on lab exercises, group discussions and comprehensive demonstrations. Please see below for additional information about the hands-on lab work.

What You Will Learn

Course Highlights

Course Details

Dates & Locations

Session: Introduction to the Spring 3.0 Framework

  • Understanding the value of Spring
  • Spring Overview
    • Goals
    • Features
    • Inversion of Control
    • Dependency Injection (DI)
    • DI and Testing
  • Spring Application Architectures
  • Spring Container
    • Managing the Container
    • Access to Services and Resources
    • Application Contexts
  • Beans as Components
    • Beans and Factories
    • XML Bean Configuration
    • Bean Definition and Dependencies
    • Autowiring
    • Bean Lifecycle
    • Factory Beans
  • Customization Options
    • Post-Processors
  • Property Editors
  • Data Handling
    • Validation using the Spring Validator
    • Type Conversion using Converters
    • Formatting using Formatters
  • Spring Expression Language (SPEL)
    • Using SPEL
    • Evaluating Expressions
    • Language Constructs
    • Operators and Assignment
    • Variables and Functions

Session: Data Access

  • Data Access Pattern
    • Overview of Persistence Layer and Transactions
    • Spring DAO
    • DAO Implementations
    • Transaction Overview
    • Spring Transactions
    • Isolation Levels
    • Propagation Behaviors
    • Defining Spring Transactions
      • Programmatic
      • Declarative in Config Files
      • Using Annotations and Config Files
    • Working with Demarcation
    • Managing Spring Transactions
  • Spring JDBC
    • Spring JDBC Architecture
    • Managing DataSources
    • JDBC DAO Support
    • Working with JDBC Template
    • Database Operations
    • Handling JDBC Exceptions

Session: Spring Views

  • Spring/Web Framework Architecture
  • Spring MVC
    • Spring MVC Architecture
    • Spring MVC Components
    • Spring MVC Flow
    • Dispatcher and Controllers
    • Handlers and Mapping
    • Interceptors
    • Views and ViewResolvers
    • Work Flow
    • Validation

Session: Introduction to Hibernate

  • ORM Mapping Issues
  • Hibernate Architecture
  • Persistence, Identity, and Equality in Hibernate
  • Domain Models and Metadata Options
  • Options for Representing Persistence

Session: Getting Started with Hibernate

  • Basic Mapping
    • Class/properties to Table/Columns
  • Basic Configuration
  • Mapping a POJO to a Database
  • Syntax of mapping file
  • Basics of Hibernate Session
  • Working with Persisted Objects

Session: Basic ORM in Hibernate

  • Configuring persistence
  • Object Identity in Hibernate
  • Generating Unique Keys
  • Mapping Classes to Multiple Tables

Session: Value-Type Collections and Components

  • Element Types
  • Mapping Compositions
  • Mapping Java Collections
  • Bags and Dynamic Components

Session: Mapping Inheritance

  • Strategies for Inheritance ORM
  • Single, Class, and Concrete Table Patterns
  • Discriminators

Session: Hibernate Annotations

  • Working with Hibernate Annotations
  • Annotation-Capable Sessions
  • Annotations and Persistence
  • Annotations, Mapping, and Relationships

Session: Working with Persistent Objects

  • Transient, Persistent, and Detached
  • Transitioning Between States
  • Options for Retrieving Objects
  • Attached and Detached States
  • Update, Merge, and Cascade

Session: Querying for Objects

  • Hibernate Query API
  • Hibernate Query Language (HQL)
  • HQL Syntax and Usage
  • Criteria

Session: Integrating Spring and Hibernate

  • Spring - Hibernate Support
  • Session and Connection Management
  • Hibernate DAOs
  • Hibernate Template

What You Will Learn

Course Highlights

Course Details

Dates & Locations

Upcoming Dates & Locations

There are no upcoming scheduled engagments of this course. We can schedule an on-site event at your convenience.
Ready?
Connect
Signup for our Free Newsletter!
Latest news
Twitter Feed MORE
There is something to this statement: Why Quit? Because They Have Bigger Monitors http://t.co/9FrGETG5 #dm (via @mkennedy)
19 hours ago (details)
Essential RESTful Services Training. The new #REST course @BrockLAllen and myself where working on is online. http://t.co/XXhGN5JP #dm ^MdB
2 days ago (details)
Testimonials
  • Mark Smith did a great job and was very helpful when asked questions or when I asked for assistance. Chris C.