Spring
spring,springboot,spring cloud
houjibofa2050
读源码,要有技术深度,做一个把一招练一万遍的程序员。
展开
-
mybatis中写查询语句时,返回值直接用BaseResultMap
mabtis中写查询语句时,返回值直接用BaseResultMap https://www.cnblogs.com/pweizhao/articles/9145054.html原创 2019-07-04 13:27:41 · 9324 阅读 · 0 评论 -
springboot mybatis配置文件
mybatis 配置文件 server: port: 8081 spring: thymeleaf: cache: false datasource: url: jdbc:mysql://192.168.99.36:3306/app_back?characterEncoding=utf8&&useSSL=false username: ro...原创 2019-04-11 12:35:15 · 396 阅读 · 0 评论 -
spring aop源码解析
参考文档 1.https://blog.csdn.net/u012890095/article/details/80229721 2.原创 2020-03-24 21:30:46 · 82 阅读 · 0 评论 -
springboot 2.0 自定义拦截器
https://blog.csdn.net/haloisacer/article/details/81003980原创 2019-12-04 15:57:24 · 281 阅读 · 0 评论 -
springboot 整和shiro
https://blog.csdn.net/poorcoder_/article/details/71374002原创 2019-06-04 08:33:01 · 171 阅读 · 0 评论 -
String 不能被继承原因
String类被final修饰不能被继承原创 2019-01-24 16:22:57 · 2030 阅读 · 0 评论 -
dubbo 注册中心挂了,是否可以通信
dubbo 注册中心挂了,可以通信,在初始化时,消费者会把提供者的注册信息拉去到本地缓存,所以注册中心挂了,依然可以通信。原创 2019-01-18 14:11:49 · 617 阅读 · 0 评论 -
@controller与@Restcontroller 的区别:
@controller 返回的html/jsp的页面 @RestController 等价于 @Controller +@ResponseBody 返回的是json格式的数据 参考:https://www.cnblogs.com/shuaifing/p/8119664.html原创 2020-03-31 10:16:01 · 100 阅读 · 0 评论 -
springboot +redis+拦截器+注解 实现接口的幂等性
参考文章:https://mp.weixin.qq.com/s?__biz=MzAxNjk4ODE4OQ==&mid=2247486218&idx=2&sn=c849615b2ea76126ed4542d14a3df29c&chksm=9bed2a78ac9aa36e67ad12ef3d0a75934f7e32baed36c98054fac511e271870...原创 2019-08-15 15:56:31 · 231 阅读 · 0 评论 -
springboot+redis+jwt +shiro
https://github.com/dolyw/ShiroJwt https://my.oschina.net/odetteisgorgeous/blog/1920762 参考资料: https://www.cnblogs.com/gdufs/p/9015861.html https://www.sundayfine.com/shiro-jwt/原创 2019-06-26 20:25:35 · 1128 阅读 · 0 评论 -
Java MD5加密
参考资料:https://www.cnblogs.com/maohuidong/p/7967257.html原创 2019-06-22 09:57:55 · 1853 阅读 · 0 评论 -
springboot 多文件上传
参考资料:https://blog.csdn.net/gnail_oug/article/details/80324120原创 2019-06-22 09:46:36 · 1953 阅读 · 0 评论 -
Java RSA加解密
参考文献:https://blog.csdn.net/qy20115549/article/details/83105736原创 2019-06-22 09:29:22 · 67 阅读 · 0 评论 -
java AES加解密
参考:https://cloud.tencent.com/developer/article/1129285 参考:https://blog.csdn.net/jy_justsoso/article/details/38109947原创 2019-06-22 09:16:08 · 632 阅读 · 0 评论 -
springboot 事务
参考文献:https://www.cnblogs.com/zengxiaoyi36/p/9297712.html 参考资料:https://www.jianshu.com/p/380a9d980ca5原创 2019-06-21 16:36:50 · 82 阅读 · 0 评论 -
springboot 打印日志
application.yml # 打印sql logging: level: com.example.demo.dao : debug com.example.demo.dao mybatis接口所在的包 参考:https://www.cnblogs.com/expiator/p/8664977.html原创 2019-06-19 11:01:35 · 719 阅读 · 0 评论 -
springboot 定时任务
https://www.cnblogs.com/mmzs/p/10161936.html原创 2019-06-18 17:11:25 · 158 阅读 · 0 评论 -
springboot Java -jar 后台服务器启动springboot
java -jar demo-0.0.1-SNAPSHOT.jar > log.file 2>&1 &原创 2019-04-11 19:34:04 · 278 阅读 · 0 评论 -
springboot 整合redis
1.导入pom文件 <!-- 整合redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</arti...原创 2019-03-21 09:18:19 · 112 阅读 · 0 评论 -
mybatis pagehelper 插件
pagehelper 插件 pom.xml <!--mybatis分页插件--> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-start...原创 2019-03-15 15:08:52 · 115 阅读 · 0 评论 -
springboot 打包
cd 到有pom文件的目录 mvn clean mvn package -Dmaven.test.skip=true原创 2019-03-15 13:49:33 · 141 阅读 · 0 评论 -
springboot 整合druid
pom.xml 文件 <!-- https://mvnrepository.com/artifact/com.alibaba/druid --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid&...原创 2019-03-04 12:11:10 · 96 阅读 · 0 评论 -
springboot 整合shiro
github 地址 : git@github.com:houjibofa2050/springboot_shiro.git原创 2019-03-04 11:30:10 · 67 阅读 · 0 评论 -
shiro login 源码分析
https://www.cnblogs.com/jkavor/p/7405004.html 优秀博客 http://blog.liuyanzhao.com/article/9224原创 2019-03-02 20:07:32 · 432 阅读 · 0 评论 -
springboot 下的template 下的html 如何实现访问
springboot 下的template 下的html 如何实现访问? springboot 下的template 下的html页面,不能直接访问,可以通过controller 实现跳转。原创 2019-03-02 17:44:29 · 3409 阅读 · 2 评论 -
springboot devtools 自动化部署
https://www.cnblogs.com/yangxiaomei/p/9608029.html原创 2019-03-02 14:04:45 · 148 阅读 · 0 评论 -
springboot 常见注解
1.@SpringBootApplication 用在 springboot 的核心主类上,最最重要的注解,标识是一个 springboot 应用,开启springboot 的各项应用.相当于@SpringBootConfiguration,@EnableAutoConfiguration,@ComponentScan 三个注解的组合. 2. @ComponentScan 用来代替配置文...原创 2019-02-27 09:31:46 · 386 阅读 · 0 评论 -
springboot 集成aop 面向切面编程
步骤 1.添加 spring-boot-starter-aop maven 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependen...原创 2019-01-14 22:59:54 · 181 阅读 · 0 评论 -
springboot整合mybatis 注解进阶
1.mybatis提供的基础注解---CRUD @Select @Insert @Update @Delete 2.注解映射 @Results 结果集中多个字段的映射 @Result 结果集中单个字段的映射 3.高级注解---主要用于动态sql @SelectProvider @InsertProvider @UpdateProvider @DeleteProvider...原创 2019-01-01 21:49:20 · 169 阅读 · 0 评论 -
一个接口多个实现类的注入问题
参考:https://blog.csdn.net/u011734144/article/details/52699462原创 2020-03-23 16:09:07 · 794 阅读 · 0 评论 -
orm与crm的区别:
orm 是对象--关系数据库映射,简化增删改查的数据访问框架. mvc 是model-view-controller 是模型的输入,输出,处理分离,是一种设计模式.原创 2019-01-24 09:47:48 · 864 阅读 · 0 评论