Course Catalog
Introduction to Spring, Spring Boot & Spring Cloud (TT3324)
Code: TT3324
Duration: 3 Day
$2195 USD

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. This course targets Spring Boot 2, which includes full support for Java 8 and JEE 7 (earlier versions of Java and JEE continue to be supported). 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.

DELIVERY FORMAT

This course is available in the following formats:

Virtual Classroom

Duration: 3 Day
Classroom

Duration: 3 Day

CLASS SCHEDULE
Call 800-798-3901 to enroll in this class!

GOALS

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.

Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" application development and Spring experience into every classroom. 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
OUTLINE

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

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

Lesson: Introduction to Spring Boot

  • Introduce the basics of Spring Boot
  • Explain auto-configuration
  • Introduce the Spring Initializr application
  • Bootstrapping a Spring Boot application

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

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

Session: Spring Boot 2

Lesson: Spring Boot Actuator

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

Lesson: Developing in Spring Boot

  • Introduce Spring Boot Devtools
  • Enable the ConditionEvaluationReport
  • Debugging Spring Boot applications

Lesson: Thymeleaf

  • Provide a quick overview of Thymeleaf
  • Introduce Thymeleaf templates
  • Create and run a Spring Thymeleaf MVC applicatio

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

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

Lesson: Spring Cloud Registry and Discovery

  • Service repositories
  • Configuring the NetFlix Eureka server
  • Register a service with the 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

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

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

Lesson: Introduction to Spring Boot

  • Introduce the basics of Spring Boot
  • Explain auto-configuration
  • Introduce the Spring Initializr application
  • Bootstrapping a Spring Boot application

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

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

Session: Spring Boot 2

Lesson: Spring Boot Actuator

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

Lesson: Developing in Spring Boot

  • Introduce Spring Boot Devtools
  • Enable the ConditionEvaluationReport
  • Debugging Spring Boot applications

Lesson: Thymeleaf

  • Provide a quick overview of Thymeleaf
  • Introduce Thymeleaf templates
  • Create and run a Spring Thymeleaf MVC applicatio

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

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

Lesson: Spring Cloud Registry and Discovery

  • Service repositories
  • Configuring the NetFlix Eureka server
  • Register a service with the 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
LABS

This hands-on course focuses on ‘learning by doing’, combining expert lecture, practical demonstrations and group discussions with plenty of machine-based real-world programming labs and exercises. Student machines are required.

This hands-on course focuses on ‘learning by doing’, combining expert lecture, practical demonstrations and group discussions with plenty of machine-based real-world programming labs and exercises. Student machines are required.

WHO SHOULD ATTEND

Java Developers, Application Developers, Full Stack Developers, Technical Managers, Architects.

PREREQUISITES

This introduction to Spring development course requires that incoming students possess solid Java 8 or later 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.