2006年7月16日
posted @ 2006-09-26 22:12 knowhow| 编辑 收藏
     摘要: 对Java基础类的Date和Calendar类有些生疏了,使用的时候还是现查的javadoc。
随手记下来吧。  阅读全文
posted @ 2006-09-06 11:02 knowhow| 编辑 收藏
posted @ 2006-08-25 23:17 knowhow 阅读(436) | 评论 (1)编辑 收藏
     摘要: 传统JavaBean的生命周期非常简单。用关键字new用来实例化Bean就可以了,而Bean的生命周期在Spring中更复杂。理解Spring Bean的生命周期非常重要,因为你也许需要利用Spring提供的机会来定制Bean的创建过程。  阅读全文
posted @ 2006-08-24 23:14 knowhow| 编辑 收藏
posted @ 2006-08-24 16:38 knowhow| 编辑 收藏
     摘要: spring introduction用于为对象动态的加入原先所没有的职责  阅读全文
posted @ 2006-08-18 15:20 knowhow 阅读(758) | 评论 (0)编辑 收藏
     摘要: reflection的学习,英文原文已贴过。  阅读全文
posted @ 2006-07-31 16:58 knowhow 阅读(857) | 评论 (0)编辑 收藏
     摘要: The reflection library gives you a very rich and elaborate toolset to write programs that manipulate Java code dynamically. This feature is heavily used in JavaBeans, the component architecture for Java (see Volume 2 for more on JavaBeans). Using reflection, Java can support tools like the ones to which users of Visual Basic have grown accustomed. In particular, when new classes are added at design or run time, rapid application development tools can dynamically inquire about the capabilities of  阅读全文
posted @ 2006-07-30 18:49 knowhow 阅读(394) | 评论 (0)编辑 收藏
     摘要: 一个Before Advice的程序例子  阅读全文
posted @ 2006-07-28 17:07 knowhow 阅读(306) | 评论 (0)编辑 收藏
     摘要: Spring Bean基本管理  阅读全文
posted @ 2006-07-26 11:24 knowhow 阅读(5125) | 评论 (0)编辑 收藏
     摘要: 简单的spring程序,包含一个javabean,一个配置文件和一个测试程序  阅读全文
posted @ 2006-07-26 10:09 knowhow 阅读(349) | 评论 (0)编辑 收藏
     摘要: iBatis并不在运行期自动生成SQL语句,具体的SQL语句由程序员编写。通过映射文件,将SQL所需的参数,以及返回的结果字段映射到指定的POJO。相对于Hibernate等"全自动"ORM而言,iBatis以SQL开发的工作量和数据库移植性上的让步,为系统设计提供了更大的自由空间。  阅读全文
posted @ 2006-07-22 17:50 knowhow 阅读(462) | 评论 (1)编辑 收藏
     摘要: 对不需要的数据,先不进行加载,在真正需要的时候,才真正执行数据加载操作,这样可以避免无谓的性能开销。
其中对集合的延迟加载特性意义最为重大。
由于传统的Java Set, Map, List实现不能满足要求,Hibernate根据这些接口提供了自己的实现。  阅读全文
posted @ 2006-07-16 10:31 knowhow 阅读(447) | 评论 (0)编辑 收藏
     摘要: 单一数据加载和批量数据加载,批量数据加载的效率和内存同步问题。  阅读全文
posted @ 2006-07-16 10:24 knowhow 阅读(406) | 评论 (0)编辑 收藏
     摘要: 基于JDBC和基于JTA的事务,悲观锁和乐观锁  阅读全文
posted @ 2006-07-16 10:18 knowhow 阅读(1317) | 评论 (0)编辑 收藏
     摘要: hibernate缓存的简单介绍  阅读全文
posted @ 2006-07-16 10:01 knowhow 阅读(218) | 评论 (0)编辑 收藏