spring整合EhCache 基于注解

时间:2020-03-08 04:19:40
【文件属性】:
文件名称:spring整合EhCache 基于注解
文件大小:41KB
文件格式:ZIP
更新时间:2020-03-08 04:19:40
spring EhCache 注解 本例子主要讲解ehcache的配置使用。采用了java配置和xml配置两种方式。主要用于学习。 使用java配置时将SpringTestCase.java 文件中的@ContextConfiguration(locations = { "classpath:applicationContext.xml" }) 注释掉 使用xml配置时。将com.test.config 下的Java文件中@Configuration 都注释掉。
【文件预览】:
ehcache2
----pom.xml(5KB)
----target()
--------test-classes()
--------m2e-jee()
--------classes()
----.settings()
--------com.genuitec.eclipse.j2eedt.core.prefs(56B)
--------org.eclipse.m2e.core.prefs(90B)
--------org.eclipse.wst.jsdt.ui.superType.name(6B)
--------org.eclipse.wst.common.project.facet.core.xml(252B)
--------org.eclipse.core.resources.prefs(78B)
--------org.eclipse.wst.common.component(576B)
--------org.eclipse.wst.jsdt.ui.superType.container(49B)
--------.jsdtscope(508B)
--------org.eclipse.jdt.core.prefs(430B)
----src()
--------test()
--------main()
----.project(2KB)
----.mymetadata(304B)
----.classpath(787B)

网友评论

  • 不错资源,适合初学者。