Close

Tóm tắt khóa học:

Khóa học kéo dài 2 ngày này cung cấp kinh nghiệm với Spring Boot và các tính năng chính của nó, bao gồm cấu hình tự động, Actuator, khung thử nghiệm Spring Boot và nhiều tính năng khác. Sau khi hoàn thành, người tham gia sẽ có nền tảng để tạo các ứng dụng doanh nghiệp và đám mây.

Thời lượng khóa học: 2 Ngày


Nội dung khóa học:

1 Introduction to Spring Essentials

  • Why Spring
  • Configuration using Spring
  • Bean creation
  • Data Management

2 Spring Boot Introduction

  • Introduction to Spring Boot Features
  • Value Proposition of Spring Boot
  • Creating a simple Boot application using Spring Initializr website

3 Spring Boot – A Closer Look

  • Dependency management using Spring Boot starters
  • How auto-configuration works
  • Configuration properties
  • Overriding auto-configuration
  • Using CommandLineRunner

4 Spring Boot – Spring Data JPA

  • Quick introduction to ORM with JPA
  • Benefits of using Spring with JPA
  • JPA configuration in Spring
  • Configuring Spring JPA using Spring Boot
  • Spring Data JPA dynamic repositories

5 Web Applications with Spring Boot

  • Introduction to Spring MVC and request processing
  • Controller method signatures
  • Using @Controller, @RestController and @GetMapping annotations
  • Configuring Spring MVC with Spring Boot
  • Spring Boot packaging options, JAR or WAR

6 RESTful Application with Spring Boot

  • An introduction to the REST architectural style
  • Controlling HTTP response codes with @ResponseStatus
    • Implementing REST with Spring MVC, @RequestMapping, @RequestBody and @ResponseBody
    • Spring MVC’s HttpMessageConverters and automatic content negotiation

7 Spring Boot Testing

  • Spring Boot testing overview
  • Integration testing using @SpringBootTest
  • Web slice testing with MockMvc framework
  • Slices to test different layers of the application

8 Securing REST Application with Spring Security

  • What problems does Spring Security solve?
  • Configuring authentication
  • Implementing authorization by intercepting URLs
  • Authorization at the Java method level
  • Understanding the Spring Security filter chain
  • Spring security testing

9 Actuators, Metrics and Health Indicators

  • Exposing Spring Boot Actuator endpoints
  • Custom Metrics
  • Health Indicators
  • Creating custom Health Indicators
  • External monitoring systems