Introduction to Spring 5, Spring MVC, and Spring REST

  4.9 out of 5 - Read Testimonials

See Course Outline

Training for your Team

  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

Training for Yourself

or 5 vouchers
  • Live Online Training
  • For Individuals
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

Upcoming Classes

  • See More Classes

Please select a class.

Spring 5 provides an evolutionary advance of Spring's powerful capabilities. This Introduction to Spring 5, Spring MVC, and Spring REST training class introduces these capabilities, as well as providing guidelines on when and how to use them. It includes coverage of the three main configuration styles: Java-based (@Configuration), annotation-based (@Component), and the traditional XML-based configuration that may still play an important role in existing and new projects.

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 Hibernate and JPA persistence layers with Spring and Spring Data, and using Spring's declarative transaction capabilities.

The course includes integration of Spring with Java EE Web applications, a solid introduction to Spring MVC, and coverage of building RESTful resources with Spring MVC. It also provides an overview of Springs reactive programming model for repositories and Web resources.

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.

The standard platform does all labs with the Eclipse IDE, and the lab instructions include detailed directions for setting up and using it. The course can be made available for all major development environments, including IBM RAD and IntelliJ.

  1. Understand the core principles of Spring, and of Dependency Injection (DI) / Inversion of Control
  2. Use the Spring Core module and DI to configure and wire application objects (beans) together
  3. Know the different types of metadata (XML, annotations/@Component, and Java Configuration/@Configuration), and how and when to use them
  4. Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
  5. Use Spring Boot to simplify dependency management and configuration
  6. Work with the ORM (Object-Relational Mapping) module to integrate Spring with technologies such as Hibernate or JPA.
  7. Use Spring Data to automatically generate JPA-based repository classes
  8. Understand and use Spring's transaction support, including the easy-to-use Java annotation support, as well as the tx/aop XML configuration elements
  9. Integrate Spring with Java EE Web applications
  10. Build Web applications with Spring MVC, including configuration using Java config and Servlet 3 capabilities
  11. Understand and use the core capabilities of Spring's Reactive programming support
  12. Understand REST, and use Spring MVC to build RESTful services
  13. Use Ajax-based front ends with Spring MVC / Spring REST
  1. Introduction to Spring
    1. Overview of Spring Technology
      1. Motivation for Spring, Spring Architecture
      2. The Spring Framework
    2. Spring Introduction
      1. Declaring and Managing Beans
      2. ApplicationContexts
      3. Using @Component/@Named
    3. Dependencies and Dependency Injection (DI)
      1. Examining Dependencies
      2. Dependency Inversion / Dependency Injection (DI)
      3. XML Configuration of DI
      4. Injection with @Autowire
  2. Configuration in Depth
    1. Java Based Configuration (@Configuration)
      1. Overview, @Configuration, @Bean
      2. Dependency Injection
      3. Resolving Dependencies
    2. Integrating Configuration Types
      1. XML vs. @Component
      2. @Configuration Pros and Cons
      3. Choosing a Configuration Style
      4. Integrating Configuration Styles
    3. Bean Scope and Lifecycle
      1. Singleton, Prototype, and Other Scopes
      2. Configuring Scope
      3. Bean Lifecycle / Callbacks
    4. Externalizing Properties
      1. Properties Files
      2. @PropertySource, property-placeholder
      3. Using @Value
      4. SpEL
    5. Profiles
      1. Overview and Configuration
      2. Activating Profiles
  3. Spring Boot Overview
    1. maven and Spring
    2. Spring Boot Structure
    3. Spring POMs with Boot Parents
    4. Spring Boot Starters
    5. Other Capabilities
  4. Spring and Spring Data with Hibernate/JPA
    1. Overview of Spring database support
    2. Configuring a DataSource
    3. Using Spring with Hibernate
      1. High Level Hibernate Overview
      2. Factory configuration, LocalSessionFactoryBean
      3. Contextual Sessions and Spring Integration
    4. Using Spring with JPA
      1. Managing the EntityManager (EM)
      2. LocalContainerEntityManagerFactoryBean and Container-managed EMs
      3. JEE and JNDI Lookup of the EM
      4. Configuration and Vendor Adaptors
      5. Creating a JPA Repository/DAO Bean - @PersistenceUnit, @PersistenceContext
    5. Spring Data Introduction
      1. Overview and Architecture
      2. Configuring Spring Data
      3. Repositories and JPA Repositories
      4. Using CrudRepository
    6. Spring Data Querying
      1. Naming Conventions for Querying
      2. Creating more Complex Queries
      3. Query Configuration
  5. Spring Transaction (TX) Management
    1. Overview
    2. Declarative TX Management (REQUIRED, etc.)
    3. TX Scope and Propagation
    4. XML Configuration of Transactions
      1. Specifying Advice, TX Attributes, and Methods
      2. Linking Advice with Pointcuts
      3. Benefits of XML Configuration of TX Behavior
  6. Spring Web Integration and Intro to Spring MVC
    1. Java EE Web App Integration
    2. ContextLoaderListener and WebApplicationContext
    3. Web MVC Overview
    4. Spring MVC Basics
      1. Configuration and the DispatcherServlet
      2. @Controller, @RequestMapping (Handlers)
      3. @RequestParam and Parameter Binding
      4. View Resolvers
      5. Controller Details - @RequestParam, @PathVariable
      6. Model Data and @ModelAttribute
  7. Additional Spring MVC Capabilities
    1. @ModelAttribute and Reference Data
    2. Forms and Binding, Spring Form Tags
    3. Sessions and @SessionAttributes
    4. Validation / JSR-303
  8. RESTful Services with Spring
    1. REST Overview, URI Templates
    2. REST and Spring MVC
    3. Spring support for REST
    4. @RequestMapping/@PathVariable, @RequestBody, @ResponseBody
    5. URI Templates and @PathVariable
    6. Controllers with @RestController
    7. Generating JSON
      1. JSON Overview
      2. JSON Representations for Resources
      3. Message Converters
    8. Generating XML
      1. JAXB and Jackson Message Converters for XML
      2. JAXB / @XmlRootElement
    9. Content Negotiation
  9. Java Clients for RESTful Services
    1. Client Requirements and Spring's RestTemplate
    2. getForObject() / getForEntity()
    3. Other RestTemplate Methods
    4. Accessing Headers / exchange()
  10. Reactive Programming with Spring
    1. Reactive Programming Overview
    2. Mono and Flux
    3. Creating Reactive Repositories
    4. Creating Reactive Controllers
  11. Common REST Patterns
    1. GET: Read
    2. POST: Create
    3. PUT: Update
    4. DELETE: Delete
    5. Programming on server side, and client side (with RestTemplate)
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing


Students who have taken Instructor-led Training


Organizations who trust Webucator for their Instructor-led training needs


Satisfaction guarantee and retake option


Students rated our Introduction to Spring 5, Spring MVC, and Spring REST trainers 9.72 out of 10 based on 8 reviews

Very useful!

Yaxi Liu, Southwest Research Institute

Great class.

Tracey Roberson, Defense Finance & Accounting Services (DFAS)

Perfect way to add to your Excel knowledge. :)

Nicole Baumer, First Street Mgmt.

Great high quality training from very knowledgeable instructors all without having to travel to a classroom. I like that!

John Leahy, Food and Drug Administration
Silver Spring MD

Contact Us or call 1-877-932-8228