![](https://img-blog.csdnimg.cn/20191014184519292.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Springboot
孔彬的技术专栏
这个作者很懒,什么都没留下…
展开
-
Sprinboot创建web项目集成mybatis+mysql+druid
Sprinboot创建web项目集成mybatis+mysql+druid一、创建工程的方法方法1: 使用 https://start.spring.io/ 创建工程,在web页面进行工程的创建,然后下载工程的压缩包,解压后导入开发工具。操作如下图所示:方法2: 使用开发者工具创建工程,示例使用的是idea开发者工具。idea开发者工具使用自己的图形界面进行工程的创建,最终也是从spring.io站点下载相应的工程压缩包,解压后打开。操作上会比从web页面上操作方便此,推荐使用这种方式创建工程。如下原创 2020-05-26 21:39:05 · 327 阅读 · 0 评论 -
Springboot线程池配置管理
Springboot线程池配置管理1. 线程池配置类package com.bin.kong.csdnspider.config;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springfr...原创 2019-09-28 18:22:18 · 3373 阅读 · 0 评论 -
Springboot使用@Scheduled配置定时任务
Springboot使用@Scheduled配置定时任务串行方式使用的注解: @Scheduled应用启动类添加注解:@EnableScheduling代码示例:package com.bin.kong.csdnspider.job;import lombok.extern.slf4j.Slf4j;import org.springframework.scheduling.annot...原创 2019-09-28 19:54:03 · 3139 阅读 · 3 评论