03 2009 档案
摘要:一开始在项目中使用的是JDBCTemplate,为了提高开发效率决定采用Hibernate,但是发现Hibernate在做批量操作时,效率不是很理想。所以现在采用JDBCTemplate和Hibernate混用,JDBCTemplate和Hibernate混用是可以的,有几个注意事项. 1.如果采用JDBCTemplate的部分只涉及到查询,则可以使用Hibernate的应用缓存,...
阅读全文
摘要:定义 Decorator Pattern Attaches additional responsibilities to an object dynamically . Decorators provide a flexible alternative to sub classing for extending functionality . 装饰器模式 动态地将责任附加到对象上。若要扩展功能,装...
阅读全文
摘要:定义 The Observer pattern defines a one-to-many dependency between objects so that when one changes state, all of its dependents are notified and updated automatically. 观察者模式定义了对象之间的一对多的依赖关系,这样当一个对象的状态发...
阅读全文
摘要:定义 The Strategy pattern The strategy pattern defines a family of algorithms encapsulate each one, and makes them interchangeable. Strategy lets algorithm vary independently from clients that use i...
阅读全文
摘要:To learn more about how BlazeDS works and what it can do, you can take the BlazeDS Test Drive. The Test Drive includes some sample applications that demonstrate basic capabilities and best practices...
阅读全文