Self-Paced, Live Online, Classroom Enterprise Training
The Spring and Hibernate training course covers the fundamentals and advanced concepts of Spring and Hibernate frameworks, including dependency injection, AOP, MVC, data access, transaction management, and more. Participants will gain hands-on experience through real-world examples and projects, making them proficient in building robust, scalable, and secure applications.
inperson:
4 days
online:
24 hours
Certified Corporate Trainer
Lifetime Access
Quiz & Assignments
24x7 Support
Real Time Projects
Cost Effective Programs
Objective
Gain an understanding of the benefits of Inversion of Control (IoC) and Dependency Injection Paradigms (DI), particularly when compared to traditional J2EE approaches of wiring business objects.
Understand the benefits of Object-Relational Mapping (ORM) frameworks compared to traditional JDBC-based data persistence approaches.
Learn to use Hibernate (with JPA-annotations) for the persistence layer, including mapping simple and complex entities, configuration, querying, session/transaction management, and tuning techniques.
Learn to use the Spring Framework for the Business and DAO layers, including POJO-based development, transactions, wiring, AOP, and testing techniques.
Learn to use Spring MVC to replace Servlets, get support for binding, validation, navigation, error handling, etc.
Become familiar with Spring WebFlow to model complex user flows in a web application.
Take advantage of the Spring Security framework to set up advanced security controls around a Spring Web application, including authentication, authorization, and data transport security (SSL).
Learn to monitor and tune a Spring/Hibernate-based web application.
Learn to use Eclipse for Java EE to help speed up development efforts.
Learn to automate common development tasks with Ant.
Learn best practices and overall differences between Spring/Hibernate-based applications compared to other solutions.
Target Audience
The target audience for a Spring and Hibernate training course would typically be software developers and programmers who are interested in building enterprise-level applications using these technologies. It may also be useful for architects, project managers, and other IT professionals who want to learn how to build scalable and efficient applications using Spring and Hibernate.
Prerequisites
All participants are expected to have a prior understanding of Java web development, including database access, servlets, and JSPs.
Detailed Outline
Chapter 1: Java EE Development
A review of Java EE (a.k.a. J2EE).
An overview of Java web application development with JDBC and Servlets/JSPs/EL.
An introduction to the Data Access Object (DAO) design pattern.
Understanding the challenges of developing with JDBC and Servlets.
Chapter 2: Hibernate Framework
An overview of Object-Relational Mapping (ORM) frameworks.
An introduction to Hibernate Framework, including its advantages and features.
An overview of EJB3's JPA.
Switching from JDBC to Hibernate.
Installing and configuring Hibernate.
Mapping entities with Hibernate Annotations.
Mapping associations and collections, including one-to-one, one-to-many, and many-to-many relationships.
Understanding directionality in mapping (e.g., bi-directional relationships).
Mapping inheritance with Hibernate and understanding different strategies.
Mapping embedded properties.
Chapter 3: Retrieving data using Hibernate session
Understanding transaction management in Hibernate
Storing entities in Hibernate
Retrieving data from Hibernate using various methods such as Hibernate Query Language (HQL), named queries, Criteria API, and Query by example
Filtering data in Hibernate based on various criteria.
Chapter 4: Entity States and Tuning
Understanding the different states of entities in Hibernate, such as transient, persistent, and detached states.
Tuning Hibernate for optimal performance by using techniques such as monitoring, logging, lazy loading, fetching strategies, and caching.
Best practices for Hibernate development, including practical examples and labs.
Chapter 5: The Spring Framework
An overview of the Spring Framework, including the drawbacks of previous approaches.
An introduction to Inversion of Control (IoC) with Dependency Injection (DI) design patterns and their benefits.
The advantages of Spring, such as programming to interfaces, testability, modularity, etc.
An overview of the Spring Framework as a replacement for EJB.
An introduction to the Spring Container.
Wiring beans with Spring using various techniques, including:
Wiring via XML.
Wiring via Annotations.
Auto-wiring.
Chapter 6: Integrating Spring and Hibernate frameworks
Session management in the context of Spring and Hibernate, including the open-session-in-view (OSIV) strategy.
Transaction management using Spring, including:
Transaction management via Annotations, such as @Transactional.
Transaction management via XML.
Understanding transaction propagation and how it applies in a Spring and Hibernate environment.
Chapter 7: Spring MVC
Understanding Aspect-Oriented Programming (AOP) in Spring.
Overview of the Model-View-Controller (MVC) design pattern.
Overview of Spring MVC as a replacement for Servlets.
Installing and configuring Spring MVC.
Overview of Spring Controllers, including the Controller interface and @Controller annotation, handler mapping strategies, and view resolver strategies.
Understanding Spring MVC data binding and creating custom binding strategies.
Overview of Spring validation with JSR 303 using Hibernate Validator, including using annotations such as @Valid, @NotNone, @Size, @NotEmpty, @Email, etc., and creating custom validation annotations and validators.
Implementing REST on top of Spring MVC.
Implementing conversations on top of Spring WebFlow.
Best practices, examples, and labs.
Chapter 8: Spring Security
Understanding container-managed security and its limitations
Overview of Spring Security framework and its advantages
Transitioning from container-managed security to Spring Security
Installing and configuring Spring Security for a web application
Exposing security context in the application for authentication and authorization purposes
Creating user interfaces that are aware of authentication and authorization using Spring Security tags and expressions
Securing the business layer of the application with JSR 250-style method-based annotations and Spring Security's AOP support.
Related Courses
Do you want to learn more about this training?
Edustreak
Edustreak is one of the fastest growing professionally managed company in Technology, Learning & Consulting. The core team comprises of highly qualified and skilled professionals with global exposure in diverse areas. We offer high quality, cost-effective professional training with delivery par excellence in cutting edge technologies.