<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/lifetragedy" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/lifetragedy" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 13 Apr 2011 05:59:00 GMT</lastBuildDate><title>lifetragedy的专栏</title><description>CSDN博客聚合服务</description><link>http://blog.csdn.net/blogrss.aspx?username=lifetragedy</link><item><title>如何使用spring将service层注入到servlet中去(how to use Spring to inject ur service layer into the servlet )</title><link>http://blog.csdn.net/lifetragedy/archive/2011/04/13/6320428.aspx</link><description>&lt;br /&gt;In a typical struts+spring framework, we know how to inject our “service” 
into the “action”. But sometime we have to use the “servlet”.&lt;br /&gt;I mean the real servlet, not the struts’s action-servlet!&lt;br /&gt;For example:&lt;br /&gt;We have a servlet name is “UserServlet”, we want to inject the service 
“MyTaskService” into it as following sample shows:&lt;br /&gt;public class userServlet extends HttpServlet {&lt;br /&gt;@Resource&lt;br /&gt;
MyTaskService myTaskService;&lt;br /&gt;
}&lt;br /&gt;We will have two method:&lt;img src=&quot;http://www1.feedsky.com/t1/498642181/lifetragedy/csdn.net/s.gif?r=http://blog.csdn.net/lifetragedy/archive/2011/04/13/6320428.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642181/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642181/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 13 Apr 2011 13:59:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2011/04/13/6320428.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2011/04/13/6320428.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642181/1080267</fs:itemid></item><item><title>jsp url 参数加密传送的终极解决方案</title><link>http://blog.csdn.net/lifetragedy/archive/2011/04/12/6318017.aspx</link><description>一般我们在form提交时不要担心我们的参数会显示给用户看。我们主要解决的是以get方式进行url参数传递的问题，如：http://xxx.xxx.xxx.xxx/xxx/xxx.do?pId=101&amp;imageName=processimage.jpg这样的url pId=101&amp;imageName=processimage.jgp这样的参数如何进行加密。我们采用：java.net.URLEncoder.encode(Base64编码（加密字串）, StringCode) 这样的方法来对url中的参数进行加密。首先我们先说一下如何加密。一、算法的选择：对于像对url中的参数进行加密的过程，我不建议使用rsa或者是三重des这样的加密算法，主要原因在于性能和速度会受影响。我建议大家使用对称加密如：DES或者是PBE算法。我们在这边就使用PBEWi&lt;img src=&quot;http://www1.feedsky.com/t1/498642182/lifetragedy/csdn.net/s.gif?r=http://blog.csdn.net/lifetragedy/archive/2011/04/12/6318017.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642182/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642182/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 12 Apr 2011 14:33:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2011/04/12/6318017.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2011/04/12/6318017.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642182/1080267</fs:itemid></item><item><title>oracle在32位的Linux环境下SGA如何突破2GB内存限制的最终解决方案</title><link>http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212887.aspx</link><description>&lt;br /&gt;32位机上内存无法支持4GB以上的说法太极端，如win2003 server就可以在32位机上认出8GB的内存。&lt;br /&gt;&lt;br /&gt;因此Oracle的SGA在32位机上是可以突破2GB这个限制的，不过付出的代阶就是不能使用ASM这个功能，SGA，LargePool, SharePool都要手工来设置值。&lt;br /&gt;&lt;br /&gt;本人实验的软件版本为：&lt;br /&gt;&lt;br /&gt;Oracle版本为10&lt;br /&gt;Linux版本为RedHatAs4或者RedHatAs5&lt;br /&gt;其它版只要是Linux的kernel高于2.4的支持large page的都可以做到，下面是具体步骤：&lt;br /&gt;&lt;br /&gt;第一步：&lt;br /&gt;
   在/boot/grub/grub.conf文件中添加bigpages=xMB到相关的内核条目后来开启大页面支持，这里的x象下面这样计算：&lt;br /&gt;
   总SGA大小（单位G）*1024&lt;br /&gt;
   然后围绕这个值取整百，因此一个32G大小的SGA，我们做下面的计算：&lt;br /&gt;
   32*1024=4096=32768&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/498642183/lifetragedy/csdn.net/s.gif?r=http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212887.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642183/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642183/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 28 Feb 2011 13:02:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212887.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212887.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642183/1080267</fs:itemid></item><item><title>ehcache 与spring相结合超时自动刷新缓存的框架搭建</title><link>http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212849.aspx</link><description>我们在做J2EE工程中经常会碰到一些常量或者是一些不太用的数据。这部分数据我们希望是把它放到一个共同的地方，然后大家都能去调用，而不用频繁调用数据库以提高web访问的效率。这样的东西就是缓存(cache)，对于缓存的正确理解是一块不太变动的数据，但是这块数据偶尔或者周期新会被变动的，如：地区，分公司，省市。。。。。。当系统一开始运行时，我们可以把一批静态的数据放入cache，当数据变化时，我们要从数据库把最新的数据拿出来刷新这块cache。我们以前的作法是做一个static 的静态变量，把这样的数据放进去，然后用一个schedule job定期去刷新它，然后在用户访问时先找内存，如果内存里没有找到再找数据库，找到数据库中的数据后把新的数据放入 cache。这带来了比较繁琐的编码工作，伴随而来的代码维护和性能问题也是很受影响的。因此在此我们引入了ehcache组件。目前市&lt;img src=&quot;http://www1.feedsky.com/t1/498642184/lifetragedy/csdn.net/s.gif?r=http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212849.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642184/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642184/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 28 Feb 2011 12:39:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212849.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212849.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642184/1080267</fs:itemid></item><item><title>quartz在集群环境下的最终解决方案</title><link>http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212831.aspx</link><description>在集群环境下，大家会碰到一直困扰的问题，即多个APP下如何用quartz协调处理自动化JOB。大家想象一下，现在有A，B，C3台机器同时作为集群服务器对外统一提供SERVICE：A，B，C 3台机器上各有一个QUARTZ，他们会按照即定的SCHEDULE自动执行各自的任务。我们先不说实现什么功能，就说这样的架构其实有点像多线程。那多线程里就会存在“资源竞争”的问题，即可能产生脏读，脏写，由于三台APP SERVER里都有QUARTZ，因此会存在重复处理TASK的现象。一般外面的解决方案是只在一台APP上装QUARTZ，其它两台不装，这样集群就形同虚设了；另一种解决方案是动代码，这样就要影响到原来已经写好的QUARTZ JOB的代码了，这对程序开发人员来说比较痛苦；本人仔细看了一下Spring的结构和QUARTZ的文档，结合Quartz自身可以实例化进数据的特性找到了相关的解决方案。本方案优点：1.      
每台作为集群点的APP SERVER上都可以&lt;img src=&quot;http://www1.feedsky.com/t1/498642185/lifetragedy/csdn.net/s.gif?r=http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212831.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642185/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642185/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 28 Feb 2011 12:25:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212831.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2011/02/28/6212831.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642185/1080267</fs:itemid></item><item><title>如何在webogic中布署ssl完整教程</title><link>http://blog.csdn.net/lifetragedy/archive/2007/09/04/1771703.aspx</link><description>如何使用keytool产生证书请求,如何根据证书请求通过CA中心获得签证,以及在没有CA中心的条件下如何使用openssl自签一张证书,以及在weblogic中布署ssl的详细布署,解决了启用ssl端口后如何用stopWebLogic脚本去stop带有ssl的domain&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642186/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642186/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 04 Sep 2007 14:11:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2007/09/04/1771703.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2007/09/04/1771703.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642186/1080267</fs:itemid></item><item><title>JSP中IE直接关闭后如何去清SESSION的最终解决方案</title><link>http://blog.csdn.net/lifetragedy/archive/2006/05/28/758879.aspx</link><description>session过期,在线统计,在线人数,timeout,session超时,在线,离线,jsp,session,listener,解决方案&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642187/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642187/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 28 May 2006 18:14:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2006/05/28/758879.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2006/05/28/758879.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642187/1080267</fs:itemid></item><item><title>STRUTS+HIBERNATE+ORACLE分页</title><link>http://blog.csdn.net/lifetragedy/archive/2005/01/17/255763.aspx</link><description>hibernate+STRUTS+ORACLE数据库实现的分页框架&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642188/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642188/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 17 Jan 2005 03:13:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2005/01/17/255763.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2005/01/17/255763.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642188/1080267</fs:itemid></item><item><title>彻底解决JSP（含EJB）中文内码问题</title><link>http://blog.csdn.net/lifetragedy/archive/2003/12/11/17623.aspx</link><description>无摘要&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/lifetragedy/498642189/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/lifetragedy/498642189/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 11 Dec 2003 09:13:00 +0800</pubDate><author>lifetragedy</author><guid isPermaLink="false">http://blog.csdn.net/lifetragedy/archive/2003/12/11/17623.aspx</guid><dc:creator>lifetragedy</dc:creator><fs:srclink>http://blog.csdn.net/lifetragedy/archive/2003/12/11/17623.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/lifetragedy/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/lifetragedy/~1080268/498642189/1080267</fs:itemid></item></channel></rss>
