Skip to main content

Instructor-led training

Introduction to Spring 7, Spring Boot 4, and Spring REST Training in Sherwood, Arkansas

Private Java Programming training for organizations from Hartmann Software Group, delivered onsite in Sherwood, Arkansas or live online.

What you'll learn

Spring 7 and Spring Boot 4 (released in Nov 2025) are another evolutionary advance of Spring’s powerful capabilities.They bring Spring in line with other important software releases such as Java 17-25, Jakarta EE 11, and JUnit 6. The course uses Java 25 as its base platform, and maven POMs for dependency management and configuration.

The course introduces the many Spring Core capabilities, as well as providing guidelines on when and how to use them. It also goes into considerable depth on using Spring Boot for dependency management and auto-configuration, as well as Spring REST for creating RESTful resources. It utilizes Spring Boot's easy configuration and auto-configuration wherever possible. 

The course starts with in-depth coverage of Spring’s Core module to reduce coupling and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover many of the most important capabilities of Spring, including easing configuration with Spring Boot, integrating JPA persistence layers with Spring and Spring Data, and using Spring’s declarative transaction capabilities.

The course includes a solid introduction to Spring REST, and coverage of building RESTful resources. It also covers many of the details of Spring Boot, including how to create Boot-based POMs (maven) for simplified dependency management, customizing Boot behavior, and understanding/managing Boot’s auto-configuration.

Coverage includes many of the new  charactersitics and capabilities introduced in Spring 7/ Boot 4. These include the new Boot 4 modularzation structure, Nullability via JSpecify annotations, REST API versioning, Programmatic Bean resgistration, and other important features.

This course is hands on with labs to reinforce all the important concepts. It will enable you to build working Spring applications and give you an understanding of the important concepts and technology in a very short time.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in Sherwood, Arkansas 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

Working knowledge of Java programming, including use of inheritance, interfaces, and exceptions

Course Outline

- Session 1:  Introduction to Spring
Overview of Spring Technology
Motivation for Spring, Spring Architecture
The Spring Framework
maven and Spring
Spring Introduction
Declaring and Managing Beans
ApplicationContexts - The Spring Container
XML and @Component/@Named Config
Dependencies and Dependency Injection (DI)
Examining Dependencies
Dependency Inversion / Dependency Injection (DI)
DI in Spring - XML and @Autowired
Spring Boot Quickstart
 
- Session 2:  Configuration in Depth
Java Based Configuration (@Configuration)
Overview, @Configuration, @Bean
Dependency Injection
Resolving Dependencies
Integrating Configuration Types
XML and @Component Pros/Cons
@Configuration Pros/Cons
Choosing a Configuration Style
Integrating with @Import and <import>
Bean Scope and Lifecycle
Singleton, Prototype, and Other Scopes
Configuring Scope
Bean Lifecycle / Callbacks
 
- Session 3:  Intro to Spring Boot
Spring Boot Overview and Structure
Spring POMs with Boot Parents
Spring Boot Starters
SpringApplication – Apps With main()
CommandLineRunner and ApplicationRunner
Working with Properties
Boot Property Files
Using Application Properties
Customizing Behavior with Boot Properties
 
- Session 4:  Spring Testing
Testing and JUnit 6 Overview
Writing Tests - Test Classes, asserts, Naming Conventions
Running Tests - IDE, maven, ...
Test Fixtures - setup and teardown
Spring TestContext Framework
Overview
Configuration
Running Tests
 
- Session 5:  Database Access with Spring/Boot
Overview of Spring/Boot database support
DataSources, Boot Auto-Configuration, and Custom Configuration
Boot - Embedded Database
Using Spring/Boot with JPA
Spring Boot Auto-Configuration and Scanning
Customizing the Configuration
Creating a JPA Repository/DAO Bean - @PersistenceUnit, @PersistenceContext
Spring Data Overview
Overview and Architecture
Configuring Spring Data
Repositories and JPA Repositories
Using CrudRepository
Defining Queries
[Optional] Overview of Configuration Without Boot
 
- Session 6:  Spring Transaction (TX) Management
Overview
Declarative TX Management (REQUIRED, etc.)
TX Scope and Propagation
Configuration and Boot Auto-Configuration
Pointcut-based Configuration of Transactions
 
- Session 7: RESTful Services with Spring
REST Overview and Principles
DispatcherServlet - Boot Auto-Config and Customization
Requests and Responses - GET, POST, PUT, DELETE
Spring's REST API
Spring support for REST
@RequestMapping/@PathVariable, @RequestBody, @ResponseBody
URI Templates and @PathVariable
Controllers with @RestController
REST API Versioning
Ajax Overview
 
- Session 8: Working with JSON and XML
Generating JSON
JSON Overview
JSON Representations for Resources
Message Converters
[Optional] Generating XML
JAXB and Jackson Message Converters for XML
JAXB / @XmlRootElement
Content Negotiation
 
- Session 9: Java REST Clients and Patterns
Client Requirements and Spring's RestTemplate
getForObject() / getForEntity()
Other RestTemplate Methods
REST Patterns: GET, POST, PUT, DELETE
 
- [Optional] Session 10: REST Functional Endpoints Overview
Overview
Routing Requests
Handling Requests
Digging Into the API
 
- Session 11:  Boot Configuration and Customization
Logging and its Configuration
Profiles
Nullability and JSpecify Annotations
Programmatic Configuration
Other Configuration
 
- Session 12: Spring Boot Web/Security
Spring Boot Web
Boot's Embedded Servers
Spring Boot Security
 
- Session 13:  Additional Spring/Boot Features
Updates to Spring Core
Jakarta EE 11 Baseline
WebFlux / Reactive Web Framework

What makes Spring and Spring Boot hard to master

Most of the difficulty is not Java syntax. Spring takes over object creation, wiring and lifecycle, so many mistakes show up as startup failures or odd runtime behavior rather than compiler errors. The syllabus builds the layers in a deliberate order.

  • Container first (Sessions 1-2). Beans, ApplicationContexts, dependency injection, XML and @Component configuration, then @Configuration/@Bean, @Import, and bean scope and lifecycle callbacks. The usual trap is treating a singleton bean as if it were per-request state.
  • Boot on top (Sessions 3 and 11). Boot parent POMs, starters, SpringApplication, CommandLineRunner/ApplicationRunner, properties, profiles, logging and programmatic configuration. A common misconception is that Boot is a separate framework. It is a convention and auto-configuration layer over the same container, so you need Sessions 1-2 to understand why it behaves as it does.
  • Persistence and transactions (Sessions 5-6). DataSources, an embedded database, JPA, Spring Data repositories and CrudRepository queries, then declarative transactions with REQUIRED, scope and propagation, and pointcut-based configuration. Transaction behavior is applied through the container rather than visible in your method bodies, which is why it surprises people. ORM issues such as lazy loading and N+1 queries also surface here.
  • REST (Sessions 7-9). @RestController, @RequestMapping, @PathVariable, @RequestBody/@ResponseBody, REST API versioning, JSON and XML message converters, content negotiation and RestTemplate. Mapping HTTP semantics onto controller methods is the main conceptual step.

Session 4 covers JUnit 6 and the Spring TestContext Framework, so you can check container behavior with tests as you go. Session 13 covers Spring Core updates, the Jakarta EE 11 baseline and a WebFlux overview.

Who this course suits and what to take around it

The course is introductory to Spring, but it assumes working Java: inheritance, interfaces and exceptions. It suits Java developers new to Spring, and teams that maintain or extend Spring applications and need the container, Boot, data access and REST pieces in one pass. Material marked optional in the syllabus (configuration without Boot, XML generation, REST functional endpoints) lets an instructor adjust emphasis for a group.

If your team's Java is rusty or comes from another language, the Fast Track to Java 25 and OO Development course is a sensible prerequisite. This course uses Java 25 as its base platform, and Java 25 is an LTS release supported until September 2033.

For broader language depth afterward, such as concurrency and advanced language features that affect how you design beans and services, Advanced Java Programming is a natural next step. The Java Programming courses and learning guide shows the wider set of options.

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.

  • Taking over an XML-configured service. A team might inherit an application wired with XML and @Autowired. Sessions 1-2 compare XML, @Component and @Configuration styles and show how to mix them with @Import, which supports gradual migration to Java-based configuration.
  • A catalog service with a database. A team might build a small REST service backed by an embedded database during development. Boot auto-configuration, Spring Data repositories, declarative transactions and @RestController cover this path. JSON message converters and content negotiation shape the responses.
  • Evolving a public API. A team might need to change a resource representation without breaking existing callers. The REST API versioning topic, together with URI templates and request mapping, addresses this, and profiles and properties handle environment differences.

Using AI coding assistants with these topics

AI coding assistants are useful for scaffolding: drafting a @RestController, a repository interface, a POM with starters, or a first set of JUnit tests. They are good at the repetitive shape of Spring code.

They fail where behavior depends on the container and on versions:

  • Version drift. Suggestions often mix older and newer conventions, such as older package names or property keys, or XML configuration where Boot auto-configuration would do. Check generated code against the Spring, Boot, Jakarta EE and Java versions your project uses.
  • Transactions and proxies. An assistant may place a transactional annotation where propagation or proxy behavior means it has no effect. Test commit and rollback behavior explicitly.
  • Data access. Generated queries and entity mappings can hide N+1 problems or load more than intended. Inspect the SQL that actually runs.
  • Auto-configuration. Assistants may add redundant beans that conflict with what Boot configures. Verify what Boot actually registered rather than trusting the generated code.
  • Security and thread safety. Review generated endpoints for input handling and deserialization risks, and check that singleton beans hold no mutable shared state.

The most reliable check is a test suite that uses the Spring TestContext Framework, run through Maven, so wiring, transaction and REST behavior are exercised rather than assumed.

Frequently asked questions

What level is this course?

It is introductory to Spring, Spring Boot and Spring REST, but it expects working Java knowledge. It runs five days and moves from the Spring container through Boot, data access, transactions and REST services.

What do I need to know beforehand?

Working knowledge of Java, including inheritance, interfaces and exceptions. No prior Spring experience is assumed.

What does the course cover?

It covers bean configuration and dependency injection, scope and lifecycle, Boot starters and properties, testing with JUnit 6 and the Spring TestContext Framework, JPA and Spring Data, declarative transactions, REST controllers, JSON/XML conversion, RestTemplate, profiles, and an overview of Boot security, the Jakarta EE 11 baseline and WebFlux. Some topics are marked optional.

Can this be delivered privately for our team?

Yes. Private training for organizations can be delivered onsite at your location or live online.

Can the content be customized?

Private courses can be tailored, including to the technology versions your organization uses. You can describe your needs through the training proposal request.

Training locations

Introduction to Spring 7, Spring Boot 4, and Spring REST training across the U.S. and beyond.

We provide private Introduction to Spring 7, Spring Boot 4, and Spring REST training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Introduction to Spring 7, Spring Boot 4, and Spring REST 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.