Skip to main content

Instructor-led training

Introduction to Spring 6, Spring Boot 3, and Spring REST Training in Baker, Louisiana

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

What you'll learn

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. "Classic" Spring configuration (usually more verbose and complicated) is optionally covered in abbreviated form.

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.

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 Baker, Louisiana 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
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 5 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
Using Spring Data
Naming Conventions for Querying
Creating more Complex Queries
Query Configuration
[Optional] Configuration Without Boot
Managing the EntityManager (EM)
LocalContainerEntityManagerFactoryBean and Container-managed EMs
JEE and JNDI Lookup of the EM
Configuration and Vendor Adaptors
 
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
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 Clients for RESTful Services
Client Requirements and Spring's RestTemplate
getForObject() / getForEntity()
Other RestTemplate Methods
Accessing Headers / exchange()
 
Session 10: Common REST Patterns
GET: Read
POST: Create
PUT: Update
DELETE: Delete
Programming on server side, and client side (with RestTemplate)
 
Session 11:  Boot Configuration and Customization
Logging and its Configuration
Profiles
Other Configuration
 
Session 12: Spring Boot Web/Security
Spring Boot Web
Boot's Embedded Servers
Classic Spring MVC Configuration
Spring Boot Security
Spring Boot Data REST
 
Session 13:  Additional Spring/Boot Features
Updates to Spring Core
Jakarta EE 9 Baseline
WebFlux / Reactive Web Framework
Boot Actuator

What makes Spring and Spring Boot hard to learn

The Java is familiar; the difficulty is that the container now decides when objects are created, wired and wrapped. Many mistakes surface at startup or at runtime rather than at compile time. The syllabus builds the layers in this order:

  • Container first (sessions 1-2). ApplicationContexts, XML and @Component/@Named configuration, @Autowired, then @Configuration/@Bean, @Import, and bean scope and lifecycle callbacks. The course weighs the pros and cons of each configuration style so you can choose one instead of copying whichever you find first.
  • Boot on top of the container (sessions 3 and 11). Boot parent POMs, starters, SpringApplication, CommandLineRunner/ApplicationRunner, properties, logging and profiles. A common misconception is that Boot replaces Spring. Boot is configuration and dependency management layered over the same beans, so session 1-2 knowledge is what lets you read what auto-configuration did.
  • Testing and data (sessions 4-6). JUnit 5 and the Spring TestContext Framework, DataSources and embedded databases, JPA with Spring Data repositories (CrudRepository, query naming conventions, more complex queries), and declarative transactions with REQUIRED and propagation. Derived queries and transaction boundaries fail in ways that look unrelated to the line you changed.
  • REST (sessions 7-10). @RestController, @PathVariable, @RequestBody/@ResponseBody, JSON message converters, content negotiation, and RestTemplate for the client side of GET, POST, PUT and DELETE.
  • Web, security and extras (sessions 12-13). Embedded servers, Spring Boot Security, Spring Boot Data REST, WebFlux and Actuator. These are introductions to broad topics, so expect orientation rather than mastery.

Who it suits and what to take around it

This is an introductory, five-day course for Java developers who have not yet built on Spring, or who have used it only through copied configuration. It requires working Java, including inheritance, interfaces and exceptions. It also suits developers who maintain XML- or annotation-configured Spring applications and want a clear model of how Boot's auto-configuration relates to them. The optional "classic" configuration material and the optional configuration-without-Boot section are written for that audience.

If your Java is rusty or comes from another language, the Fast Track to Java 25 and OO Development course builds the object-oriented foundation the Spring material assumes, especially interfaces, which dependency injection depends on.

After the course, the builds you create with Maven and Boot parent POMs can feed an automated pipeline. Continuous Integration with Jenkins covers that side. The wider Java Programming learning guide lists other 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.

  • A new data-backed service. A team might start from a Boot parent POM and starters, use an embedded database for development, and define Spring Data repositories whose queries come from method naming conventions. A transactional service layer using REQUIRED propagation would sit above them, with a @RestController exposing the resources as JSON.
  • Consolidating an older configuration. A team maintaining an application that mixes XML and @Component scanning might use the syllabus's comparison of configuration styles to pick a single approach. It could move shared wiring to @Configuration classes and bridge the rest with @Import and <import> during the transition.
  • A client of someone else's API. A back-office application might call an internal REST service with RestTemplate, using getForEntity() for simple reads and exchange() to control headers. Profiles and logging configuration would keep the same build running against different environments.

Using AI coding assistants with Spring and Boot

AI coding assistants are useful for scaffolding: a @RestController skeleton, a CrudRepository interface, a JUnit 5 test class, or property entries for a Boot application. They are weakest where behavior depends on the container or on versions:

  • Version and package drift. Generated code may mix older and newer APIs, such as javax and Jakarta namespaces. The syllabus's Jakarta EE 9 baseline topic is the reference point for recognizing this.
  • Auto-configuration. An assistant may add manual beans that duplicate or conflict with what Boot already configures, or suggest properties that do nothing.
  • Transactions and queries. Suggested propagation settings or repository method names may compile and still behave differently than intended.
  • Security. Suggested security configuration and request handling need review for injection and deserialization risks.

To verify, write Spring TestContext tests that load the real configuration, check which beans and properties actually took effect, and exercise each REST verb through the client and the server. Treat generated code like any other unreviewed contribution.

Frequently asked questions

What level is this course?

Introductory to Spring, but not to Java. It assumes working Java, including inheritance, interfaces and exceptions, and starts Spring itself from the container concepts.

What should I know before attending?

Working knowledge of Java programming. No prior Spring, Spring Boot or REST experience is assumed. Familiarity with Maven and relational databases helps for the build and JPA sessions.

What does the course cover?

Spring Core (beans, dependency injection, configuration styles, scope and lifecycle), Spring Boot (parents, starters, properties, profiles, logging), testing with JUnit 5 and the TestContext Framework, JPA and Spring Data, declarative transactions, REST with JSON/XML and RestTemplate, and introductions to Boot web, security, Data REST, WebFlux and Actuator.

Can this be delivered privately for our team?

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

Can the content be customized?

Private courses can be tailored to the technology versions and focus areas an organization uses, including current releases. You can describe your needs through the training proposal request.

Training locations

Introduction to Spring 6, Spring Boot 3, and Spring REST training across the U.S. and beyond.

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

View all Introduction to Spring 6, Spring Boot 3, 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.