??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲av乱码一区二区三区,亚洲成综合人影院在院播放,久久亚洲sm情趣捆绑调教http://www.tkk7.com/hywavesoft/专注于J2EE企业开发解x?/description>zh-cnSun, 11 May 2025 17:50:20 GMTSun, 11 May 2025 17:50:20 GMT60SOA基础设施QXFire客户端流E分?/title><link>http://www.tkk7.com/hywavesoft/archive/2008/03/02/183262.html</link><dc:creator>TonySoft</dc:creator><author>TonySoft</author><pubDate>Sun, 02 Mar 2008 07:12:00 GMT</pubDate><guid>http://www.tkk7.com/hywavesoft/archive/2008/03/02/183262.html</guid><wfw:comment>http://www.tkk7.com/hywavesoft/comments/183262.html</wfw:comment><comments>http://www.tkk7.com/hywavesoft/archive/2008/03/02/183262.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.tkk7.com/hywavesoft/comments/commentRss/183262.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hywavesoft/services/trackbacks/183262.html</trackback:ping><description><![CDATA[     摘要: XFire是当前J2EE领域非常行的Web Service框架Q以其卓的性能和简单易用的Ҏ博得了q大开发者的青睐。目前XFire已经演变为Apache的CXF目Q但仍有大量用户在用XFire?<br> <br>本文_略的介l了XFire客户端的调用程Qƈ着重讲解了Handler的扩展机制及其应用场景,力求读者能够通过本文对XFire能有更加深入的了解和掌握。文中难免存在不之处,Ƣ迎M形式的交?nbsp; <a href='http://www.tkk7.com/hywavesoft/archive/2008/03/02/183262.html'>阅读全文</a><img src ="http://www.tkk7.com/hywavesoft/aggbug/183262.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hywavesoft/" target="_blank">TonySoft</a> 2008-03-02 15:12 <a href="http://www.tkk7.com/hywavesoft/archive/2008/03/02/183262.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>~写q净的单元测试用例——Callback & Template Pattern在单元测试中的应?/title><link>http://www.tkk7.com/hywavesoft/archive/2007/12/28/171321.html</link><dc:creator>TonySoft</dc:creator><author>TonySoft</author><pubDate>Fri, 28 Dec 2007 13:19:00 GMT</pubDate><guid>http://www.tkk7.com/hywavesoft/archive/2007/12/28/171321.html</guid><wfw:comment>http://www.tkk7.com/hywavesoft/comments/171321.html</wfw:comment><comments>http://www.tkk7.com/hywavesoft/archive/2007/12/28/171321.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/hywavesoft/comments/commentRss/171321.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hywavesoft/services/trackbacks/171321.html</trackback:ping><description><![CDATA[     摘要: 如何~写q净的单元测试用?——Callback & Template Pattern在单元测试中的应?  关键词:Callback Function 回调模式 Template Method 模板Ҏ 单元试 目标读者:开发工E师 U别Q初、中U?  首?         ...  <a href='http://www.tkk7.com/hywavesoft/archive/2007/12/28/171321.html'>阅读全文</a><img src ="http://www.tkk7.com/hywavesoft/aggbug/171321.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hywavesoft/" target="_blank">TonySoft</a> 2007-12-28 21:19 <a href="http://www.tkk7.com/hywavesoft/archive/2007/12/28/171321.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>EasyJWeb中如何用Google Guice容器http://www.tkk7.com/hywavesoft/archive/2007/08/16/137410.htmlTonySoftTonySoftThu, 16 Aug 2007 14:48:00 GMThttp://www.tkk7.com/hywavesoft/archive/2007/08/16/137410.htmlhttp://www.tkk7.com/hywavesoft/comments/137410.htmlhttp://www.tkk7.com/hywavesoft/archive/2007/08/16/137410.html#Feedback2http://www.tkk7.com/hywavesoft/comments/commentRss/137410.htmlhttp://www.tkk7.com/hywavesoft/services/trackbacks/137410.html本文力求z,希望通过一个简单的demo应用讲解EasyJWeb与Guice容器的集成?br>
通过EasyJWeb提供的超UIoC容器Q你可以非常L的把Guice容器集成q来Q让Guice来管理业务层的依赖关p,EasyJWeb只负责表现。我们看下面的配|:

<?xml version="1.0" encoding="utf-8"?>
<easyjf-web>
    
<modules inject="auto">
        
<module name="guice" path="/guice" form=""  scope="request" action="com.easyjf.demo.action.GuiceAction" defaultPage="index" >
            
<page name="index" url="/guice.html" type="template"/>
        
</module>
    
</modules>
    
<beans>    
        
<bean name="GuiceContainer" class="com.easyjf.container.impl.GuiceContainer" scope="singleton">
            
<property name="modules">
                
<list>
                    
<value>com.easyjf.demo.module.GuiceModule</value>
                
</list>    
            
</property>
            
<property name="stage">

                
<value>DEVELOPMENT</value>

            
</property>
        
</bean>
    
</beans>
</easyjf-web>

熟悉EasyJWeb的朋友都知道Q上面的配置通过/guice.ejf便可以访问GuiceAction业务。特别之处在于我们在q里配置了一?#8220;GuiceContainer”的beanQ该bean负责集成EasyJWeb与Guice。属性modules的每个类都要l承Guice的AbstractModulec,以实现客户化的装配逻辑Qstage属性代表Guice容器的运行环境,既生产环境或开发环境。下面我们看一下上面配|文件中GuiceModule的实玎ͼ
/**
 * 
 * 
@author ecsoftcn@hotmail.com
 *
 * 
@version $Id: GuiceModule.java, 2007-4-23 上午03:31:33 Tony Exp $
 
*/

public class GuiceModule extends AbstractModule {

    
/* 
     * @see com.google.inject.AbstractModule#configure()
     
*/

    @Override
    
protected void configure() {
        
        
this.bindInterceptor(any(), annotatedWith(Logging.class), new LoggingInterceptor());

    }


}
至于q个cȝ具体装配逻辑我在此不详细描述Q读者只要知道是l定拦截器就可以了,有兴的可以参阅Guice的文。在configureҎ中,你可以随心所Ʋ的实现M客户化的装配逻辑。接下来我们再看一下上面GuiceAction的实玎ͼ
/**
 * 
 * 
@author ecsoftcn@hotmail.com
 * 
 * 
@version $Id: GuiceAction.java, 2007-4-23 上午03:15:47 Tony Exp $
 
*/

@SessionScoped
public class GuiceAction implements IWebAction {

    @Inject
    
private GuiceService    guiceService;

    
private int                count    = 0;

    
/*
     * @see com.easyjf.web.IWebAction#execute(com.easyjf.web.WebForm, com.easyjf.web.Module)
     
*/

    @Logging
    
public Page execute(WebForm form, Module module) throws Exception {

        count
++;

        form.addResult(
"message", guiceService.sayHelloToGuice());

        form.addResult(
"count", count);

        
return module.findPage("index");
    }


}
注意C面的代码中,GuiceAction实现了EasyJWeb的IWebAction接口Q不同的地方是这个类中多了几个Annotation:@SessionScoped,@Inject和@LoggingQ?@SessionScoped代表该类的作用域Q@Inject代表该类引用了Guice容器中的一个bean[GuiceService]Q@Logging代表q个Ҏ需要记录日志,是通过刚才的拦截器实现的。下面给出GuiceService极其实现c:
/**
 * 
 * 
@author ecsoftcn@hotmail.com
 *
 * 
@version $Id: GuiceService.java, 2007-4-23 上午03:16:20 Tony Exp $
 
*/

@ImplementedBy(GuiceServiceImpl.
class)
public interface GuiceService {
    
    
public String sayHelloToGuice();

}
实现Q?br>
/**
 * 
 * 
@author ecsoftcn@hotmail.com
 *
 * 
@version $Id: GuiceServiceImpl.java, 2007-4-23 上午03:17:24 Tony Exp $
 
*/

@Singleton
public class GuiceServiceImpl implements GuiceService {

    
/* 
     * @see com.easyjf.demo.GuiceService#sayHelloToGuice()
     
*/

    @Logging
    
public String sayHelloToGuice() {
        
        System.out.println(
"Execute GuiceServiceImpl#sayHelloToGuice()");
        
        
return "Hello, Guice!";

    }


}
q两个类中都使用了Guice的Annotation来声明装配原则,具体含义请参考Guice文?br>
到此为止Q一个简单的Demoq介绍完了Q欢q交?

TonySoft 2007-08-16 22:48 发表评论
]]>
关于q程调用QXFire/HttpInvoker/Hessian etc.Q及q程服务理的一些随?/title><link>http://www.tkk7.com/hywavesoft/archive/2007/03/17/service-xfire-hessian-httpinvoker.html</link><dc:creator>TonySoft</dc:creator><author>TonySoft</author><pubDate>Sat, 17 Mar 2007 06:07:00 GMT</pubDate><guid>http://www.tkk7.com/hywavesoft/archive/2007/03/17/service-xfire-hessian-httpinvoker.html</guid><wfw:comment>http://www.tkk7.com/hywavesoft/comments/104448.html</wfw:comment><comments>http://www.tkk7.com/hywavesoft/archive/2007/03/17/service-xfire-hessian-httpinvoker.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.tkk7.com/hywavesoft/comments/commentRss/104448.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hywavesoft/services/trackbacks/104448.html</trackback:ping><description><![CDATA[     摘要: 在现代J2EE企业应用pȝ中,存在着Hessian、HttpInvoker、XFire、Axis{多UŞ式的q程调用技术。尽有Spring{框架对q些技术进行了装Q降低了使用的复杂度Q但Ҏ通程序员而言仍是复杂的——至需要要掌握q些技术的基础知识?<br> <br>无论使用那种技术,其基本原理都是一LQ服务端生成骨架Q对外暴露服务;客户端生成服务代理,讉K调用服务。通常情况下,生成服务代理的代h较高昂,q也是我们第一ơ访问远E服务速度比较慢的原因Qؓ每个h生成新的服务代理恐怕不是我们所期望的。更何况Q如果采用这U方式,p在代码里针对各种不同的技术(如XFire、HttpInvokerQ编写不同的服务生成和调用的处理代码。不仅麻烦,而且Ҏ出错。我惻I没有人愿意去直接操作各种框架技术的底层代码Q这q不是一个好注意Q?<br> <br>作ؓ一U替代方案,我们设计了一个“服务池”的功能Q或者说“服务工厂”更贴切一炏V先看下面这张类图: <br>  <a href='http://www.tkk7.com/hywavesoft/archive/2007/03/17/service-xfire-hessian-httpinvoker.html'>阅读全文</a><img src ="http://www.tkk7.com/hywavesoft/aggbug/104448.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hywavesoft/" target="_blank">TonySoft</a> 2007-03-17 14:07 <a href="http://www.tkk7.com/hywavesoft/archive/2007/03/17/service-xfire-hessian-httpinvoker.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>iBatis框架batch处理优化http://www.tkk7.com/hywavesoft/archive/2006/12/16/88073.htmlTonySoftTonySoftFri, 15 Dec 2006 16:07:00 GMThttp://www.tkk7.com/hywavesoft/archive/2006/12/16/88073.htmlhttp://www.tkk7.com/hywavesoft/comments/88073.htmlhttp://www.tkk7.com/hywavesoft/archive/2006/12/16/88073.html#Feedback0http://www.tkk7.com/hywavesoft/comments/commentRss/88073.htmlhttp://www.tkk7.com/hywavesoft/services/trackbacks/88073.html
Oracle回滚D?

在JDBC中如何做batch处理

iBatis框架对batch处理的支?

iBatis框架做batch处理的问?

修改底层代码Q支持多表batch处理
  阅读全文

TonySoft 2006-12-16 00:07 发表评论
]]>
WEB Application Design without Struts,Tapestry,Webwork ?http://www.tkk7.com/hywavesoft/archive/2005/12/13/23639.htmlTonySoftTonySoftTue, 13 Dec 2005 05:09:00 GMThttp://www.tkk7.com/hywavesoft/archive/2005/12/13/23639.htmlhttp://www.tkk7.com/hywavesoft/comments/23639.htmlhttp://www.tkk7.com/hywavesoft/archive/2005/12/13/23639.html#Feedback0http://www.tkk7.com/hywavesoft/comments/commentRss/23639.htmlhttp://www.tkk7.com/hywavesoft/services/trackbacks/23639.htmlWEB Application Design without Struts,Tapestry,Webwork ?

       如今JAVA WEB开发领域出C许多优秀的framework,像Struts ,Tapestry,Webwork{?而且框架的数量惊人竟辑ֈ50多种!每种框架都有自己的优点和~点,但是Z仍重复的d发功能一L东西,而不是在原有的基上去完善和丰富内?g有些可悲.

       在l进行介l前请先看看下面一D介l?

    • HTML和JAVA之间明确分离
    • 面向对象的组件模?/FONT>
    • 自动化状态管?/FONT>
    • 较高的生产率
    • 较低的学习曲U?/FONT>
    • 从Servlet API 和HTTP协议l节中抽d?/FONT>
    • 没有XML格式的配|文?/FONT>
    • 更容易的开发可重用的组?/FONT> 
  • 下面是原?我E文不?不对的地方请多多谅解!
    • Clean separation of concerns between HTML and Java
    • Object-oriented component model
    • Automated state management
    • High productivity
    • Low learning curve
    • Abstraction away from Servlet API and HTTP protocol details
    • No XML configuration files
    • Easy to build reusable components

       q是不是你正在苦苦寻扄~程模式??STRONG>Wicket的主去看看?也许哪里会让你感到惊?即便是你不打用他,你仍然可以学到很多优U的设?

        更多内容请关注本BLOG!



TonySoft 2005-12-13 13:09 发表评论
]]>
今天甌加入了大q?NET开发团?/title><link>http://www.tkk7.com/hywavesoft/archive/2005/12/08/23048.html</link><dc:creator>TonySoft</dc:creator><author>TonySoft</author><pubDate>Thu, 08 Dec 2005 14:49:00 GMT</pubDate><guid>http://www.tkk7.com/hywavesoft/archive/2005/12/08/23048.html</guid><wfw:comment>http://www.tkk7.com/hywavesoft/comments/23048.html</wfw:comment><comments>http://www.tkk7.com/hywavesoft/archive/2005/12/08/23048.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/hywavesoft/comments/commentRss/23048.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hywavesoft/services/trackbacks/23048.html</trackback:ping><description><![CDATA[今天l于加入了大q?NET开发团队,希望在这里能和大家共同交,共同q步Q同时也予祝׃部越办越好!<A target="_blank">http://www.cnblogs.com/ecsoftcn</A> <img src ="http://www.tkk7.com/hywavesoft/aggbug/23048.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hywavesoft/" target="_blank">TonySoft</a> 2005-12-08 22:49 <a href="http://www.tkk7.com/hywavesoft/archive/2005/12/08/23048.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>发现一个开源的WEB报表解决Ҏhttp://www.tkk7.com/hywavesoft/archive/2005/12/07/22844.htmlTonySoftTonySoftWed, 07 Dec 2005 05:28:00 GMThttp://www.tkk7.com/hywavesoft/archive/2005/12/07/22844.htmlhttp://www.tkk7.com/hywavesoft/comments/22844.htmlhttp://www.tkk7.com/hywavesoft/archive/2005/12/07/22844.html#Feedback0http://www.tkk7.com/hywavesoft/comments/commentRss/22844.htmlhttp://www.tkk7.com/hywavesoft/services/trackbacks/22844.html
        OpenReports开源WEB报表解决Ҏ http://www.oreports.com ,q个目使用 JasperReports,WebWork, Velocity, Quartz, and Hibernate{多个开源项?非常值得学习!

TonySoft 2005-12-07 13:28 发表评论
]]>
DWR?/title><link>http://www.tkk7.com/hywavesoft/archive/2005/12/06/22714.html</link><dc:creator>TonySoft</dc:creator><author>TonySoft</author><pubDate>Tue, 06 Dec 2005 06:47:00 GMT</pubDate><guid>http://www.tkk7.com/hywavesoft/archive/2005/12/06/22714.html</guid><wfw:comment>http://www.tkk7.com/hywavesoft/comments/22714.html</wfw:comment><comments>http://www.tkk7.com/hywavesoft/archive/2005/12/06/22714.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/hywavesoft/comments/commentRss/22714.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/hywavesoft/services/trackbacks/22714.html</trackback:ping><description><![CDATA[<P>今天在网上闲逛时,无意看到了一介lDWR的文?感觉译的不?特引用过?<BR>http://www.jscud.com/srun/news/viewhtml/2_2005_8/113.htm<BR>接下来我会随时增加DWR学习W记</P><img src ="http://www.tkk7.com/hywavesoft/aggbug/22714.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/hywavesoft/" target="_blank">TonySoft</a> 2005-12-06 14:47 <a href="http://www.tkk7.com/hywavesoft/archive/2005/12/06/22714.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Struts文g上传http://www.tkk7.com/hywavesoft/archive/2005/12/06/22677.htmlTonySoftTonySoftTue, 06 Dec 2005 02:46:00 GMThttp://www.tkk7.com/hywavesoft/archive/2005/12/06/22677.htmlhttp://www.tkk7.com/hywavesoft/comments/22677.htmlhttp://www.tkk7.com/hywavesoft/archive/2005/12/06/22677.html#Feedback1http://www.tkk7.com/hywavesoft/comments/commentRss/22677.htmlhttp://www.tkk7.com/hywavesoft/services/trackbacks/22677.html阅读全文

TonySoft 2005-12-06 10:46 发表评论
]]>
վ֩ģ壺 ĻĻmv| AVһɫ| οŮվѴȫ| ޹˾ƷŮ˾þþ | һ| 99ƷƷ| պ˳ۺձ| Ƶֻ߹ۿַ| ޾ƷëƬ| ȾþǾƷ6ѹۿ| ޸岻߹ۿ| ŷƵվ| þþƷAVվ| ޳| ˳ëƬ߲| ŷ޾Ʒһ| ݺȾƷѹۿ| ĻŮһ| ߹ۿ| avһ| ȺӰԺ߹ۿѹۿֱ| ׾ƷͼƬ| ձһ| ѹva߹ۿ| ޹AV| ĻƵww | ޷A߷| ŷ޹ۺ߹ۿ| ȫƵѹۿ߿| ߲| Ƶѹۿ97| AAAAAٸ߳Ƭѿ| ַ߹ۿ| jizzjizzѿjizz| ߿Ƭ˳Ƶ| Ļ޾Ʒ| ɫɫwww˿| žžƷƵ| þø߳һëƬ| ҹ߲| ˳wwwӰҳ |