![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring Boot
Soulballad
这个作者很懒,什么都没留下…
展开
-
17.SpringBoot学习(十七)——Spring Boot 自定义Starter
1.简介1.1 概述A typical Spring Boot starter contains code to auto-configure and customize the infrastructure of a given technology, let’s call that “acme”. To make it easily extensible, a number of configuration keys in a dedicated namespace can be exposed原创 2020-08-02 22:29:20 · 212 阅读 · 0 评论 -
16.SpringBoot学习(十六)——Spring Boot MessageConverter消息转换器
1.简介1.1 概述Spring MVC uses the HttpMessageConverter interface to convert HTTP requests and responses. Sensible defaults are included out of the box. For example, objects can be automatically converted to JSON (by using the Jackson library) or XML (by usi原创 2020-08-02 22:28:15 · 1669 阅读 · 0 评论 -
15.SpringBoot学习(十五)——Spring Boot WebFlux路由
1.简介1.1 概述In WebFlux.fn, an HTTP request is handled with a HandlerFunction: a function that takes ServerRequest and returns a delayed ServerResponse (i.e. Mono<ServerResponse>). Both the request and the response object have immutable contracts tha原创 2020-08-02 22:26:39 · 835 阅读 · 0 评论 -
14.SpringBoot学习(十四)——Spring Boot WebFlux初体验
1.简介1.1 概述Spring WebFlux is the new reactive web framework introduced in Spring Framework 5.0. Unlike Spring MVC, it does not require the Servlet API, is fully asynchronous and non-blocking, and implements the Reactive Streams specification through the原创 2020-08-02 22:25:23 · 335 阅读 · 0 评论 -
13.SpringBoot学习(十三)——JDBC之 Spring Boot Jpa多数据源
1.简介1.1 概述在实际项目中一般是一个数据源,但是在某些特殊场景可能需要多个数据源,这里以 spring boot jpa 为例演示一下多数据源的配置和使用。2.演示环境JDK 1.8.0_201Spring Boot 2.2.0.RELEASE构建工具(apache maven 3.6.3)开发工具(IntelliJ IDEA )3.演示代码3.1 代码说明配置两个数据源,分别是 masterDataSource 和 slaveDataSource,它们由两个配置类 Maste原创 2020-08-02 22:23:50 · 130 阅读 · 0 评论 -
12.SpringBoot学习(十二)——JDBC之 Spring Boot Mybatis
1.简介1.1 概述The MyBatis-Spring-Boot-Starter help you build quickly MyBatis applications on top of the Spring Boot.By using this module you will achieve:Build standalone applicationsReduce the boilerplate to almost zeroLess XML configurationMyBatis原创 2020-07-26 22:16:30 · 177 阅读 · 0 评论 -
11.SpringBoot学习(十一)——JDBC之 Spring Boot JdbcTemplate
1.简介1.1 概述This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors. It executes core JDBC workflow, leaving application code to provide SQL and extract results. This class executes SQL queries or原创 2020-07-26 22:14:48 · 217 阅读 · 0 评论 -
10.SpringBoot学习(十)——JDBC之 Spring Boot Jpa
1.简介1.1 概述The Java Persistence API is a standard technology that lets you “map” objects to relational databases. The spring-boot-starter-data-jpa POM provides a quick way to get started. It provides the following key dependencies:Hibernate: One of the原创 2020-07-26 22:12:30 · 246 阅读 · 0 评论 -
9.SpringBoot学习(九)——Spring Boot Admin使用
1.简介1.1 概述Spring Boot Admin is a community project to manage and monitor your Spring Boot ® applications. The applications register with our Spring Boot Admin Client (via HTTP) or are discovered using Spring Cloud ® (e.g. Eureka, Consul). The UI is just原创 2020-07-26 22:10:22 · 935 阅读 · 1 评论 -
8.SpringBoot学习(八)——Spring Boot Actuator监控
1.简介1.1 概述Spring Boot includes a number of additional features to help you monitor and manage your application when you push it to production. You can choose to manage and monitor your application by using HTTP endpoints or with JMX. Auditing, health, a原创 2020-07-20 22:32:14 · 670 阅读 · 0 评论 -
7.SpringBoot学习(七)——Spring Boot Email发送邮件
1.简介1.1 概述The Spring Framework provides an easy abstraction for sending email by using the JavaMailSender interface, and Spring Boot provides auto-configuration for it as well as a starter module.Spring Framework 通过使用 JavaMailSender 接口提供了用于发送电子邮件的简单抽象原创 2020-07-19 22:18:51 · 585 阅读 · 0 评论 -
6.SpringBoot学习(六)——Spring Boot Banner自定义
1.简介1.1 概述The banner that is printed on start up can be changed by adding a banner.txt file to your classpath or by setting the spring.banner.location property to the location of such a file. If the file has an encoding other than UTF-8, you can set spr原创 2020-07-13 19:56:03 · 355 阅读 · 0 评论 -
5.SpringBoot学习(五)——Spring Boot Profile用法
1.简介1.1 概述Spring Profiles provide a way to segregate parts of your application configuration and make it be available only in certain environments. Any @Component, @Configuration or @ConfigurationProperties can be marked with @Profile to limit when it i原创 2020-07-12 22:41:44 · 704 阅读 · 0 评论 -
3.SpringBoot学习(三)——Spring Boot WebMVC及其工作原理
1.简介1.1 概述The Spring portfolio provides two parallel stacks. One is based on a Servlet API with Spring MVC and Spring Data constructs. The other is a fully reactive stack that takes advantage of Spring WebFlux and Spring Data’s reactive repositories. In原创 2020-07-12 18:46:09 · 1091 阅读 · 0 评论 -
2.SpringBoot学习(二)——Spring Boot ConfigurationProperties
1.简介1.1 概述Annotation for externalized configuration. Add this to a class definition or a @Bean method in a @Configuration class if you want to bind and validate some external Properties (e.g. from a .properties file).Binding is either performed by call原创 2020-07-11 22:23:25 · 371 阅读 · 0 评论 -
1.SpringBoot学习(一)——第一个Spring Boot Web应用
1.简介1.1 概述Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Sp原创 2020-07-10 22:32:50 · 252 阅读 · 0 评论