Exclusive offer! Ali senior technical expert and Github contributor, organized SpringBoot entry to Chengshen Notes

This document is " SpringBoot is amazing " compiled by a big guy from Alibaba and a contributor to the domestic Spring open source project ! This identity? this background? I don't need to say more about the quality, the content is very comprehensive, a total of seven modules have been sorted out, everything from entry-level to advanced combat integration architecture! Contains:

  • SpringBoot quick start (use IDEA to quickly build SpringBoot/Cloud projects)
  • Spring Boot Web development (RESTful API service + JSON + Swagger2 + FreeMarker)
  • Spring Boot data access (Spring Data JPA+JdbcTemplate+Redis+MongoDB+Mybaits+Druid+Annotation)
  • Spring Boot log management (log4j+AOP+ request log)
  • Spring Boot monitoring management (Actuator monitoring endpoint)
  • Spring Boot integrates Dubbo (integrate Dubbo/ZooKeeper+SOA+Activate+applications.properties configuration list)
  • Spring Boot integrates Elasticsearch (Elasticsearch+basic case+practical case)
  • Spring Boot monitoring management (application visual monitoring)
Each knowledge point has a navigation bookmark page on the left, which is very convenient to read. Since there are many contents, let’s take a part of the picture here.

Spring Boot Quick Start

Use Spring Initializr in Intellj to quickly build Spring Boot/Cloud projects

Detailed Explanation of HelloWorld in Spring Boot

  • SpringBoot readme
  • Detailed explanation of HelloWorld actual combat
  • pom.xml configuration
  • Start the application class
  • Controller layer test class

Detailed explanation of Spring Boot configuration files: custom attributes, random numbers, multi-environment configuration, etc.

  • Spring Boot pom configuration
  • Spring Boot startup and principle
  • Custom properties and loading
  • References between parameters
  • use random numbers
  • Setting property values ​​via the command line
  • Multi-environment configuration

Detailed Explanation of Spring Boot Configuration File

  • automatic configuration
  • custom attributes
  • random.* properties
  • Multi-environment configuration

Spring Boot Web Development

Spring Boot builds a more complex RESTful API and unit test

Spring Boot implements Restful service based on HTTP/JSON transmission

  • Run the springboot-restful project
  • database preparation
  • Springboot-restful project structure introduction
  • Change database configuration
  • compile project
  • Run the project
  • Detailed Implementation of Springboot-restful Engineering Control Layer
  • What is REST?
  • Spring's implementation of REST support
  • HTTP Knowledge Supplement

Spring Boot uses Swagger2 to build RESTful API

  • Add Swagger2 dependency
  • Create a Swagger2 configuration class
  • Add document content
  • API document access and debugging

Spring Boot integrates FreeMarker

  • Springboot those things
  • Run the Springboot-Freemarker project
  • Detailed explanation of Springboot-freemarker project configuration
  • pom.xml dependencies
  • Configure FreeMarker
  • Detailed explanation of the presentation layer Controller

Spring Boot data access

Spring Boot uses Spring-data-jpa to simplify the data access layer

  • Example of use
  • Project configuration
  • create entity
  • Create a data provider
  • unit test

Spring Boot Two Multiple Data Source Configurations: JdbcTemplate, Spring-data-jpa

  • Multiple data source configuration
  • JdbcTemplate support
  • Spring-data-jpa support

Spring Boot uses NoSQL database (1): Redis

  • Use Redis
  • Introduce dependencies
  • parameter configuration
  • test access

Spring Boot uses NoSQL database (2): MongoDB

  • Introduction to MongoDB
  • access MongoDB
  • Introduce dependencies
  • Quick start using Spring-data-mongodb
  • parameter configuration

A complete Web case of Spring Boot integrating Mybatis

  • Run the springboot-mybatis project
  • database preparation
  • Introduction to project structure
  • Change database configuration
  • compile project
  • Run the project
  • Detailed explanation of Springboot-mybatis project configuration

Spring Boot integrated Mybatis Annotation annotation case

  • Run the springboot-mybatis-annotation project
  • Detailed explanation of springboot-mybatis-annotation project configuration
  • pom add Mybatis dependency
  • Add annotations @Mapper, @Select and @Results to the CityDao city data operation layer interface class

Spring Boot integrates Mybatis to realize Druid multi-data source configuration

  • Application Scenarios of Multiple Data Sources
  • Run the springboot-mybatis-mutil-datasource project case
  • Springboot-mybatis-mutil-datasource project code configuration details
  • Mybatis relies on Druid through Spring Boot Mybatis Starter, which is a database connection pool dependency
  • application.properties configures two data source configurations

Spring Boot log management

Spring Boot default log configuration

  • format log
  • console output
  • file output
  • level control
  • Custom log configuration
  • Custom output format

Spring Boot uses log4j to record logs

  • Introduce log4j dependency
  • Configure log4j.properties
  • console output
  • output to file
  • classification output

Spring Boot uses AOP to process web request logs uniformly

  • preparations
  • Introduce AOP dependency
  • Realize the log aspect of the web layer
  • Synchronization issues in AOP aspects
  • Priority of AOP aspects

Spring Boot monitoring management

  • Getting to know Actuator
  • native endpoint
  • Application configuration class
  • Metric class
  • Operation control class

Spring Boot integrates Dubbo

Spring Boot integrates Dubbo/ZooKeeper and explains SOA cases in detail

  • Why Integrate Dubbo to Realize SOA
  • ZooKeeper service registry
  • git clone download project springboot-learning-example
  • Run springboot-dubbo-server Dubbo service provider project
  • Run springboot-dubbo-client Dubbo service consumer project
  • Detailed Explanation of Springboot-dubbo-server and springboot-dubbo-client Engineering Configuration
  • Detailed explanation of springboot-dubbo-server Dubbo service provider project

How to use Dubbo Activate extension point in Spring Boot

  • What is Dubbo Activate annotation
  • Use Dubbo Activate annotations

Spring Boot Dubbo applications.properties configuration list

  • applications.properties configuration list
  • @Service service provider common configuration
  • Common configuration of @Reference service consumers

Spring Boot整合Elasticsearch

Spring Boot 整合 Elasticsearch

  • Search actual combat scene requirements
  • Run the spring-data-elasticsearch-query project
  • The daemon thread starts Elasticsearch in the background
  • Introduction to project structure
  • Spring-data-elasticsearch-query project code detailed explanation
  • ES data operation layer
  • City ES business logic implementation class

A preliminary study on the ElasticSearch architecture of spring-data-elasticsearch in simple terms

  • Elasticsearch Basic Terminology
  • Documentation
  • Index
  • type
  • Cluster
  • Node
  • Shard
  • How Elasticsearch works
  • Document storage routing
  • How to health check the cluster name
  • How to expand horizontally

Simple explanation of spring-data-elasticsearch – overview and entry

  • What is spring-data-elasticsearch?
  • spring-data-elasticsearch 快速⼊⻔
  • spring-data-elasticsearch 和 elasticsearch

The space is limited, and it is impossible to display one answer to each question (these technical difficulties and real interview questions have been collected in this "SpringBoot Superb" collected by Alibaba bosses), readers and friends who feel the need, click below to send Gate Free Download:

In-depth explanation of spring-data-elasticsearch – detailed explanation of basic cases

  • Spring-data-elasticsearch-crud project introduction
  • spring-data-elasticsearch-crud工程
  • spring-data-elasticsearch-crud project code detailed explanation
  • The daemon thread starts Elasticsearch in the background
  • application.properties configure ES address
  • ES data operation layer
  • Entity class

In-depth explanation of spring-data-elasticsearch – detailed explanation of actual combat cases

  • Search actual combat scene requirements
  • Run the spring-data-elasticsearch-query project
  • spring-data-elasticsearch-query project code detailed explanation

Spring Boot monitoring management

Spring Boot application visual monitoring

  • Spring Boot application exposure monitoring indicators
  • Prometheus collects Spring Boot indicator data
  • Grafana visualizes monitoring data

Everything is proving that Spring Boot has become an essential skill for Java programmers. And it is foreseeable that the development of Spring Boot will be even better in the future. It is not an exaggeration to say that Spring Boot is the most important Java framework today.

I believe that the above-mentioned SpringBoot can become a stepping stone for you to enter a big factory such as BATJMZ.

Guess you like

Origin blog.csdn.net/javaAnPou/article/details/130525275