Comprehensive Spring Boot/Cloud Training

4 Days

Description

Rapid advancements in cloud-based software delivery and virtualization have caused many developers to question the wisdom of a “Big Server” approach to deploying web applications. Spring Boot is a technology stack that builds on the popular Spring Framework to allow Spring-based applications as stand-alone jar files that host their own web servers. This approach works nicely with deployment automation and rapid scaling.

Cloud-based, highly-distributed applications face additional challenges in supporting a dynamic environment – especially around configuration, service discovery, service resilience and monitoring.  Spring Cloud embraces and extends the popular suite of open source cloud tools published by Netflix (Eureka, Hystrix, Ribbon, etc).

This course introduces Spring Boot, Spring Cloud and the Netflix OSS suite as a way of deploying highly resilient and scalable RESTful services and web applications.

OBJECTIVES

In this training, attendees will learn how to:

  • Create Spring Boot projects
  • Use databases and JPA in Spring Boot
  • Create RESTful services with Spring Boot
  • Deploy services that use Netflix Eureka, Hystrix and Ribbon to create resilient and scalable services

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Comprehensive Spring Boot/Cloud Training class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

  • CHAPTER 1. SPRING FRAMEWORK CONFIGURATION
    • Java @Configuration Classes
    • Defining @Configuration Classes
    • Loading @Configuration Classes
    • Modularizing @Configuration Classes
    • Qualifying @Bean Methods
    • Trouble with Prototype Scope
    • Configuration with Spring Expression Language
    • Resolving Text Messages
    • Spring Property Conversion
    • Spring Converter Interface
    • Using Custom Converters
    • Spring PropertyEditors
    • Registering Custom PropertyEditors
    • Summary
  • CHAPTER 2. INTRODUCTION TO SPRING BOOT
    • What is Spring Boot?
    • Spring Boot Main Features
    • Spring Boot on the PaaS
    • Understanding Java Annotations
    • Spring MVC Annotations
    • Example of Spring MVC-based RESTful Web Service
    • Spring Booting Your RESTful Web Service
    • Spring Boot Skeletal Application Example
    • Converting a Spring Boot Application to a WAR File
    • Externalized Configuration
    • Starters
    • The 'pom.xml' File
    • Spring Boot Maven Plugin
    • HOWTO: Create a Spring Boot Application
    • Summary
  • CHAPTER 3. SPRING MVC
    • Spring MVC
    • Spring Web Modules
    • Spring MVC Components
    • DispatcherServlet
    • Template Engines
    • Spring Boot MVC Example
    • Spring MVC Mapping of Requests
    • Advanced @RequestMapping
    • Composed Request Mappings
    • Spring MVC Annotation Controllers
    • Controller Handler Method Parameters
    • Controller Handler Method Return Types
    • View Resolution
    • Spring Boot Considerations
    • Summary
  • CHAPTER 4. OVERVIEW OF SPRING BOOT DATABASE INTEGRATION
    • DAO Support in Spring
    • Spring Data Access Modules
    • Spring JDBC Module
    • Spring ORM Module
    • DataAccessException
    • @Repository Annotation
    • Using DataSources
    • DAO Templates
    • DAO Templates and Callbacks
    • ORM Tool Support in Spring
    • Summary
  • CHAPTER 5. USING SPRING WITH JPA OR HIBERNATE
    • Spring JPA
    • Benefits of Using Spring with ORM
    • Spring @Repository
    • Using JPA with Spring
    • Configure Spring Boot JPA EntityManagerFactory
    • Application JPA Code
    • "Classic" Spring ORM Usage
    • Spring JpaTemplate
    • Spring JpaCallback
    • JpaTemplate Convenience Features
    • Spring Boot Considerations
    • Spring Data JPA Repositories
    • Summary
  • CHAPTER 6. SPRING REST SERVICES
    • Many Flavors of Services
    • Understanding REST
    • RESTful Services
    • REST Resource Examples
    • REST vs SOAP
    • REST Services With Spring MVC
    • Spring MVC @RequestMapping with REST
    • Working With the Request Body and Response Body
    • @RestController Annotation
    • Implementing JAX-RS Services and Spring
    • JAX-RS Annotations
    • Java Clients Using RestTemplate
    • RestTemplate Methods
    • Summary
  • CHAPTER 7. SPRING SECURITY
    • Securing Web Applications with Spring Security 3.0
    • Spring Security 3.0
    • Authentication and Authorization
    • Programmatic v Declarative Security
    • Getting Spring Security from Maven
    • Spring Security Configuration
    • Spring Security Configuration Example
    • Authentication Manager
    • Using Database User Authentication
    • LDAP Authentication
    • Summary
  • CHAPTER 8. SPRING JMS
    • Spring JMS
    • JmsTemplate
    • Connection and Destination
    • JmsTemplate Configuration
    • Transaction Management
    • Example Transaction Configuration
    • Producer Example
    • Consumer Example
    • Converting Messages
    • Message Listener Containers
    • Message-Driven POJO's Async Receiver Example
    • Message-Driven POJO's Async Receiver Configuration
    • Spring Boot Considerations
    • Summary
  • CHAPTER 9. INTRODUCTION TO MICROSERVICES
    • What is a "Microservice"?
    • SOA - Microservices Relationship
    • ESB - Microservices Relationship
    • One Helpful Analogy
    • The Driving Forces Behind Microservices
    • How Can Microservices Help You?
    • The Microservices Architecture
    • Utility Microservices at AWS
    • Microservices Inter-connectivity
    • The Data Exchange Interoperability Consideration
    • Managing Microservices
    • Implementing Microservices
    • Embedding Databases in Java
    • Microservice-Oriented Application Frameworks and Platforms
    • Summary
  • CHAPTER 10. SPRING CLOUD CONFIG
    • Externalized Configuration
    • Configuration in the Cloud
    • Using the Spring Cloud Config subsystem
  •  CHAPTER 11. SERVICE DISCOVERY WITH NETFLIX EUREKA
    • Flexible and reconfigurable services
    • Service Discovery
    • Health Monitoring
    • Rerouting Services
    • Eureka Server
    • Eureka Client
  • CHAPTER 12. LOAD BALANCING WITH NETFLIX RIBBON
    • Introduction to Load Balancing
    • Client-side vs Server-side load balancing
    • Client-side proxies
    • The Feign client framework
    • Netflix Ribbon
    • Integrating Ribbon and Eureka
  • CHAPTER 13. CIRCUIT BREAKERS WITH NETFLIX HYSTRIX
    • The Eight Fallacies of Distributed Computing
    • Partial and Transient Failure
    • The Circuit Breaker Pattern
    • Integration with Health Monitoring
    • Monitoring Hystrix
  • CHAPTER 14. EDGE COMPONENTS WITH NETFLIX ZUUL
    • Architecture for horizontal scaling
    • “In the Cloud” vs “At the Edge of the Cloud”
    • “Server-side” load balancing
    • Netflix Zuul
    • Configuring and Deploying Zuul
  • CHAPTER 15. DISTRIBUTED TRACING WITH OPEN ZIPKIN
    • Introduction to Tracing
    • Instrumentation
    • Integration with Spring Boot
    • Viewing Trace Data
  • LAB EXERCISES
    • Lab 1. A Simple RESTful API in Spring Boot
    • Lab 2. Use the Spring Web MVC Web Framework under Spring Boot
    • Lab 3. Use the Spring JDBCTemplate under Spring Boot
    • Lab 4. Use the Spring Data JPA under Spring Boot
    • Lab 5. Create a RESTful API with Spring Boot
    • Lab 6. Create a RESTful Client with Spring Boot
    • Lab 7. Enable Basic Security
    • Lab 8. Use AMQP Messaging with Spring Boot
    • Lab 9. Use Netflix Eureka for Service Discovery
    • Lab 10. Use Netflix Ribbon for Client-Side Load Balancing
    • Lab 11. Use Netflix Hystrix for the Circuit Breaker Pattern
    • Lab 12. Spring Boot Project

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Comprehensive Spring Boot/Cloud Training class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

Students should have experience with Java development

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a Comprehensive Spring Boot/Cloud Training class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date