会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小名的同学
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
40
下一页
2019年8月21日
Spring Boot----安全
摘要: SpringBoot 整合 shiro(略) SpringBoot 整和 Spring Security 官方文档:https://docs.spring.io/spring-security/site/docs/5.1.6.RELEASE/reference/htmlsingle/ 1、添加依赖
阅读全文
posted @ 2019-08-21 11:26 小名的同学
阅读(177)
评论(0)
推荐(0)
2019年8月20日
Spring Boot----异步任务、定时任务、邮件任务、que务、定时任务、邮件任务、quertz
摘要: 定时任务 使用 @EnableScheduling //开启任务 @EnableScheduling @SpringBootApplication public class Springboot13Application { public static void main(String[] args
阅读全文
posted @ 2019-08-20 22:25 小名的同学
阅读(273)
评论(0)
推荐(0)
Spring Boot----整合Elasticsearch
摘要: 1、创建项目 SpringBoot 默认支持两种技术来和ES交互; 1、Jest(默认不生效:需要导入jest相关包) 2、SpringData ElasticSearch 2、测试Jest与ES交互 2.1注释掉 2.2 导入 2.3 配置 2.4 User 2.5 测试 3、SpringBoot
阅读全文
posted @ 2019-08-20 22:07 小名的同学
阅读(297)
评论(0)
推荐(0)
Spring Boot----SpringBoot 整合 RabbiMQ
摘要: 首先了解我的这篇博客:https://www.cnblogs.com/yanxiaoge/p/11379715.html(下面的基于这篇博客中的配置) 1、创建项目 <dependency> <groupId>org.springframework.boot</groupId> <artifactI
阅读全文
posted @ 2019-08-20 11:08 小名的同学
阅读(361)
评论(0)
推荐(0)
2019年8月19日
Spring Boot----RabbiMQ基础
摘要: 概述 1.大多应用中,可通过消息服务中间件来提升系统异步通信、扩展解耦能力 2.消息服务中两个重要概念: 消息代理(message broker,消息中间件服务器)和目的地(destination) 当消息发送者发送消息以后,将由消息代理接管,消息代理保证消息传递到指定目的地。 3.消息队列主要有两
阅读全文
posted @ 2019-08-19 21:06 小名的同学
阅读(315)
评论(0)
推荐(0)
2019年8月18日
Spring Boot----缓存
摘要: 一、JSR107(复杂性较高) Java Caching定义了5个核心接口,分别是CachingProvider,ICacheManager,Cache,Entry和Expiry。 ·CachingProvider定义了创建、配置、获取、管理和控制多个CacheManager。一个应用可以在运行期访
阅读全文
posted @ 2019-08-18 22:32 小名的同学
阅读(383)
评论(0)
推荐(0)
Spring Boot----SpringData
摘要: 简介 Spring Data 项目的目的是为了简化构建基于Spring 框架应用的数据访问技术,包括非关系数据库、Map-Reduce 框架、云数据服务等等;另外也包含对关系数据库的访问支持。 SpringData特点 SpringData为我们提供使用统一的APl来对数据访问层进行操作;这主要是S
阅读全文
posted @ 2019-08-18 15:57 小名的同学
阅读(266)
评论(0)
推荐(0)
Spring Boot----整合MyBatis
摘要: 一、spring Boot整合MyBatis 1、创建项目 主要引入 mybatis-spring-boot-starter会自动引入jdbc,所以我们创建项目的时候不需要引入jdbc API了 2、注解方式整和MyBatis 2.1创建dao(mapper),使用注解的方式 在SpringBoot
阅读全文
posted @ 2019-08-18 09:49 小名的同学
阅读(865)
评论(0)
推荐(0)
2019年8月17日
Spring Boot----整合jdbc和整合Durid数据源
摘要: 一、整合JDBC 1、基本操作 1.1 创建项目 1.2 配置参数(application.properties) 1.3 测试 2、操作数据库(使用JdbcTemplate) 二、整合Druid 版本:http://central.maven.org/maven2/com/alibaba/drui
阅读全文
posted @ 2019-08-17 22:17 小名的同学
阅读(350)
评论(0)
推荐(0)
Spring Boot----嵌入式servlet和外置servlet使用
摘要: 内置Servlet使用 1、如何定利和修改Servlet容器的相关配置? 1.1 修改server有关的配置(ServerProperties) 通用的servlet容器设置 tomcat 设置 1.1 或者编写一个 WebServerFactoryCustomizer:嵌入式servlet容器的定
阅读全文
posted @ 2019-08-17 08:49 小名的同学
阅读(501)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
40
下一页
公告