Skip to main content

Instructor-led training

Fast Track to Spring Framework 3.x and Spring Framework MVC/REST Training in Stamford, Connecticut

This 5 day course is current with Spring 3.2, as well as earlier versions.

What you'll learn

This 5 day course is current with Spring 3.2, as well as earlier versions. It includes complete coverage of the annotation based approach to configuration, as well as coverage of the traditional XML - based configuration that can still play an important role in existing and new projects. Spring is a lightweight Java framework for building enterprise applications. Its Core module allows you to manage the lifecycle of your objects and the dependencies between them via configuration metadata (either XML or annotations) and Dependency Injection / Inversion of Control. Its advanced capabilities provide support for persistence frameworks like Hibernate (DAO and ORM modules), Aspect - Oriented Programming (AOP module), and integration with Java EE Web technologies, security, transactions, and more. This course is current with Spring 3.2, as well as earlier versions. The course includes integration of Spring with Java EE Web applications, and an introduction to Spring's Web MVC. Spring MVC is a Web framework base d on the powerful Model - View - Controller pattern, and the introduction covers the basics of Spring MVC, and how it supports organizing your Web applications in a highly structured, loosely coupled manner. The course now includes an introduction to REST (Representational state transfer) principles, and how to use Spring MVC to build RESTful services.

Prerequisites

A good working knowledge of basic Java programming, interfaces, and JDBC.

Course Outline

1. Introduction to Spring
The Challenge of Enterprise
Applications
Shortcomings of Java/Java EE
What is Spring?
The Spring Modules
The Spring Distribution
Spring Introduction
Managing Beans
A Basic Spring Application
Configuration Metadata
Declaring Beans
The Spring Container
Why Bother?
Dependencies and Dependency Injection
Dependencies between Objects
Dependency Inversion Principle
Advantages of Dependency Injection
Dependency Injection Reduces Coupling

2. More about Bean Properties
Working with Properties
Using Value Based Properties
Property Conversions
Constructor Injection
Constructor Argument
Resolution
Collection Valued Properties
Configuring and
Properties
Configuring Collection of Bean
References
Map Valued Properties
Additional Capabilities
Factory methods, Bean Aliases,
Definition Inheritance
Autowiring

3. The Spring Container and API
Application Context
Resource Access – Overview,
Resource
Implementations
Bean Scope and Lifecycle
Annotation Driven Configuration
Enabling Spring Annotations
Complete Declarations Using
Annotations
XML Config for Annotations and
Scanning
Qualifiers
Lifecycle Annotations
Java - based Configurations
Dependencies Between Configuration
Classes
Classpath Scanning
Other @Bean Capabilities
Maven and Spring
How We will work with Maven
The POM
Repositories
Eclipse/Maven Integrations

4. Database Access with Spring
Overview of Spring database support
Configuring a DataSource
Using Spring with Hibernate
SessionFactory configuration
Using Contextual Sessions
Using Spring with JPA
LocalEntityManagerFactoryBean
JEE: Obtaining an EntityManager from
JNDI
Extended Persistence Context

5. Transactions
Intro to Spring Transaction Management
JTA Transaction Manager
Spring Transactional Scope
Using Spring Transactions
Transaction Attributes for Propagation
Rolling Back and Exceptions
Spring's Load - Time Weaving

6. Web Applications with Spring MVC
Integrating Spring with Java EE Web
Apps, ContextLoaderListener,
WebApplicationContext
Spring Web MVC Overview,
Capabilities, Architecture
Spring MVC Basics
DispatcherServlet, Configuration, MVC
Controllers
Returning Model Data
The JSP Pages
Forms and Command Objects
A JavaBean Command Class

7. Spring Security Overview
Overview - Capabilities,
Architecture
Introduction to Spring Security
HTTP Security
Method Security
Annotation - Based Security
Expression - Based Access
Control
Authentication Providers

8. RESTful Services with Spring
REST Overview
Characteristics and Capabilities
URI Templates
REST vs SOAP
REST and Spring MVC
Spring support for REST
Writing RESTful Controllers
Returning XML and JSON data
Client - side Access to RESTful
Services
Client Requirements and RestTemplate
Using RestTemplate
Accessing Header Info
Common REST Patterns

9. Aspect Oriented Programming
(AOP) (optional)
Overview of AOP
Introduction to Spring AOP
Pointcut Expressions and Advice
XML Based AOP Support
Defining Aspects Using XML
Spring Proxies and Direct
Invocation
Is AOP Worth It?
Other AOP Capabilities and
Functionality

 

Training locations

Fast Track to Spring Framework 3.x and Spring Framework MVC/REST training across the U.S. and beyond.

We provide Fast Track to Spring Framework 3.x and Spring Framework MVC/REST training onsite and live online for organizations throughout the United States and internationally.

View all Fast Track to Spring Framework 3.x and Spring Framework MVC/REST training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • Training for groups of 3 or more
  • Flexible scheduling
  • Experienced instructors
Request a Training Proposal

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.