Courses Offered

Spring & Hibernate

Home >> Training Courses >> Spring & Hibernate
Course Highlights
  1. Explain how the issues associated with object persistence in a relational model are addressed by Hibernate
  2. Understand the relationships between SQL, Java, Spring, and Hibernate
  3. Discuss the challenges of adopting Hibernate in the enterprise
  4. Write applications that take advantage of the Hibernate Persistence Manager.
  5. Map Java classes to relational tables.
  6. Capture both relational and inheritance associations in metadata using either XML or the Java 5 Annotations mechanism.
  7. Create and use mappings between Java classes and relational databases.
  8. Understand how identity and keys are handled in Hibernate.
  9. Understand the persistent object lifecycle and how that relates to transactions and concurrency.
  10. Take advantage of Hibernate's data filtering and interception.
  11. Explain the issues associated with complex frameworks such as J2EE and how Spring addresses those issues
  12. Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications.
  13. Work with Spring's support for transactions
  14. Understand how to use Hibernate within the Spring framework


What you will Learn
Integrating Hibernate and Spring is a five day in-depth course geared for experienced Java developers who need to understand what Hibernate is in terms of today's systems and architectures, and how to apply Hibernate to persistence requirements in Java and J2EE applications. The course then covers to the Spring framework and how to integrate Hibernate as the persistence layer for Spring applications.

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.

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.

Students who attend Integrating Hibernate and Spring (Hibernate Emphasis) 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 framework.

Course Details
Spring Framework
  1. Spring Basics
    • What is Spring Framework
    • Inversion of Control
    • Dependency Injection
    • Bean Factory
    • Developing First Spring Application
  2. Spring Container
    • Built-in Bean Factories
    • Application Context
    • Wiring Beans
    • Bean Lifecycle in Container
    • Spring Events
  3. Spring AOP
    • Introduction to AOP
    • Role of AOP in Spring
    • AOP Advice
    • AOP Pointcuts
    • Spring AOP Introductions
    • ProxyFactoryBean
  4. Spring Data Access
    • Data Access ExceptionsJDBC Abstraction Layer
    • Data Access Exceptions
    • DAO Support
  5. Spring O-R Mapping
    • what is O-R Mapping
    • O-R Mapping support in Spring
    • Hibernate Support / Mapping
  6. Spring Transaction Management
    • Transaction Abstraction in Spring
    • Transaction Strategies
    • Programmatic Transaction
    • Declarative Transaction
  7. Spring Web MVC Framework
    • Web MVC Architecture
    • Role of DispatcherServlet
    • Controller
    • Handler
    • View Resolving
    • Data Binding
    • File Upload Support
  8. Relational Persistence Using Hibernate
    • Introduction to Hibernate
      • Drawbacks of direct JDBC
      • Plain Old Java Object (POJO)
      • What is O-R Mapping
      • Simple Database Application
    • Hibernate Configuration
      • Required JAR Files
      • Hibernate configuration File
      • Hibernate properties File
      • Hibernate XML File
      • SQL Dialects
    • Hibernate Concepts
      • Id and Primary Key
      • Id Generation Methods
      • SessionFactory
      • Session
      • Transaction
      • Developing CRUD Application
    • Hibernate O-R Mapping
      • Mapping Declarations
      • Modeling Composition with Relationship
      • Modeling Composition with Components
      • One-to-One Association
      • One-to-Many Association
      • Many-to-Many Association
      • Uni and Bidirectional Associations
      • Hibernate Value Types
      • Custom Types
    • Manipulating and Querying
      • Persistent Objects
      • Object Loading
      • Executing Queries
      • Iterating Results
      • Scalar Results
      • Bind Parameters
      • Pagination
    • Hibernate Query Language
      • Select clause
      • From clause
      • Where clause
      • Aggregate functions
      • Expressions
      • Sorting
      • Grouping
      • Sub queries
    • Criteria Queries
      • Creating Criteria
      • Narrowing the Result
      • Ordering the Result
    • Native SQL
      • Using SQL Query
      • Named SQL Query
      • Using Stored Procedure for Querying
      • Creating Custom SQL for CRUD
    • Transactions and Concurrency
      • Session and Transaction Scopes
      • Database Transaction Demarcation
      • Optimistic Concurrency Control
      • Pessimistic Concurrency Control
      • Connection Release Modes


Dates and Locations
For Corporate enquiries Submit request

For regular batches at Deccansoft Click Here..

LiveZilla Live Help