标签: SpringBoot

14 篇文章

SpringBoot缓存使用
SpringBoot缓存使用 JSR-107 什么是JSR-107 JSR是Java Specification Requests 的缩写 ,Java规范请求,故名思议提交Java规范,大家一同遵守这个规范的话,会让大家‘沟通’起来更加轻松, JSR-107呢就是关于如何使用缓存的规范。 JSR-107缓存规范 Java Caching定义了5个核…
01配置相关
1.介绍 这是一位大佬的写的,内容质量很高,而且也没有太深奥,不会导致我这种小白看不懂。没有采用收藏夹等方式来收藏这些文章,而是用博客来记录,目的是为了集中管理,方便个人每周的复盘学习和平时使用到了相关知识好方便找到这些文章来扩展复习,毕竟所学的知识不使用的话,会渐渐忘掉的。总的来说,之前的文章都是对SpringBoot的简单使用,接下来的文章算是…
二.使用Redis
1. pom <!--redis启动器坐标--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> &…
一.使用Ehcache
1. pom <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>2.8.9</version> </dependency> 2…
SpringBoot快速部署
1. 热部署 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <d…
2.实现增删查改
1. 目录 2. mapper public interface UsersMapper { void insertUser(Users uses); int deleateUser(int id); List<Users> selectAllUser(); Users findUser(int id); int updateUser(…