Mastering Spring 5.x Developer Boot Camp (TT3335)

Comprehensive Hands-On Core Spring 5.x, Spring Boot 2.x, Spring AOP, Spring Data, Spring REST & More

TT3335

Introductory and Beyond

4 Days

Course Overview

Spring Developer Boot Camp is a

hands-on Spring training course geared for experienced Java developers who need to understand what the Spring Framework is in terms of today's systems and architectures, and how to use Spring in conjunction with other technologies and frameworks. This leading-edge course provides added coverage of Spring's Aspect-Oriented Programming and the use of Spring Boot. Students will gain hands-on experience working with Spring, using Maven for project and dependency management.

The Spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion. Spring's flexibility and transparency is congruent and supportive of incremental development and testing. The framework's structure supports the layering of functionality such as persistence, transactions, view-oriented frameworks, and enterprise systems and capabilities. This course targets Spring 5.x and Spring Boot 2.x, which includes full support for Java SE 11 and Java EE 8. Spring supports the use of lambda expressions and method references in many of its APIs.

Spring makes enterprise development easier. Spring simplifies common tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many JEE design patterns. Spring puts the OO design back into your JEE application, and it integrates nicely with many view technologies and the new features of HTML5.

This course combines engaging instructor-led presentations and useful demonstrations with valuable hands-on labs and engaging group activities. Throughout the course you’ll learn how to:

  • Explain the issues associated with complex frameworks such as JEE and how Spring addresses those issues
  • Understand the relationships between Spring and JEE, AOP, IOC and ORM.
  • Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications.
  • Understand how to configure the Spring Boot framework
  • Understand and work on integrating persistence into a Spring application
  • Work with Spring Boot to facilitate Spring setup and configuration
  • Apply Aspect Oriented Programming (AOP) to Spring applications
  • Use Spring Data JPA to implement the persistence layer of an application
  • Develop REST applications using Spring 5
  • Work with Spring Boot to facilitate Spring setup and configuration

If your team requires different topics, additional skills or a custom approach, our team will collaborate with you to adjust the course to focus on your specific learning objectives and goals.

Course Objectives

This course provides a solid understanding of what Spring brings to the table and how to use Spring in the context of other technologies and frameworks.  Students are taken on an in-depth tour of the basic Spring framework, initially examining concepts such as Inversion of Control and Dependency Injection, and then working with the container and basic components.  Students are introduced to Spring Boot and use Spring Boot throughout the remainder of the course.   The latter part of the class looks at implementing REST with Spring and takes a deep dive into Spring Boot to prepare students for more extended Spring Boot usage.

Working in an engaging hands-on programming environment, students will learn to:

  • Explain the issues associated with complex frameworks such as JEE and how Spring addresses those issues
  • Understand the relationships between Spring and JEE, AOP, IOC and ORM.
  • Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications.
  • Understand how to configure the Spring Boot framework
  • Understand and work on integrating persistence into a Spring application
  • Work with Spring Boot to facilitate Spring setup and configuration
  • Apply Aspect Oriented Programming (AOP) to Spring applications
  • Use Spring Data JPA to implement the persistence layer of an application
  • Develop REST applications using Spring 5
  • Work with Spring Boot to facilitate Spring setup and configuration

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional Spring, programming, Microservices / Services, REST, TDD / testing, design, application security and other related topics that may be blended with this course for a track that best suits your needs. Our team will collaborate with you to understand your needs and will target the course to focus on your specific learning objectives and goals.

Course Prerequisites

Take Before: Students should have incoming practical skills aligned with those in the course(s) below, or should have attended the following course(s) as a pre-requisite:

  • TT2104: Fast Track to Core Java Programming for OO Developers (C+, C#, etc.)

Please see the Related Courses tab for specific Pre-Requisite courses, Related Courses that offer similar skills or topics, and next-step Learning Path recommendations. Our Next-Level Java and Spring developer courses provide students with a solid foundation for continued learning based on role, goals, or their areas of specialty. 

 

 

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We will work with you to tune this course and level of coverage to target the skills you need most.

Session: Introduction to Spring

  1. The Spring Framework
  • Understand the value of Spring
  • Explore Dependency Injection (DI) and Inversion of Control (IoC)
  • Introduce different ways of configuring collaborators
  • Spring as an Object Factory
  • Initializing the Spring IoC Container
  1. Configuring Spring Managed Beans
  • Introduce Java-based configuration
  • The @Configuration and @Bean annotations
  • Define bean dependencies
  • Bootstrapping Java Config
  • Context Injection in Configuration classes
  • Using context Profiles
  • Conditionally loading beans and configurations
  • Bean Life-Cycle Methods
  1. Defining Bean Dependencies
  • Introduce Spring annotations for defining dependencies
  • Explore the @Autowired annotation
  • Stereotype Annotations
  • Qualifying injection points
  • Lifecycle annotations
  • Using properties in Java based configuration
  • The @Value annotation
  • Using the Candidate Components Index
  1. Introduction to Spring Boot
  • Introduce the basics of Spring Boot
  • Explain auto-configuration
  • Introduce the Spring Initializr application
  • Bootstrapping a Spring Boot application
  1. Working with Spring Boot
  • Provide an overview of Spring Boot
  • Introduce starter dependencies
  • Introduce auto-configuration
  • @Enable... annotations
  • Conditional configuration
  • Spring Boot Externalized Configuration
  • Bootstrapping Spring Boot

Session: Spring AOP

  1. Introduction to Aspect Oriented Programming
  • Aspect Oriented Programming
  • Cross Cutting Concerns
  1. Spring AOP
  • Spring AOP in a Nutshell
  • @AspectJ support
  • Spring AOP advice types
  • AspectJ pointcut designators

Session: Spring Data  

  1. Spring Data Overview
  • Spring Data Capabilities and Features
  • Spring Data repositories
  • The Repository interfaces
  • Defining the JPA entity
  • Persisting entities using Spring Data JPA
  • Bootstrapping the Spring Data application
  1. Spring Data Query Methods
  • Querying data using Query methods
  • Query builder mechanism
  • Handling an Absence of Value
  • Pagination and Ordering
  • Asynchronous query methods
  • Count and Delete Derived Query methods
  1. Spring Data JPA Queries
  • JPA named queries
  • @Query and @NamedQuery annotations
  • Defining Query parameters
  • Executing native queries
  • SpEL expressions in queries
  • Managing the Persistence Context after updates

Session: Implementing REST with Spring

  1. REST principles
  • Introduce the six architectural constraints of REST
  • Introduce Resources and Resource representations
  • Best practices for defining Resource URIs
  1. Introduction to RESTful Services in Spring
  • Discuss the request-response cycle of REST requests
  • Defining a REST Controller in Spring
  • Explain the @ResponseBody annotation
  • Define request mappings
  • Use path variables
  1. Introduction to REST Clients in Spring
  • Introduce RestTemplate class
  • Making GET, POST, PUT, HEAD, OPTIONS and DELETE requests
  • Introduce the UriTemplate class
  • Using HttpEntity and RequestEntity
  • Use the exchange method to define ‘complex’ requests
  • Process requests and responses using callback
  • Configure the RestTemplate
  1. Bootstrapping the REST application
  • Describe steps needed to bootstrap Spring REST application
  • Configure Content Representation libraries
  • Configure Spring MVC and map the Dispatcher Servlet
  • Explain the advantages of using Spring Boot to setup the REST project
  • Setup a Spring REST application using Spring Boot
  1. Content Representation
  • Returning different media types from service
  • Introduce negotiated resource representation
  • Configure Message Converters
  1. Implementing the REST Service
  • Process for Spring REST Implementation
  • The Domain object
  • Using Project Lombok to define the domain object
  • (Not) Using Data Transfer Objects
  • ResponseEntity builder interfaces
  • Setting Location header using UriComponentsBuilder

Session: Spring Boot 2

  1. Spring Boot Actuator
  • Understand Spring Boot Actuators
  • Work with predefined Actuator endpoints
  • Enabling Actuator endpoints
  • Securing the Actuator

Bonus Topics: Time Permitting

These topics will be included in your course materials but may or may not be presented during the live class depending on the pace of the course and attendee skill level and participation.

  1. Developing in Spring Boot
  • Introduce Spring Boot Devtools
  • Enable the ConditionEvaluationReport
  • Debugging Spring Boot applications
  1. Thymeleaf
  • Provide a quick overview of Thymeleaf
  • Introduce Thymeleaf templates
  • Create and run a Spring Thymeleaf MVC application

Course Materials

Student Materials: Each participant will receive a digital Student Guide and/or Course Notes, code samples, software tutorials, step-by-step written lab instructions (as applicable), diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. In some cases we can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourse Extras package (Course Recordings, Live Instructor Follow-on Support, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Attend a Course

Please see the current upcoming available open enrollment course dates posted below. Please feel free to Register Online below, or call 844-475-4559 toll free to connect with our Registrar for assistance. If you need additional date options, please contact us for scheduling.

Course Title Days Date Time Price
Mastering Spring 5.x Developer Boot Camp (TT3335) 4 Days Feb 4 to Feb 7 10:00 AM to 06:00 PM EST $2,595.00 Enroll
Mastering Spring 5.x Developer Boot Camp (TT3335) 4 Days Apr 15 to Apr 18 10:00 AM to 06:00 PM EST $2,595.00 Enroll
Mastering Spring 5.x Developer Boot Camp (TT3335) 4 Days Jun 24 to Jun 27 10:00 AM to 06:00 PM EST $2,595.00 Enroll
Mastering Spring 5.x Developer Boot Camp (TT3335) 4 Days Aug 19 to Aug 22 10:00 AM to 06:00 PM EST $2,595.00 Enroll
Mastering Spring 5.x Developer Boot Camp (TT3335) 4 Days Oct 28 to Oct 31 10:00 AM to 06:00 PM EST $2,595.00 Enroll

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More