1、File->New Project。 http://start.springboot.io 2、下一步。 3、选择依赖。 4、生成项目。 5、运行。 6、设置Tomcat端口 src\main\resources\application.properties server.port=9001 ...
分类:
编程语言 时间:
2021-06-09 10:37:26
阅读次数:
0
Dapr at 20,000 feet 俯瞰Dapr In chapter 1, we discussed the appeal of distributed microservice applications. But, we also pointed out that they dramatic ...
分类:
Web程序 时间:
2021-06-08 23:37:22
阅读次数:
0
springboot整合mybatis框架 mybaits类似与hibernate框架,对数据库进行增删改查操作 mybatis半自动化的ORM框架 mybatis的优势:自己写sql更加灵活 过程:1.在navicat 新建test1表并添加数据 2.在pom.xml添加相关的依赖 包含父依赖,软 ...
分类:
其他好文 时间:
2021-06-08 23:36:30
阅读次数:
0
1、添加mybatis依赖 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </ ...
分类:
编程语言 时间:
2021-06-08 22:31:11
阅读次数:
0
Spring Cloud Gateway是Spring官方基于Spring5.0,Spring Boot2.0和Project Reactor等技术开发的网关,Spring Cloud Gateway旨在为微服务架构提供简单,有效且统一的API路由管理方式。Spring Cloud Gateway作 ...
分类:
编程语言 时间:
2021-06-07 19:52:19
阅读次数:
0
一、logback简介 官网:https://logback.qos.ch/ springboot默认使用的日志框架是logback,它由三个模块组成: logback-core:是其它模块的基础设施,其它模块基于它构建; logback-classic:它的地位和作用等同于 Log4J,它也被认为 ...
分类:
其他好文 时间:
2021-06-06 19:37:59
阅读次数:
0
最近k8s实在流行,好多服务都上了k8s,用着阿里巴巴的nacos,很爽。 直到,曾经有人提出了疑问:既然k8s有了服务注册中心,为啥还要nacos? 然后啊,就hang住了,百思不得其解。直到思考出了下图: 其实就是看现有团队实际情况, 正向考虑的话是:各种够不够强大: 运维团队够不够强大搞ist ...
分类:
其他好文 时间:
2021-06-06 19:27:40
阅读次数:
0
从Spring到SpringBoot浅谈 一、Spring能做什么 (一)、Spring的能力 (二)、spring的生态 https://spring.io/projects/spring-boot 覆盖了:web开发、数据访问、安全控制、分布式消息服务、移动开发、批处理等。 (三)、Spring ...
分类:
编程语言 时间:
2021-06-06 19:26:01
阅读次数:
0
一、SpringBoot 2.x的配置方法; 1、通过spring-boot-starter-cache导入依赖; 2、spring-boot-autoconfigureCache的CacheAutoConfiguration负责全局的cache管理,RedisCacheConfiguration负 ...
分类:
编程语言 时间:
2021-06-06 19:24:05
阅读次数:
0
当用jmeter压测时候,报的该错; 这是堆外内存溢出: ...
分类:
编程语言 时间:
2021-06-06 19:14:25
阅读次数:
0