go4it

just do it

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页

2009年7月9日

LForum与Ehcache(五)页面缓存

摘要: 因为LForum使用的是freemaker,好像没看到页面缓存,好像也没关联。 但可以参考http://hain.javaeye.com/blog/152806 细谈Ehcache页面缓存的使用 /** *作者:张荣华 *日期:2007-9-30 **/ 关于缓存的话题,在坛子里已经有很多讨论,简单的来说,如果一个应用中80%的时间内都在访问20%的数据,那么,这时候就应该使用缓存了。这个和长尾理... 阅读全文

posted @ 2009-07-09 18:10 cxccbv 阅读(420) 评论(0) 推荐(0)

LForum与Ehcache(四)配置Hiberante

摘要: 由于不大熟悉SpringSide3,找了半天没找到配置hiberante的xml文件,最后搜索一下,出来了: 在E:\MyEclipseWorkplace\LForum\webapp\WEB-INF\config\applicationContext.xml里面有一段:<!-- Hibernate配置 --> <bean id="sessionFactory" class="o... 阅读全文

posted @ 2009-07-09 17:45 cxccbv 阅读(402) 评论(0) 推荐(0)

LForum与Ehcache(三)removeCache

摘要: package com.javaeye.lonlysky.lforum.service.admin;import java.util.List;import org.hibernate.SessionFactory;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.beans.fact... 阅读全文

posted @ 2009-07-09 16:21 cxccbv 阅读(441) 评论(0) 推荐(0)

LForum与Ehcache(二)CachesManager--论坛html数据缓存

摘要: package com.javaeye.lonlysky.lforum.service;import java.io.File;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;import java.util.regex.Matcher;import jav... 阅读全文

posted @ 2009-07-09 16:01 cxccbv 阅读(476) 评论(0) 推荐(0)

LForum与Ehcache(一)LForumCache

摘要: LForumCachepackage com.javaeye.lonlysky.lforum.cache;import java.net.URL;import java.util.List;import net.sf.ehcache.Cache;import net.sf.ehcache.CacheManager;import net.sf.ehcache.Element;import org.s... 阅读全文

posted @ 2009-07-09 16:00 cxccbv 阅读(466) 评论(0) 推荐(0)

Ehcache源码研究(五)CacheFilter

摘要: /** * Copyright 2003-2009 Luck Consulting Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o... 阅读全文

posted @ 2009-07-09 12:00 cxccbv 阅读(1260) 评论(0) 推荐(0)

Ehcache源码研究(四)Filter

摘要: Ehcache-1.6.0源码\web\src\main\java\net\sf\ehcache\constructs\web\/** * Copyright 2003-2009 Luck Consulting Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u... 阅读全文

posted @ 2009-07-09 11:59 cxccbv 阅读(1320) 评论(0) 推荐(0)

Ehcache源码研究(三)Element

摘要: /** * Copyright 2003-2008 Luck Consulting Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o... 阅读全文

posted @ 2009-07-09 11:47 cxccbv 阅读(1024) 评论(0) 推荐(0)

Ehcache源码研究(二)CacheManager

摘要: /** * Copyright 2003-2008 Luck Consulting Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o... 阅读全文

posted @ 2009-07-09 11:45 cxccbv 阅读(4430) 评论(5) 推荐(0)

Ehcache源码研究(一)Ehcache接口

摘要: /** * Copyright 2003-2008 Luck Consulting Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o... 阅读全文

posted @ 2009-07-09 11:38 cxccbv 阅读(2930) 评论(3) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页

导航