摘要: 本文介绍SpringBoot定时任务的使用,springboot默认已经帮我们实行了,只需要添加相应的注解就可以实现。 1.pom配置文件 pom包里面只需要引入springboot starter包即可。 2、启动类启用定时 在启动类上面加上@EnableScheduling即可开启定时。 3、创 阅读全文
posted @ 2018-08-06 17:20 shawWey 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 本文介绍SpringBoot使用的模板技术thymeleaf以及通过webJar进行前端资源的引入以及使用thymeleaf介绍简单说, Thymeleaf 是一个跟 Velocity、FreeMarker 类似的模板引擎,它可以完全替代 JSP 。相较与其他的模板引擎,它有如下三个极吸引人的特点: 阅读全文
posted @ 2018-08-06 16:53 shawWey 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 本文基于前面的springBoot系列文章进行学习,主要介绍redis的使用。 SpringBoot对常用的数据库支持外,对NoSQL 数据库也进行了封装自动化。 redis介绍 Redis是目前业界使用最广泛的内存数据存储。相比memcached,Redis支持更丰富的数据结构,例如hashes, 阅读全文
posted @ 2018-08-06 14:24 shawWey 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Spring boot初级教程 :《SpringBoot入门教学篇①》,方便大家快速入门、了解实践Spring boot特性,本文介绍springBoot的web开发 web开发spring boot web开发非常的简单,其中包括常用的json输出、filters、property、log等。js 阅读全文
posted @ 2018-08-06 11:22 shawWey 阅读(676) 评论(0) 推荐(0) 编辑