随笔分类 -  spring

spring启动过程
摘要:1、spring启动过程 spring的启动是建筑在servlet容器之上的,所有web工程的初始位置就是web.xml,它配置了servlet的上下文(context)和监听器(Listener),下面就来看看web.xml里面的配置: spring的上下文监听器<context-param> < 阅读全文

posted @ 2021-03-29 22:37 好好学习,天天睡觉 阅读(2422) 评论(0) 推荐(0)

各种缓存比较
摘要:1、EhCache 是一个纯Java的进程内缓存框架,单独使用需要引入依赖: <dependency> <groupId>net.sf.ehcache</groupId> <artifactId>ehcache</artifactId> <version>2.10.5</version></depe 阅读全文

posted @ 2018-09-22 17:35 好好学习,天天睡觉 阅读(30) 评论(0) 推荐(0)

spring整合ehcache
摘要:Ehcache是一个很强大的轻量级框架,不依赖除了slf4j以外的任何包 1、单独使用ehcache引入: <!-- ehcache 相关依赖 --> <dependency> <groupId>org.ehcache</groupId> <artifactId>ehcache</artifactI 阅读全文

posted @ 2018-08-08 18:03 好好学习,天天睡觉 阅读(82) 评论(0) 推荐(0)

spring配置文件约束
摘要:spring源码、约束文件和文档说明下载地址:http://repo.spring.io/release/org/springframework/spring/ Spring文件最全配置 Application.xml最全格式 key值: 搜索xml->点击XML Catalog->点击add按钮- 阅读全文

posted @ 2018-07-26 14:47 好好学习,天天睡觉 阅读(7363) 评论(1) 推荐(0)