Instructor-led training
Introduction to Spring 5, Spring Boot, and Spring REST Training in Stow, Ohio
Private Java Enterprise Edition training for organizations from Hartmann Software Group, delivered onsite in Stow, Ohio or live online.
What you'll learn
Spring 5 provides an evolutionary advance of Spring’s powerful capabilities. This 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 Spring Boot for dependency management and auto-configuration, as well as Spring REST for creating RESTful resources.
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 Stow, Ohio 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
What makes this material hard to master
Spring syntax is small. The difficulty is that the container decides which objects exist, how they are connected, and when they are created. Mistakes in wiring, scope or configuration usually show up at startup or in a surprising runtime result rather than as a compile error. The syllabus builds up in layers, and each layer depends on the one before it.
- Container and DI (sessions 1-2). ApplicationContexts, dependency inversion, XML and
@Component/@Namedconfiguration,@Autowired, then@Configuration/@Bean,@Import, singleton versus prototype scope, lifecycle callbacks,@Value, SpEL and profiles. The course compares configuration styles and has you choose among them, so it is about trade-offs as well as syntax. - Boot as a layer on top (sessions 3, 11-13). Parent POMs, starters, auto-configuration, YAML and
.properties, and logging. A common misconception is that Boot is a separate framework. It is easier to manage once you know what the container would have required without it. - Persistence and transactions (sessions 5-6, 12). DataSource,
EntityManagermanagement, Spring Data repositories with query-by-naming-convention, and declarative transactions withREQUIRED-style propagation. Transaction boundaries and propagation are rarely visible in the code you are reading. - REST (sessions 7-10).
@RestController,@PathVariable,@RequestBody, message converters, content negotiation for JSON and XML, andRestTemplateclients for GET, POST, PUT and DELETE.
Session 14 gives an introductory look at WebFlux and the reactive web framework. Treat it as an overview, not a full treatment.
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. The stated prerequisite is working Java, including inheritance, interfaces and exceptions. It also suits teams that maintain existing Spring applications and need to understand the container, configuration styles, and the Boot conventions layered on top.
Because JPA appears throughout (sessions 5 and 12), it helps to have seen relational persistence before. If you want a standalone treatment first, Developing Java EE Web Applications (JEE6/JEE7), plus JPA and REST covers JPA and REST in the Jakarta EE setting. Spring's persistence and REST support builds on the same ideas.
For a next step on the REST side, Developing RESTful Services Using Java Version 2.0 goes deeper on service design than the single REST block here. The wider Java Enterprise Edition course list shows 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.
- Replacing hard-wired dependencies. For example, a team might have service classes that construct their own data-access objects, which makes unit testing difficult. The dependency injection,
@Configurationand Spring TestContext topics show how to inject collaborators, swap implementations by profile, and test against a chosen configuration. - A small data-backed service. A team might need a service that exposes records over HTTP. It could use a Boot parent POM and starters, a JPA repository built on
CrudRepositorywith derived queries, a transactional service layer, and a@RestControllerreturning JSON through message converters. - Consuming an internal API. A back-end group might need to call another team's HTTP interface.
RestTemplatewithgetForEntity()andexchange()covers reading headers, creating, updating and deleting resources, and handling a JSON or XML representation through content negotiation.
AI coding assistants with these topics
AI coding assistants are useful for boilerplate here: a @RestController skeleton, a repository interface, a first-draft JUnit test, or a .properties/YAML file. They tend to fail where behavior depends on context they cannot see.
- Mixed styles. Generated code may blend XML, component scanning and
@Configurationin ways that create duplicate or conflicting beans, or the wrong scope. - Auto-configuration. An assistant may add a dependency or property without knowing what Boot will then configure. Check what the context actually contains.
- Transactions and queries. Suggested propagation settings or derived-query method names can compile and still behave differently from what you intended.
- Version drift. Suggestions may use APIs or idioms from a different Spring or Java version than your project. Match them to your build.
- Security. Review generated REST endpoints and Boot Security configuration for injection and deserialization risks.
To verify, write TestContext-based tests for wiring and transactional behavior, read startup logs and the bean list, and review generated queries and transaction boundaries against your own code. The testing session of this course covers the tools for this.
Frequently asked questions
What level is this course and what do I need beforehand?
It is introductory and runs five days. You need working Java knowledge, including inheritance, interfaces and exceptions. No prior Spring experience is listed as a prerequisite.
What does the course cover?
It covers the Spring container and dependency injection, XML, annotation and Java configuration, bean scope and lifecycle, properties and profiles, Spring Boot starters and auto-configuration, JUnit and TestContext testing, JPA with Spring Data, declarative transactions, REST with JSON and XML, RestTemplate clients, Boot web, security and Data REST, and an overview of WebFlux.
Is it hands on?
Yes. The course description says labs reinforce the important concepts, and you build working Spring applications.
Can the course be delivered privately, onsite or online?
Yes. HSG delivers private training for organizations either onsite at the client's location or live online.
Can the content be customized to our versions and needs?
Private courses can be tailored to the technology versions an organization uses, including current releases, and content can be customized. You can request a training proposal to discuss your requirements.Training locations
Introduction to Spring 5, Spring Boot, and Spring REST training across the U.S. and beyond.
We provide private Introduction to Spring 5, Spring Boot, and Spring REST training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Introduction to Spring 5, Spring Boot, 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
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.