﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-闲人野居-最新评论</title><link>http://www.blogjava.net/zyl/CommentsRSS.aspx</link><description>好好学习，天天向上</description><language>zh-cn</language><pubDate>Sun, 25 Oct 2009 10:49:10 GMT</pubDate><lastBuildDate>Sun, 25 Oct 2009 10:49:10 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 在eclipse中使用jetty</title><link>http://www.blogjava.net/zyl/archive/2009/08/15/110159.html#291223</link><dc:creator>Daniel Hu</dc:creator><author>Daniel Hu</author><pubDate>Fri, 14 Aug 2009 22:38:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/08/15/110159.html#291223</guid><description><![CDATA[有现成的Jetty for Eclipse 插件，使用起来更方便<br><a href="http://www.daniel-journey.com/archives/214" target="_new" rel="nofollow">http://www.daniel-journey.com/archives/214</a><img src ="http://www.blogjava.net/zyl/aggbug/291223.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">Daniel Hu</a> 2009-08-15 06:38 <a href="http://www.blogjava.net/zyl/archive/2009/08/15/110159.html#291223#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 使用javassist动态注入代码[未登录]</title><link>http://www.blogjava.net/zyl/archive/2009/08/07/99171.html#290179</link><dc:creator>joe</dc:creator><author>joe</author><pubDate>Thu, 06 Aug 2009 23:42:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/08/07/99171.html#290179</guid><description><![CDATA[@helo<br>确实写错了<img src ="http://www.blogjava.net/zyl/aggbug/290179.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">joe</a> 2009-08-07 07:42 <a href="http://www.blogjava.net/zyl/archive/2009/08/07/99171.html#290179#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 使用javassist动态注入代码</title><link>http://www.blogjava.net/zyl/archive/2009/08/05/99171.html#289983</link><dc:creator>helo</dc:creator><author>helo</author><pubDate>Wed, 05 Aug 2009 11:12:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/08/05/99171.html#289983</guid><description><![CDATA[CtMethod mnew = CtNewMethod.copy(mold, mname, ctClass, null);<br>应该为：CtMethod mnew = CtNewMethod.copy(mold, nname, ctClass, null);<br><br>后面的代码也要修改。误人子弟，无语。。。。。<img src ="http://www.blogjava.net/zyl/aggbug/289983.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">helo</a> 2009-08-05 19:12 <a href="http://www.blogjava.net/zyl/archive/2009/08/05/99171.html#289983#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 回来了</title><link>http://www.blogjava.net/zyl/archive/2009/07/31/170971.html#289207</link><dc:creator>zhsh</dc:creator><author>zhsh</author><pubDate>Fri, 31 Jul 2009 00:37:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/07/31/170971.html#289207</guid><description><![CDATA[佩服``` <img src ="http://www.blogjava.net/zyl/aggbug/289207.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">zhsh</a> 2009-07-31 08:37 <a href="http://www.blogjava.net/zyl/archive/2009/07/31/170971.html#289207#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: osgi 入门[未登录]</title><link>http://www.blogjava.net/zyl/archive/2009/06/25/254442.html#284069</link><dc:creator>爬山虎</dc:creator><author>爬山虎</author><pubDate>Thu, 25 Jun 2009 01:56:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/06/25/254442.html#284069</guid><description><![CDATA[大哥啊。。<br>你的这个例子我怎么运行不了。。。。<img src ="http://www.blogjava.net/zyl/aggbug/284069.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">爬山虎</a> 2009-06-25 09:56 <a href="http://www.blogjava.net/zyl/archive/2009/06/25/254442.html#284069#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 别了北京，别了我的爱人</title><link>http://www.blogjava.net/zyl/archive/2009/06/18/71380.html#283088</link><dc:creator>netxfly</dc:creator><author>netxfly</author><pubDate>Thu, 18 Jun 2009 09:17:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/06/18/71380.html#283088</guid><description><![CDATA[我和你有过同样的经历，不过，我在上海，当时有离开这个城市的冲动，但是我还是没走。<br>就为了这点打击就放弃自已的事业太不值得了，只有经历了痛苦，你才会变得更加强大。<br><img src ="http://www.blogjava.net/zyl/aggbug/283088.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">netxfly</a> 2009-06-18 17:17 <a href="http://www.blogjava.net/zyl/archive/2009/06/18/71380.html#283088#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 使用javassist动态注入代码</title><link>http://www.blogjava.net/zyl/archive/2009/06/12/99171.html#281787</link><dc:creator>genle657101519</dc:creator><author>genle657101519</author><pubDate>Fri, 12 Jun 2009 04:04:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/06/12/99171.html#281787</guid><description><![CDATA[有收获，谢了。<img src ="http://www.blogjava.net/zyl/aggbug/281787.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">genle657101519</a> 2009-06-12 12:04 <a href="http://www.blogjava.net/zyl/archive/2009/06/12/99171.html#281787#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: osgi 入门</title><link>http://www.blogjava.net/zyl/archive/2009/06/10/254442.html#281132</link><dc:creator>阿里哇</dc:creator><author>阿里哇</author><pubDate>Wed, 10 Jun 2009 05:01:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/06/10/254442.html#281132</guid><description><![CDATA[很好的文章，谢谢。<br>也特别推荐 BlueDavy的osgi 实战。<img src ="http://www.blogjava.net/zyl/aggbug/281132.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">阿里哇</a> 2009-06-10 13:01 <a href="http://www.blogjava.net/zyl/archive/2009/06/10/254442.html#281132#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 使用javassist动态注入代码[未登录]</title><link>http://www.blogjava.net/zyl/archive/2009/05/10/99171.html#269899</link><dc:creator>菜鸟</dc:creator><author>菜鸟</author><pubDate>Sun, 10 May 2009 07:16:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/05/10/99171.html#269899</guid><description><![CDATA[Test.main() inserts a call to println() in the method body of say() in Hello. Then it constructs an instance of the modified Hello class and calls say() on that instance. <br><br>Note that the program above depends on the fact that the Hello class is never loaded before toClass() is invoked. If not, the JVM would load the original Hello class before toClass() requests to load the modified Hello class. Hence loading the modified Hello class would be failed (LinkageError is thrown). For example, if main() in Test is something like this: <br><br>public static void main(String[] args) throws Exception {<br>    Hello orig = new Hello();<br>    ClassPool cp = ClassPool.getDefault();<br>    CtClass cc = cp.get(&quot;Hello&quot;);<br>        :<br>}<br><br>then the original Hello class is loaded at the first line of main and the call to toClass() throws an exception since the class loader cannot load two different versions of the Hello class at the same time. <br><br>If the program is running on some application server such as JBoss and Tomcat, the context class loader used by toClass() might be inappropriate. In this case, you would see an unexpected ClassCastException. To avoid this exception, you must explicitly give an appropriate class loader to toClass(). For example, if bean is your session bean object, then the following code: <br><br>CtClass cc = ...;<br>Class c = cc.toClass(bean.getClass().getClassLoader());<br><br>would work. You should give toClass() the class loader that has loaded your program (in the above example, the class of the bean object). <br><br>toClass() is provided for convenience. If you need more complex functionality, you should write your own class loader. <br><br><img src ="http://www.blogjava.net/zyl/aggbug/269899.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">菜鸟</a> 2009-05-10 15:16 <a href="http://www.blogjava.net/zyl/archive/2009/05/10/99171.html#269899#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 在eclipse中使用jetty</title><link>http://www.blogjava.net/zyl/archive/2009/05/01/110159.html#268464</link><dc:creator>josdoc</dc:creator><author>josdoc</author><pubDate>Fri, 01 May 2009 02:22:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/05/01/110159.html#268464</guid><description><![CDATA[Java开源文档(www.josdoc.com)收录了您的文章，若不同意请告之，谢谢！<img src ="http://www.blogjava.net/zyl/aggbug/268464.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">josdoc</a> 2009-05-01 10:22 <a href="http://www.blogjava.net/zyl/archive/2009/05/01/110159.html#268464#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于ehcache 配置</title><link>http://www.blogjava.net/zyl/archive/2009/04/30/108764.html#268371</link><dc:creator>josdoc</dc:creator><author>josdoc</author><pubDate>Thu, 30 Apr 2009 07:36:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/04/30/108764.html#268371</guid><description><![CDATA[Java开源文档(www.josdoc.com)转载了您的文章，若不同意请告知，谢谢！<img src ="http://www.blogjava.net/zyl/aggbug/268371.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">josdoc</a> 2009-04-30 15:36 <a href="http://www.blogjava.net/zyl/archive/2009/04/30/108764.html#268371#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: osgi 入门</title><link>http://www.blogjava.net/zyl/archive/2009/03/20/254442.html#260937</link><dc:creator>osgi</dc:creator><author>osgi</author><pubDate>Thu, 19 Mar 2009 19:53:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/03/20/254442.html#260937</guid><description><![CDATA[In setup Extensions step, I cannot create /hello(servlet), the only thing I can create is Generic text. Please advice.<img src ="http://www.blogjava.net/zyl/aggbug/260937.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">osgi</a> 2009-03-20 03:53 <a href="http://www.blogjava.net/zyl/archive/2009/03/20/254442.html#260937#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 使用ehcache</title><link>http://www.blogjava.net/zyl/archive/2009/03/17/101208.html#260274</link><dc:creator>12312</dc:creator><author>12312</author><pubDate>Tue, 17 Mar 2009 08:28:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/03/17/101208.html#260274</guid><description><![CDATA[<a href="http://www.iwangda.com" target="_new" rel="nofollow">http://www.iwangda.com</a><img src ="http://www.blogjava.net/zyl/aggbug/260274.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">12312</a> 2009-03-17 16:28 <a href="http://www.blogjava.net/zyl/archive/2009/03/17/101208.html#260274#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: osgi 入门 二之关于osgi</title><link>http://www.blogjava.net/zyl/archive/2009/03/06/254678.html#258286</link><dc:creator>guooo</dc:creator><author>guooo</author><pubDate>Fri, 06 Mar 2009 10:12:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/03/06/254678.html#258286</guid><description><![CDATA[学习.<img src ="http://www.blogjava.net/zyl/aggbug/258286.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">guooo</a> 2009-03-06 18:12 <a href="http://www.blogjava.net/zyl/archive/2009/03/06/254678.html#258286#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: osgi 入门</title><link>http://www.blogjava.net/zyl/archive/2009/02/13/254442.html#254614</link><dc:creator>与你同飞</dc:creator><author>与你同飞</author><pubDate>Fri, 13 Feb 2009 14:14:00 GMT</pubDate><guid>http://www.blogjava.net/zyl/archive/2009/02/13/254442.html#254614</guid><description><![CDATA[谢谢楼主无私的分享，期待你的后续文章！<img src ="http://www.blogjava.net/zyl/aggbug/254614.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zyl/" target="_blank">与你同飞</a> 2009-02-13 22:14 <a href="http://www.blogjava.net/zyl/archive/2009/02/13/254442.html#254614#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>