话不多说,直接开干。 1.添加一个热部署的依赖到你项目的pom.xml中 <!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> ...
分类:
编程语言 时间:
2021-01-05 11:00:04
阅读次数:
0
1.概述 基本说明 官网 上一代网关 zuul https://github.com/Netflix/zuul/wiki 当前gateway https://cloud.spring.io/spring-cloud-static/spring-cloud-gateway/2.2.1.RELEASE/ ...
分类:
编程语言 时间:
2021-01-05 10:55:55
阅读次数:
0
RabbitMQ是流行的开源消息队列系统,用erlang语言开发。RabbitMQ是AMQP(高级消息队列协议)的标准实现。如果不熟悉AMQP,直接看RabbitMQ的文档会比较困难。不过它也只有几个关键概念,这里简单介绍。 RabbitMQ的结构图如下: 几个概念说明: Broker:简单来说就是 ...
分类:
编程语言 时间:
2021-01-05 10:41:54
阅读次数:
0
1.概述 OpenFeign是什么 Feign是一个声明式的web服务客户端,让编写web服务客户端变得容易,只需创建一个接口并在接口上添加注解即可 https://github.com/spring-cloud/spring-cloud-openfeign 能干嘛 Feign和OpenFeign两 ...
分类:
编程语言 时间:
2021-01-05 10:40:40
阅读次数:
0
https://www.cnblogs.com/yichunguo/p/12122598.html 目录 1、@Import注解须知 2、@Import的三种用法 3、@Import注解的三种使用方式总结 @ 1、@Import注解须知 1、@Import只能用在类上 ,@Import通过快速导入的 ...
分类:
编程语言 时间:
2021-01-04 11:17:06
阅读次数:
0
SpringBoot1.x 数据访问 简介 对于数据访问层,无论是 SQL 还是 NOSQL,Spring Boot 默认采用整合 Spring Data 的方式进行统一处理,添加大量自动配置,屏蔽了很多设置。引入各种 xxxTemplate,xxxRepository 来简化我们对数据访问层的操作 ...
分类:
编程语言 时间:
2021-01-04 10:50:37
阅读次数:
0
一、 前端(<a th:href="@{'/record_details/'+${record.id}}" target="_blank"></a>: <a th:href="@{'/record_details/'+${record.id}}" target="_blank"> <i><img t ...
分类:
编程语言 时间:
2021-01-04 10:36:42
阅读次数:
0
spring4.0之二:@Configuration的使用 从Spring3.0,@Configuration用于定义配置类,可替换xml配置文件,被注解的类内部包含有一个或多个被@Bean注解的方法,这些方法将会被AnnotationConfigApplicationContext或Annotat ...
分类:
编程语言 时间:
2021-01-04 10:31:50
阅读次数:
0
概述 Overview 什么是Spring Boot? Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". 这是来自S ...
分类:
编程语言 时间:
2021-01-04 10:29:55
阅读次数:
0
Spring Security 学习之旅开端 SpringSecurity 开始 1. 引入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifact ...
分类:
编程语言 时间:
2021-01-02 11:41:32
阅读次数:
0