Introduction to Spring, Spring Boot & Spring Cloud

Hands-On Spring Essentials, Spring Boot, Spring Cloud, JPA & More

TT3324

Introductory

3 Days

Course Overview

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.

Introduction to Spring Boot and Spring Cloud is a hands-on Spring training course geared for experienced Java developers who need to understand what the Spring Boot is in terms of today's systems and architectures, and how to use Spring in conjunction with other technologies and frameworks. 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 enterprise application, and it integrates nicely with many view technologies and the new features of HTML5.

Course Objectives

Working in a hands-on learning environment, students will review configuration basics of the Spring framework. The course then moves into Spring Boot, providing in-depth content and experience working with Spring Boot to accomplish a variety of tasks. In addition to working through the Spring Actuator, students work extensively at testing and debugging Spring Boot applications.

Working in a hands-on learning environment, led by our expert practitioner, students will:

  • Review the concept of Java-based configuration
  • Become familiar with the conditionally loading bean definitions and Application Contexts
  • Understand how to leverage the power of Spring Boot
  • Use Spring Boot to create and work with JPA repositories
  • Use Spring Boot to work in conjunction with Spring Cloud
  • Understand the Spring Cloud project and how it relates to general Cloud concepts and practices
  • Work with Spring Cloud configuration and the Config Client

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,  Java / JEE / Java for Web programming, 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

This introduction to Spring development course requires that incoming students possess solid Java programming skills and practical hands-on Java experience.  This class is geared for experienced Java developers who are new to Spring, who wish to understand how and when to use Spring in Java and JEE applications. 

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.

Course Agenda

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

Session: Introduction to Spring

Lesson: 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

Lesson: 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
  • Lab: Spring Java Config

Lesson: 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
  • Lab: Configuring Bean Dependencies using Annotations
  • Lab: Creating the Candidate Component Index

Lesson: Introduction to Spring Boot

  • Introduce the basics of Spring Boot
  • Explain auto-configuration
  • Introduce the Spring Initializr application
  • Bootstrapping a Spring Boot application
  • Lab: Introduction to Spring using Spring Boot

Lesson: 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
  • Lab: Create REST Repository using Spring Boot

Session: Spring AOP

Lesson: Introduction to Aspect Oriented Programming

  • Aspect Oriented Programming
  • Cross Cutting Concerns

Lesson: Spring AOP

  • Spring AOP in a Nutshell
  • @AspectJ support
  • Spring AOP advice types
  • AspectJ pointcut designators
  • Lab: Spring AOP: Adding Interceptors

Session: Spring Boot 2

Lesson: Spring Boot Actuator

  • Understand Spring Boot Actuators
  • Work with predefined Actuator endpoints
  • Enabling Actuator endpoints
  • Securing the Actuator
  • Lab: The Spring Actuator
  • Lab: Securing the Spring Actuator

Lesson: Developing in Spring Boot

  • Introduce Spring Boot Devtools
  • Enable the ConditionEvaluationReport
  • Debugging Spring Boot applications
  • Lab: Discover the Spring DevTools

Lesson: Thymeleaf

  • Provide a quick overview of Thymeleaf
  • Introduce Thymeleaf templates
  • Create and run a Spring Thymeleaf MVC application
  • Lab: Add front-end to REST Repository

Session: Spring Cloud

Lesson: Spring Boot Additional Configuration

  • Common Property Overrides
  • ConditionEvaluationReport
  • Additional Configuration Options
  • Working with AutoConfiguration with Spring Cloud

Lesson: Spring Cloud Project

  • What is Spring Cloud
  • Explore the various Spring Cloud Project Tools
  • Learn about the Spring Cloud Project
  • Lab: Running the Micro-service

Lesson: Spring Cloud Config

  • Centralize Application Configuration
  • Introduce the Spring Cloud Config Project
  • Defining the Configuration server
  • Setup a Git repository to backup the server
  • Accessing the configuration server
  • Making service cloud config aware
  • Refreshing the service to apply updated property values
  • Lab: Setup a Spring Cloud Configuration Server

Lesson: Spring Cloud Registry and Discovery

  • Service repositories
  • Configuring the NetFlix Eureka server
  • Register a service with the repository
  • Lab: Setup a Spring Cloud Repository

Lesson: Spring Cloud GateWay

  • Edge (Gateway) services
  • Enable the Zuul reverse Proxy
  • Access the back-end service through gateway
  • Explain the purpose of a Micro-proxy
  • Implement and API Gateway
  • Add circuit breakers to provide alternative paths in case of service failures
  • Lab: Creating the Flight-Service micro-proxy

Course Materials

Each student will receive a Student Guide with course notes, code samples, software tutorials, step-by-step written lab instructions, diagrams and related reference materials and links (as applicable). 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 your student machines and learning environment is setup, tested and ready to go well in advance of the course delivery date, ensuring a smooth start to class and seamless hands-on experience for your students. We offer several flexible student machine setup options including guided manual set up for simple installation directly on student machines, or cloud based / remote hosted lab solutions where students can log in to a complete separate lab environment minus any installations, or we can supply complete turn-key, pre-loaded equipment to bring ready-to-go student machines to your students or in-person facility.  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
Introduction to Spring, Spring Boot & Spring Cloud 3 Days Apr 28 to Apr 30 10:00 AM to 06:00 PM EST $2,195.00 Register
Introduction to Spring, Spring Boot & Spring Cloud 3 Days Aug 11 to Aug 13 10:00 AM to 06:00 PM EST $2,195.00 Register
Introduction to Spring, Spring Boot & Spring Cloud 3 Days Sep 15 to Sep 17 10:00 AM to 06:00 PM EST $2,195.00 Register
Introduction to Spring, Spring Boot & Spring Cloud 3 Days Oct 20 to Oct 22 10:00 AM to 06:00 PM EST $2,195.00 Register
Introduction to Spring, Spring Boot & Spring Cloud 3 Days Dec 2 to Dec 4 10:00 AM to 06:00 PM EST $2,195.00 Register

New Site, BIG Savings!
We're celebrating the launch of our lonnngggg awaited new site with with *50% off all 2021 Public Classes* booked by March 31!  Check out our Current Offers for Individuals, Teams and Organizations to Learn for Less!

See our latest Offers and Promotions

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