Skip to main content

Instructor-led training

Fast Track to Spring 3 and Spring MVC / Web Flow Training in Horseheads, New York

Spring is a lightweight Java framework for building enterprise applications.

What you'll learn

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 JDBC and persistence frameworks like Hibernate (DAO and ORM modules), Aspect-Oriented Programming (AOP module), integration with Java Web technologies (MVC and Web Flow), security, transactions, and more. This course is a new course based on the Spring 3 release. It includes complete coverage of the annotation based approach to configuration and the use of Java-5 capabilities that was first introduced in Spring 2.x, and which has been greatly enhanced in Spring 3. It also provides coverage of the traditional XML-based configuration that can still play an important role in existing and new projects. The course starts with the basics of Spring and in-depth coverage on using the powerful capabilities of the Core module to reduce coupling, and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover all the important capabilities of Spring 3, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate and JPA. It includes coverage of advanced capabilities such as using Spring's Aspect Oriented Programming (AOP) to program cross-cutting concerns such as transactions and security. This includes an introduction to Spring Security v3, its architecture, and how to use it to secure both Web application requests and bean invocations The course includes integration of Spring with Java EE Web applications, an introduction to Spring's Web MVC, and thorough coverage of Spring Web Flow 2 (which is still the latest version available). Spring MVC is a Web framework based 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. Spring Web Flow 2 is a Spring framework for defining user interface flow in a Web application. The course includes thorough coverage of Web Flow, including an overview of its capabilities and architecture, defining flows, flow variables and actions, the Unified EL, and flow programming. Note that Spring Web Flow 3, which will use annotation-based configuration, is still in a very early development stage.

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 Training

Prerequisites

A good working knowledge of basic Java.

Course Outline

 
Session 1:  
Introduction
Overview of Spring Technology
Shortcomings of Java EE, Spring Architecture
Spring Introduction
Managing Beans, The Spring Container, IoC, DI
Configuration Metadata - XML, @Component, Auto-Detecting Beans
Dependencies and Dependency Injection (DI)
Dependency Inversion, Dependency Injection (DI) in Spring, DI Configuration - XML, @Resource
 
Session 2:  
More about Bean Properties
Working with Properties
Configuring Value Properties, Property Conversions, Setter / Constructor Injection
Spring Expression Language for Configuration
Collection Valued Properties
Configuring and using lists, sets, etc.
Additional Capabilities
Factory Methods, Bean Aliases, Definition Inheritance (Parent Beans)
 
Session 3:  
The Spring Container and API
ApplicationContext
ClassPathXmlApplicationContext, FileSystemXmlApplicationContext, Constructors, Usage
Resource Access - Overview, Resource Implementations
Validation
Overview, JSR-303
Declarative Validation, @NotNull, @Size, @Min, etc
Configuration, Injection
Bean Scope and Lifecycle
Bean Scope Defined, Configuring, Inner Beans, Bean Creation Lifecycle, Lifecycle Callbacks, BeanPostProcessor, Event Handling
MessageSources
Defining and Using Resource Bundles, Localization/I18N
Annotation Driven Configuration
Stereotypes: @Component, @Service, @Controller, @Repository
Java EE 5 Annotation Support
Defining Custom Annotations
Autowiring
@Autowired on setters, constructures, methods, fields
Injecting resources like ApplicationContext
Fine tuning with @Qualifier
Java Based Bean Metadata (JavaConfig)
Overview - code-centric Configuration
@Confguration, @Bean, and @Value
Importing and @Import
Autowiring in Configuration Classes
Mixing XML Configuraiton and @Configuration
XML vs Annotation Based Configuration
Other Capabilities
SpEL - Spring Expression LanguageValidation
 
Session 4:  Database Access with Spring
Issues with JDBC / Typical JDBC Flow
Introduction to Spring DAO Support
Spring Database API, (Simple)JdbcTemplate,  (Simple)JdbcDaoSupport, DataSources,
Working With and Configuring, <list>, <set>, With Bean Refs, <map>, <props>
Queries and Inserts
RowMapper, ParameterizedRowMapper, Passing Arguments, queryForObject, query, update
Additional API Capabilities
Additional query methods, Passing Type Arguments, queryForList, FetchSize, MaxRows
Using Spring with Hibernate
Overview of Template Approach, SessionFactory configuration
Using Contextual Sessions
Using Spring with JPA
LocalEntityManagerFactoryBean, LocalContainerEntityManagerFactoryBean, JNDI, PersistenceUnitManager
DAO Support - @PersistenceUnit, @PersistenceContext
 
Session 5:  
Aspect Oriented Programming (AOP)
Overview of AOP
AOP Basics, Aspect, Joinpoint, Advice, Pointcut
Introduction to Spring AOP
Capabilities, Configuration (Annotation Based and XML), Weaving, Joinpoints
Using Aspects
Defining Advice, Configuring Pointcuts, Targets and Proxies
XML Configuration with <aop:>
AspectJ Pointcuts, Autoproxies
Using @AspectJ Annotations
@AspectJ Annotations, Declaring Advice
 
Session 6:  
Spring Transaction (TX) Management
Intro to Spring Transaction Management
Overview, Component TX Model, TX Propagation, Declarative Transactions, TransactionManagers
Using Spring Transactions
Annotation Configured Transactions
@Transactional and its settings
XML Configured Transactions
new <tx:*> elements, Configuring tx:advice, and tx:attributes
Defining the TX advisor
 
Session 7:  
Introduction to Spring Web Integration and Spring MVC
Integrating Spring with Java EE Web Apps, ContextLoaderListener, WebApplicationContext
Spring Web MVC Overview, Capabilities, Architecture
Spring MVC Basics
DispatcherServlet, Configuration, mvc Namespace
Controllers, @Controller, Handler Methods
@RequestParam and Parameter Binding
View Resolvers
Writing Controllers, @Controller, @RequestMapping, @RequestParam, @PathVariable
Forms and Binding, Spring Form Tags, @ModelAttribute
Session Attributes, @SessionAttributes
 
Session 8:
Overview of Spring Security
Overview - Capabilities, Architecture
Introduction to Spring Security
HTTP Security
Method Security
Annotation-Based Security
Expression-Based Access Control
Authentication Providers
 
Session 9:
Introduction to Spring Web Flow 2
Overview - Need for Flow, Capabilities, Architecture
Defining Flows
XML Flow Definition Language
Flows, States, and Transitions
Accesing Flows in Web Pages
Exiting Flows - flowRedirect and externalRedirect
Configuring Web Flow - Flow Executor, Flow Registry, Integration with Spring MVC
Working with Data - Flow Instance Variables, Flow Inputs
View Pages and Model Binding
Flow Actions - evaluate, set, and render
 
Session 10:  
More on Spring Web Flow 2
Using the Spring Expression Language (SpEL) with Web Flow
Syntax and Expressions
Implicit Objects
Flow Control
Using Data Scopes - Request, Flash, View, Flow, Conversation, and Session Scope
POST-REDIRECT-GET Idiom
Flow Language Elements
More on States, Actions, and Other Elements
Routing with action-state and decision-state
 
Session 11:  
Programming with Spring Web Flow 2
Creating Custom Actions
POJO Based Actions vs the Action interface
RequestContext and ExternalContext
Validation and Error Reporting
Defining Validation in the Model and in a Validator Class
ValidationContext, MessageContext, and Resource Bundles
Converters
Subflows
Defining and Using
Input/Output Variables
Conversation Scope Variables
Subflow End States

What makes Spring, Spring MVC and Web Flow hard to master

The Java is rarely the obstacle. The difficulty is that Spring moves control out of your code. Objects are created, wired, proxied and destroyed by the container, so many bugs only appear at startup or at runtime. The syllabus builds up the layers in order.

  • Container first (sessions 1-3). Beans, IoC and DI, then XML metadata versus @Component and the other stereotypes, @Autowired with @Qualifier, and @Configuration/@Bean JavaConfig. Bean scope, lifecycle callbacks, BeanPostProcessor, JSR-303 validation and message sources are also covered. A common misconception is that annotations replace XML. The course covers mixing the two and compares them, because many existing systems use both.
  • Data access and proxies (sessions 4-6). JdbcTemplate, Hibernate and JPA support, then AOP (aspects, pointcuts, advice, proxies) and @Transactional with propagation. Declarative transactions are AOP applied to your beans. Developers who do not know that mechanism are often puzzled when a transaction setting seems to be ignored.
  • Web layer (sessions 7-8). DispatcherServlet, @Controller, @RequestMapping, form binding and @SessionAttributes, followed by Spring Security's HTTP security, method security and expression-based access control.
  • Web Flow (sessions 9-11). Flows, states and transitions, data scopes (request, flash, view, flow, conversation), action and decision states, custom actions, validation, converters and subflows. The shift is from thinking in single requests to thinking in a conversation with state.

Who it suits and where it fits in a learning path

The course is introductory to Spring but not to Java. It assumes a good working knowledge of basic Java and starts with the container before touching persistence or the web. It suits developers who maintain or extend Spring-based applications, teams migrating from plain Java EE web code, and training managers who want one course covering the container, data access, security and web flow.

If your team only needs the container and has limited time, the three-day Fast Track to Spring Framework 3.x covers a narrower scope. After this course, Introduction to Spring 4, Spring MVC, and Spring REST is a natural next step for teams that need to work with a later Spring generation and web services. Organizations on other framework versions can ask about tailored private training through a training proposal. More options are listed in the Java Programming courses and learning guide.

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.

  • Untangling a tightly coupled service layer. A team might have classes that construct their own collaborators and are hard to test. Using constructor and setter injection, @Autowired/@Qualifier and @Configuration classes, they can move wiring into container metadata and swap implementations without editing callers.
  • Consistent persistence and transactions. A team might replace hand-written JDBC boilerplate with JdbcTemplate and RowMapper, or configure JPA through LocalContainerEntityManagerFactoryBean. They could then declare transaction boundaries with @Transactional or <tx:advice> instead of coding commit and rollback by hand.
  • A multi-step web process. For a guided process such as a multi-page booking or application form, a team might define a Web Flow with states and transitions, keep data in flow or conversation scope, use a subflow for a reusable step, and apply Spring Security method and URL rules around it.

AI coding assistants with these topics

AI coding assistants can draft stereotype-annotated classes, RowMapper implementations, controller skeletons and boilerplate for tests. They are useful for repetitive wiring once you can read what they produce.

They fail in predictable ways here. Output often mixes framework generations, for example configuration or annotations that do not match the Spring version your project uses. They may pick the wrong bean when several candidates exist, or place @Transactional where the proxy never applies it, such as on a method called from within the same class. Pointcut expressions can look plausible yet match the wrong methods. Web Flow XML is a niche area, so generated flow definitions may contain invented elements or misuse scopes. Security rules are another risk: a permissive or incomplete expression can pass casual review.

To verify, load the ApplicationContext in a test and check which beans are wired. Log the SQL and check transaction boundaries against real commits and rollbacks. Test that restricted URLs and methods reject unauthorized users. Validate flow definitions by walking every transition. Confirm every generated line against the framework versions your project actually uses.

Frequently asked questions

What level is this course, and what do I need beforehand?

It is introductory to Spring and expects a good working knowledge of basic Java. No prior Spring experience is assumed; the course begins with beans, the container, IoC and dependency injection.

What does the course cover?

Container configuration with XML, annotations and JavaConfig; bean scope and lifecycle; JSR-303 validation; JDBC, Hibernate and JPA support; AOP; declarative transactions; Spring Security; Spring MVC basics; and Spring Web Flow 2, including actions, scopes, validation and subflows.

Does it cover Spring MVC in depth?

Spring MVC is an introduction: DispatcherServlet, controllers, request mapping, parameter and form binding, view resolvers and session attributes. Web Flow receives the most extensive web-layer coverage, across three of the eleven sessions.

Can this be delivered privately for our team, onsite or online?

Yes. HSG delivers private training for organizations at the client's location or live online.

Can the content be customized?

Private course content can be customized, including to the technology versions your organization uses. You can describe your needs in a training proposal request.

HSG Technology & Workforce Intelligence

Most relevant to Fast Track to Spring 3 and Spring MVC / Web Flow

  • 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.

80Software developersMay 2025
0.23Concentration vs. U.S.1.00 = U.S. average; May 2025
$79,250Median annual wage (computing jobs)May 2025
5Verified local technology sourcesemployers, colleges, user groups

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

AreaBachelor'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, NY27.2%3.3%0.420.230.19
United States35.7%5.1%1.001.001.00
New York State40.2%5.0%0.961.080.79
Columbus, IN34.1%5.2%0.550.530.60
Kokomo, IN20.8%3.2%0.250.150.14
Midland, MI36.6%5.1%0.690.410.07
Casper, WY27.7%3.5%0.330.350.25
Great Falls, MT28.4%2.9%0.440.180.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.

The full list is on the Java Programming courses and learning guide.

About this data: sources, periods and limitations
  • 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 3 and Spring MVC / Web Flow training across the U.S. and beyond.

We provide private Fast Track to Spring 3 and Spring MVC / Web Flow training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Fast Track to Spring 3 and Spring MVC / Web Flow 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
Request Group Training

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.