Instructor-led training
Fast Track to Spring Framework 3 and Spring Framework Web Flow 2.1 Training in Horseheads, New York
Spring is a lightweight Java framework for building enterprise applications.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Horseheads, New York or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
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
Some Bean Classes
Configuration Metadata
Fast Track to Spring 3
and Spring Web Flow
Declaring Beans
The Spring Container
Working with Spring
Why Bother?
Some BeanFactory Methods
Dependencies and Dependency Injection
Dependencies Between Objects
Dependency Inversion Principal
Dependency Injection (DI) in Spring
Dependency Injection Configuration
Advantages of Dependency Injection
Dependency Injection Reduces Coupling
More about Bean Properties
Working with Properties
Configuring Value Based Properties
Using Value Based Properties
Property Conversions
Constructor Injections
Constructor Argument Resolution
Setter Injection vs. Constructor Injection
Collection Valued Properties
Working with Collections
Configuring and Properties
Configuring Collections of Bean References
Map Valued Properties
java.util.Properties Valued Properties
Additional Capabilities
Factory Methods
Instance Factory Methods
Bean Aliases
Bean Definition Inheritance
Autowiring
Autowiring byType
Pros and Cons of Autowiring
To Autowire or Not to Autowire
The Spring Container and API
ApplicationContext
ApplicationContext Interface
ApplicationContext Implementations
Constructors
Using an ApplicationContext
Spring Resource Access
Built-in Resource Implementations
Bean Scope and Lifecycle
Bean Scope
Specifying Bean Scope
Inner Beans
Compound Names
Depends On
Bean Creation Lifecycle
Bean Creation Lifecycle Details
Using the Lifecycle Interfaces for Beans
Bean Destruction Lifecycle
BeanPostProcessor
@PostConstruct and @PreDestroy
Event Handling
MessageSources
Issues with Messages
Resource Bundles
Defining Resource Bundles
Using Resource Bundles and MessageSource
Localization/Internationalization
Paramaterizing Messages
Annotation Driven Configuration
Annotations in Spring
Enabling Spring Annotations
@Component and Auto-Detecting Beans
DI Using @Resource
Complete Declarations Using Annotations
Other Stereotype Annotations
@Resource Additional Uses
@AutoWired
Qualififers
Lifecycle Annotations
XML Config Annotations and Scanning
Annotation Configuration Pro / Con
A Note on the XML Configuration
A Brief Note on Annotations
Java-Based Configuration
Java Configuration overview
Using Java-Based Configuration
Dependency Injection
More on How it Works
Dependencies Between Configuration Classes
Other Usage Scenarios
Classpath Scanning
Other @Bean Capabilities
Java-Based Configuration Pro / Con
Other Capabilities
SpEL Spring Expression Language
Other SpEL Capabilities
Validation
Using Validation
Configuring Validation
Validation Constraints
Additional Capabilities
Database Access with Spring
Issues with JDBC
Problems Using JDBC Directly
Let's Review Some Simple JDBC Usage
Simple Query on the Database
Problems with the Previous Approach
Spring Support for the DAO Pattern
Spring DAO Support
The Spring Database API
The JdbcTemplate Class
The JdbcDaoSupport Class
DataSources
Spring Jdbc Exception Hierarchy
DAO Based on Spring Classes
Configuring a DataSource
Looking up a DataSource in JNDI
Building a DAO Without the Support Class
Queries and Updates
Querying with JdbcTemplate
Mapping Result Rows to Objects
Defining a RowMapper Class
Inserting/Updating
Other Kinds of Query Methods
The SimpleJdbcTemplate Class
Hibernate Overview
Typical Hibernate Configuration File
Using Hibernate Directly
Spring Support for Hibernate
Template Support for Hibernate
LocalSessionFactoryBean
Configuring a Hibernate Session Factory
Contextual Sessions
Spring Free DAO
What Approach to Use
Using Spring with JPA
Template Support for JPA
Support for Managing EntityManager
LocalEntityManagerFactoryBean
Obtaining an EntityManager from JNDI
LocalContainerEntityManagerFactory
Bean
Container-Managed EntityManager
Additional Spring Configuration
JPA Data Access Object
Extended Persistence Context Aspect Oriented Programming
AOP Overview
The Issue with Crosscutting Concerns
Crosscutting Illustrated
Aspect Oriented Programming (AOP) Defined
Spring AOP Introduction
Spring AOP with AspectJ Annotations
Defining an Aspect with @AspectJ
Defining a Pointcut
Defining Advice
Configuring Spring
A Program that Triggers Advice
More on How Spring AOP Works
Pointcut Expressions and Advice
Pointcut Expressions
Other Designators Available in Spring AOP
Combining Pointcut Expressions
Kinds of Advice
XML Based AOP Support
Defining Aspects Using XML
Specifying Advice with XML
Other Considerations
Spring Proxies and Direct Invocation
More on Spring Proxies
Issues with AOP
Is AOP Worth It
Other AOP Capabilities and Functionality
Transactions
Transaction Managers
Configuring Transaction Managers
JTA Transaction Manager
Spring Declarative Transaction Management
Transactional Scope
Transaction Attributes for Propagation
MANDATORY
NESTED
NEVER
NOT_SUPPORTED
REQUIRED
REQUIRES_NEW
SUPPORTS
Transaction Attributes Some Choices
Specifying Transaction Attributes
Additional Transactional Attributes
Rolling Back and Exceptions
XML Configuration
Specifying Transactions Using XML
Linking Advice with Pointcuts
Attributes
Web Applications with Spring MVC
Integration with Java EE
Spring and Java EE
Java EE Web Applications
Web Application Structure
Web Application Components
ApplicationContext and Web Apps
Configuring ContextLoaderListener
Using the Application Context
Spring MVC Basics
What is Spring MVC?
MVC Architecture
MVC Pattern Flow
Spring MVC Architecture
Simple Search App Model Servlets/JSP
Simple Search App Model Spring MVC
DispatcherServlet
DispatcherServlet Initialization
Controllers
Very Simple Controller
Control Flow
@RequestParam Parameter Binding
Returning Model Data
The Associated JSP Pages
Other Handler Method Capabilities
View Resolvers
Controller with Logical Names
Other View Resolvers
Forms and Command Objects
Spring MVC Form Tags
A JavaBean Command Class
Working with Model Classes
Request Handling Flow
Expsosing Reference Data in the Model
Pre-Annotation Based Configuration
MVC Without Annotations
Command Controllers
Configuring the Command Controller
Working with Forms
Defining a FormController
Configuring a Form Controller
Rendering the Form via Spring MVC
HandlerMappings
Summary Non-Annotation Method
Spring Security Overview
Spring Security
Spring Web Security web.xml
Spring Web Security Spring Configuration
More Capabilities
Other Authentication Providers
Method Security
Method Security Annotations
Method Security Pointcut Expressions
Method Security XML Configuration
Introducing Spring Web Flow 2
Spring Web Flow Overview
The Need for Spring Web Flow
What is Spring Web Flow?
Benefits of Spring Web Flow
Overview of Flow in SWF
Elements of a Flow
Defining a Flow
Defining Flows
Elements of a Flow Definition
How a Flow Works Start State
How a Flow Works Transition
How a Flow Works End State
How a Flow Works Web Pages
Leaving a Flow
Basic System Configuration
Configuring Spring Web Flow
Configuring a Flow Registry
Integrating with Spring MVC
Customizing the Flow Registry
Complete Application Context Configuration
Working with Data and Actions
Data Available to a Flow
Flow Instance Variables in Flow Definitions
Binding Model Objects to Views
View Pages and Model Binding
Flow Inputs in Flow Definitions
Actions and Programming in Flow Definitions
Examining an Action:
More on Spring Web Flow 2
The Spring Expression Language
EL Syntax
More of SpEL Expressions
EL Literals and Implicit Objects
EL Implicit Objects
Flow Control Using EL Expressions
Data Scopes
Variable Scopes
POST REDIRECT GET Idiom
Request vs. Flash Scope
Flow Scope
Conversation Scope, and Subflows
Session Scope
Accessing the Scopes Within a Flow
Flow Language Elements
Overview of Language Elements
Overview of Action Related Elements
Overview of Other Elements
Routing
decision-state
on-* Actions
Configuring Security
Programming with Spring Web Flow 2
Creating Custom Actions
Programming Your Own Actions
The RequestContext
The ExternalContext
Using a Custom Action
Validation and Error Reporting
Validating a Model
Defining a Validator Method in the Model
Validation and ValidationContext
The MessageContext
Using Validation
Validation at Work
Defining a Validator Class
Resource Bundles
Parameterizing Error Messages
Converters
Data Conversion in Spring Web Flow
Defining a Converter
Registering a Converter
Using Subflows
Branching on Subflow End-State
Using Input/Output Variables
Using Conversation Scope
When to Use Subflows
Why container-managed code is hard to debug and reason about
Most students arrive able to write the Java. What slows them down is that Spring decides when objects are built, wired, wrapped and discarded, so a mistake often surfaces as a startup failure or an unexpected runtime behavior rather than a compile error. The syllabus layers the ideas so each one rests on the last.
- Wiring first. Dependency injection, constructor versus setter injection, collection and map properties, factory methods, bean definition inheritance and autowiring byType come before anything else. The ApplicationContext, bean scope, creation and destruction lifecycle,
BeanPostProcessor, message sources and resource bundles follow. - Three configuration styles. The course covers XML metadata, annotation-driven configuration (
@Component,@Autowired, qualifiers,@Resource) and Java-based configuration with@Bean. Each section includes a pro/con discussion. A common misconception is that one style replaces the others. Existing codebases frequently mix them. - Proxies behind AOP and transactions. Pointcut expressions, kinds of advice and the
@AspectJand XML approaches lead into declarative transactions. The syllabus lists the propagation attributes (REQUIRED, REQUIRES_NEW, NESTED, MANDATORY, SUPPORTS, NOT_SUPPORTED, NEVER) and rollback rules tied to exceptions. Because advice runs through proxies, the syllabus's "Spring Proxies and Direct Invocation" topic explains why a call made inside the same object may skip the advice. - Persistence choices. JdbcTemplate with RowMapper, Hibernate session factories and contextual sessions, and JPA EntityManager configuration are all covered. The hard part is choosing among them and understanding what Spring manages in each.
- Web Flow state. Flows are state machines with variables in several scopes: request, flash, flow, conversation and session. Together with the POST REDIRECT GET idiom and subflows with input/output variables, this is where students most often misplace data.
Who it suits and where it fits in a learning path
The course is labeled introductory to Spring, but it assumes a good working knowledge of basic Java, JDBC and Servlets/JSP. It suits developers who maintain or extend Spring 3-style applications, and teams who need one week that spans the container, data access, AOP, transactions, Spring MVC, an introduction to Spring Security and Web Flow. If your Java foundations need work first, the Java Programming courses and learning guide is the place to start.
After this course, a team that wants a deeper treatment of object-relational mapping can look at Fast Track to Spring Framework 3 and Hibernate, because here Hibernate and JPA are one section among many. A team that is moving to a later Spring generation can look at Introduction to Spring 4, Spring MVC, and Spring REST. Organizations that work with other versions can request a training proposal for private training tailored to the releases they run.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Replacing hand-written JDBC. A team might have DAOs full of connection handling and try/finally blocks. The syllabus's JdbcTemplate, RowMapper, DataSource configuration (including a JNDI lookup) and Spring JDBC exception hierarchy show how to reduce that code. Constructor and setter injection then let them swap test and production data sources.
- Auditing and transaction boundaries. For example, a service might need an audit record to survive even when the business operation rolls back. That calls for a pointcut-driven aspect and a deliberate choice of propagation attribute such as REQUIRES_NEW. The rollback-and-exceptions topic shows which failures trigger a rollback.
- A multi-step web wizard. A team building a multi-page application might model the steps as a flow with states, transitions and a decision-state, keep working data in flow or conversation scope, and split a sub-process into a subflow. Validators, converters and message bundles then handle input checking and error text.
Using AI coding assistants with these topics
AI coding assistants are useful for scaffolding: drafting a bean class, an XML bean definition, a RowMapper, a simple controller or a first-pass JUnit test. They also help explain unfamiliar legacy configuration.
They are weakest where Spring behavior is implicit. Typical failures include:
- mixing configuration styles or API generations, for example suggesting newer idioms in a project built around Spring 3 and XML;
- choosing the wrong transaction propagation or missing a rollback rule;
- writing pointcut expressions that match too much or nothing;
- ignoring that a self-invocation bypasses the proxy;
- putting data in the wrong flow scope.
Verify by running the code. Start an ApplicationContext in a test to catch wiring errors. Assert actual commit and rollback behavior against a test database. Confirm that advice fires on the intended methods. Walk each flow through its transitions, including the browser refresh case that POST REDIRECT GET exists to handle. Review any generated security configuration by hand against the framework version in use.
Frequently asked questions
Is this an introductory course?
It introduces Spring, but it assumes a good working knowledge of basic Java, JDBC and Servlets/JSP. The pace covers the core container through Web Flow in five days.
What does it cover beyond the Spring container?
The syllabus includes JDBC, Hibernate and JPA support, AOP with @AspectJ and XML, declarative transactions, integration with Java EE web applications, Spring MVC basics, an overview of Spring Security (web and method security) and Spring Web Flow 2 in depth.
Does it cover annotations or only XML?
Both. It teaches XML configuration, annotation-driven configuration and Java-based configuration, and compares their trade-offs.
Can this be delivered privately for our team, onsite or online?
Yes. HSG provides private training for organizations, delivered at the client's location or live online.
Can the content be customized to our environment?
Private courses can be customized and tailored to the technology versions an organization uses. You can request a training proposal to discuss your needs.
HSG Technology & Workforce Intelligence
Most relevant to Fast Track to Spring Framework 3 and Spring Framework Web Flow 2.1
- Software developers, employment: 80 (May 2025; U.S. Bureau of Labor Statistics)
- Software developers, concentration relative to the U.S. (location quotient): 0.23 (May 2025; U.S. Bureau of Labor Statistics)
- Computer systems design and related services, employment (private sector, by place of work): 99 (2024 annual average; U.S. Bureau of Labor Statistics)
- Computer systems design and related services, employment concentration relative to the U.S. (location quotient): 0.19 (2024 annual average; U.S. Bureau of Labor Statistics)
Selected for this course from the verified data in the section below.
Key findings for Java
- The official data measures occupations, industries and degrees, not programming languages, so it cannot count Java work in the Elmira, NY metropolitan area. The Java evidence we found is educational: Elmira College and SUNY Corning Community College (in nearby Corning, NY) teach it. We found no employer-adoption or job-posting evidence for the area.
- In our reading, Java's typical uses (back-end systems, web services, integration middleware) fit this area best as a skill for internal tools and business systems that support its engineering and manufacturing base, not for a large software-vendor sector.
- Computer and mathematical occupations had a median annual wage of $79,250 in the Elmira, NY metropolitan area (May 2025), against $47,850 for all occupations.
- Software developers had a concentration of 0.23 relative to the U.S. in the area (May 2025), against 1.08 for New York State. In a smaller market, portable skills matter.
- Skills worth building include current Java releases, JUnit testing, REST services with JAX-RS or Spring Boot, and continuous integration.
Workforce: occupations, industries and pay
Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025, with a concentration of 0.42 relative to the U.S. This is a small technology labor market that pays well locally. Software developers numbered 80 (concentration 0.23), while network and computer systems administrators numbered 70 with a concentration of 1.03 and a median annual wage of $97,950. In our reading, anyone using Java here is often working near operations and systems support as well as in application development.
Talent and education pipeline
Among bachelor's degree holders in the Elmira, NY metropolitan area, 3.3% hold a degree in computers, mathematics or statistics (ACS 2020-2024 5-year), against 5.1% for the United States. The only mathematics and statistics degree recorded for the 2023-24 academic year was one bachelor's degree, awarded by Elmira College. Graduate counts are a signal to watch, not a promise of hiring. Java instruction at Elmira College and SUNY Corning suggests some local exposure to the language at the entry level.
Economy and investment
The area's economy leans toward making things. Manufacturing employment had a concentration of 1.67 relative to the U.S. (2024 annual average), and computer and electronic product manufacturing employed 387 people, up 10.9% from 349 between the 2019 and 2024 annual averages. Computer systems design and related services employed 99 people, with a concentration of 0.19. Software publishers' establishments rose from 1 to 4 over the same period, a small base worth watching. Real GDP changed -3.2% from 2018 to 2023.
How Elmira compares
| Area | Bachelor's or higher (ACS 2020-2024 5-year) | Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year) | Computer and math jobs, LQ (May 2025) | Software developers, LQ (May 2025) | Computer systems design industry, LQ (2024 annual average) |
|---|---|---|---|---|---|
| Elmira, NY | 27.2% | 3.3% | 0.42 | 0.23 | 0.19 |
| United States | 35.7% | 5.1% | 1.00 | 1.00 | 1.00 |
| New York State | 40.2% | 5.0% | 0.96 | 1.08 | 0.79 |
| Columbus, IN | 34.1% | 5.2% | 0.55 | 0.53 | 0.60 |
| Kokomo, IN | 20.8% | 3.2% | 0.25 | 0.15 | 0.14 |
| Midland, MI | 36.6% | 5.1% | 0.69 | 0.41 | 0.07 |
| Casper, WY | 27.7% | 3.5% | 0.33 | 0.35 | 0.25 |
| Great Falls, MT | 28.4% | 2.9% | 0.44 | 0.18 | 0.21 |
LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.
Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.
Skills and technology fit
This part is HSG's interpretation of the data above for people learning Java. The official sources measure occupations, industries and degrees, not programming languages.
Why Java fits this regional economy. In our reading, the area's strength in production work (a concentration of 1.59 for production occupations, May 2025) and industrial engineering (1.61) points to demand for dependable software around plants and suppliers: order and inventory systems, integrations between machines and business applications, and reporting. Java is widely used for this kind of long-lived back-end and middleware work. The small developer base (80 software developers) suggests many such roles are combined with systems administration or support, or are filled by remote or regional teams. This is interpretation, not a count of Java jobs.
Evidence of Java in the area. The evidence is educational. Elmira College lists COMP 2036 Object Oriented Programming as taught in Java, though an earlier version of the listing said Python, so the language may vary by term. Its online career-training programs name Java, C# and HTML5. In nearby Corning, NY, SUNY Corning Community College's catalog lists CSCS 2420 Java Programming, and its non-credit career training also names Java. These show that Java is taught locally. They do not show employer adoption, and we found no local postings.
Frameworks and skills worth investigating. For business and integration work, Spring Boot and Jakarta EE (JAX-RS, JPA, servlets) are worth investigating, along with Hibernate, Maven or Gradle, JUnit, and Tomcat or WildFly. Upgrading long-lived applications across Java versions is a common challenge, and it suits organizations with older internal systems. Our Java Enterprise Edition training and Spring training pages cover these frameworks.
Emerging areas worth watching. Java's six-month release cadence with regular LTS releases, records, pattern matching and virtual threads are worth watching, as are the Spring Boot and Jakarta EE namespace migrations. Employers with older applications may care about these migrations. The official dev.java learning site tracks current language features.
Improving your prospects. Build from fundamentals to database access (JDBC/JPA), then REST services and automated testing. Pair Java with systems administration, scripting or data skills, since the area's computing roles are broad. Related paths include Python and C#, both seen in the area's career-training listings. Learners can compare Java training in Elmira and Horseheads, or request a training proposal for a team.
HSG courses for these skills.
- Fast Track to Java 17 and OO Development (5 days) covers the Java release cycle, the JDK and class and object basics, a starting point for newcomers and career changers. Fast Track to Java 25 and OO Development covers the same ground on a newer release.
- Advanced Java Programming (5 days) includes object serialization and the java.nio package, useful for data-handling and integration code.
- Developing RESTful Services Using Java (5 days) covers REST and JAX-RS, which fit web services connecting business systems.
- Express JUnit (1 day) covers unit test cases, assert methods and test suites.
- Continuous Integration with Jenkins (2 days) teaches automated test execution with Jenkins, a practical step toward dependable releases.
The full list is on the Java Programming courses and learning guide.
About this data: sources, periods and limitations
- U.S. Census Bureau: American Community Survey 5-year estimates (ACS 2020-2024 5-year)
- U.S. Bureau of Labor Statistics: Occupational Employment and Wage Statistics (May 2025)
- U.S. Bureau of Labor Statistics: Quarterly Census of Employment and Wages (2024 annual average)
- National Center for Education Statistics: IPEDS completions (2023-24 academic year)
- U.S. Bureau of Economic Analysis (via FRED, Federal Reserve Bank of St. Louis): Regional economic accounts
- elmira.edu: Elmira College - COMP 2036 Object Oriented Programming (Java) (checked 2026-11-29)
- careertraining.elmira.edu: Elmira College - Online Career Training computer science programs (checked 2026-11-30)
- careertraining.elmira.edu: Elmira College Career Training - Computer Science programs (Java, C#) (checked 2026-11-29)
- careertraining.corning-cc.edu: SUNY Corning Community College - Career Training computer science programs (checked 2026-11-30)
- corning.cleancatalog.net: SUNY Corning Community College - CSCS 2420 Java Programming (checked 2026-11-29)
- Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
- Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
- Residents aged 25 and over with a bachelor's degree or higher: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Share of residents aged 25 and over with a bachelor's degree or higher.
- Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
- All occupations, computer and mathematical occupations, network and computer systems administrators: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
- Computer and mathematical occupations, network and computer systems administrators, software developers and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
- Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS). Location quotient relative to the U.S.
- Computer and electronic product manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 334 (NAICS).
- Software publishers: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5132 (NAICS). Employment and wages are withheld by BLS for this area and year to protect employer confidentiality; the establishment count is published.
- Computer systems design and related services: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 5415 (NAICS).
Training locations
Fast Track to Spring Framework 3 and Spring Framework Web Flow 2.1 training across the U.S. and beyond.
We provide private Fast Track to Spring Framework 3 and Spring Framework Web Flow 2.1 training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Fast Track to Spring Framework 3 and Spring Framework Web Flow 2.1 training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
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.