- 博客(3)
- 收藏
- 关注
原创 命令模式和策略模式
命令模式主要是为了调用者invoker和接收执行者receiver之间的解耦。主要好处有 1、invoker可以保存命令队列,执行redo或者undo,或者决定命令运行方式,同步或者异步等等。 2、命令对象和客户端的调用可以有不同的生命期,命令执行时可能客户端调用程序已经完成。例如:命令的发起者是一台机器,命令的接收者是另外机器,可以将命令序列化进行传递,非阻塞式操作返...
2011-04-27 15:35:42
125
原创 在spring中,注解是否优于xml配置
Are annotations better than XML for configuring Spring? The introduction of annotation-based configurations raised the question of whether this approach is 'better' than XML. [color=red]The short ans...
2011-04-27 12:14:04
152
原创 struts和jsf区别 转载
Will Hartung's thoughts from a similar question posted on TheServerSide (posted here in its entirety with permission): Routing around the hyperbole and actually trying to answer the question......
2011-04-26 21:57:14
138
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人