随笔-61  评论-159  文章-0  trackbacks-0
  2007年10月2日
posted @ 2015-03-18 22:05 apple0668 阅读(516) | 评论 (0)编辑 收藏
posted @ 2012-07-07 22:11 apple0668 阅读(489) | 评论 (0)编辑 收藏
     摘要: TDD 重构 eclipse 快捷键  阅读全文
posted @ 2012-04-28 15:56 apple0668 阅读(1262) | 评论 (0)编辑 收藏
posted @ 2011-05-11 15:48 apple0668 阅读(5106) | 评论 (6)编辑 收藏
posted @ 2011-05-09 22:21 apple0668 阅读(2999) | 评论 (0)编辑 收藏
posted @ 2011-05-04 16:09 apple0668 阅读(9291) | 评论 (0)编辑 收藏
posted @ 2010-01-17 21:11 apple0668 阅读(4246) | 评论 (0)编辑 收藏
posted @ 2010-01-17 21:08 apple0668 阅读(5978) | 评论 (2)编辑 收藏
posted @ 2009-03-19 21:56 apple0668 阅读(1494) | 评论 (0)编辑 收藏
posted @ 2008-12-06 23:42 apple0668 阅读(2518) | 评论 (0)编辑 收藏
posted @ 2008-12-03 21:34 apple0668 阅读(3865) | 评论 (1)编辑 收藏
posted @ 2008-11-29 21:35 apple0668 阅读(1133) | 评论 (0)编辑 收藏
posted @ 2008-11-28 22:56 apple0668 阅读(3715) | 评论 (2)编辑 收藏
posted @ 2008-11-27 22:44 apple0668 阅读(1844) | 评论 (0)编辑 收藏
posted @ 2008-11-19 21:11 apple0668 阅读(2181) | 评论 (1)编辑 收藏
posted @ 2008-11-04 23:48 apple0668 阅读(3932) | 评论 (0)编辑 收藏
posted @ 2008-10-31 23:39 apple0668 阅读(792) | 评论 (0)编辑 收藏
posted @ 2008-10-31 20:46 apple0668 阅读(1453) | 评论 (0)编辑 收藏
posted @ 2008-10-28 23:56 apple0668 阅读(799) | 评论 (0)编辑 收藏
posted @ 2008-10-27 23:48 apple0668 阅读(1434) | 评论 (0)编辑 收藏
posted @ 2008-10-26 13:16 apple0668 阅读(2228) | 评论 (2)编辑 收藏
posted @ 2008-10-23 23:19 apple0668 阅读(687) | 评论 (0)编辑 收藏
posted @ 2008-10-22 13:22 apple0668 阅读(1615) | 评论 (0)编辑 收藏
posted @ 2008-10-13 21:48 apple0668 阅读(397) | 评论 (0)编辑 收藏
posted @ 2008-10-12 23:01 apple0668 阅读(480) | 评论 (0)编辑 收藏
posted @ 2008-10-12 21:59 apple0668 阅读(749) | 评论 (0)编辑 收藏
posted @ 2008-10-11 13:37 apple0668 阅读(626) | 评论 (0)编辑 收藏
posted @ 2008-10-10 21:38 apple0668 阅读(1152) | 评论 (1)编辑 收藏
posted @ 2008-10-10 13:31 apple0668 阅读(375) | 评论 (0)编辑 收藏
     摘要: 会在多的一端加入一个外键,指向一的一端,这个外键是由
中的column属性定义的,如果忽略了这个属性那么默认的外键与实体的属性一致!  阅读全文
posted @ 2008-10-09 21:01 apple0668 阅读(572) | 评论 (0)编辑 收藏
     摘要: transient、persistent、detached状态,对于使用hibernate在开发过程中起着比较重要的意义。  阅读全文
posted @ 2008-10-09 20:51 apple0668 阅读(447) | 评论 (0)编辑 收藏
     摘要: hibernate中的Seesion两个方法:get,load。get不支持lazy,load支持lazy。采用get加载数据,如果没有匹配的数据,返回null,而load则抛出异常。
  阅读全文
posted @ 2008-10-09 20:38 apple0668 阅读(429) | 评论 (0)编辑 收藏
     摘要: 一般在项目开发过程中,使用比较多的就是先建好表,再利用hibernate反向工程生成*.hbm.xml文件跟POJO类,个人认为由于目前所使用的数据库都是关系数据库,而hibernate作为一个ORM,把对数据库的操作都对象化了,更应当从对象出发,生成数据库里面相关表,这样更加符合人认知事物的习惯。
  阅读全文
posted @ 2008-09-29 12:56 apple0668 阅读(18618) | 评论 (5)编辑 收藏
     摘要: eclipse的第一个struts2插件:Alveole Studio MVC Web Project An eclipse plugin for Struts 2,感觉还可以,大家感兴趣去用一下。  阅读全文
posted @ 2008-04-21 18:12 apple0668 阅读(15660) | 评论 (32)编辑 收藏
     摘要: ssh2中采用dao---service---action分层结构。  阅读全文
posted @ 2008-01-21 11:37 apple0668 阅读(3879) | 评论 (0)编辑 收藏
     摘要: ssh2三大框架整合时遇到的一个ConstraintViolationException异常。  阅读全文
posted @ 2008-01-21 10:39 apple0668 阅读(5222) | 评论 (2)编辑 收藏
     摘要: Aglet是由IBM 公司所提出,完全用Java发展的 mobile agent技术,并提供实用的平台-Aglets Workbench让我们开发或执行mobile agent系统。本文是基于智能电子商务的需要,关于aglets2.0.2的安装手记。  阅读全文
posted @ 2007-11-08 21:01 apple0668 阅读(2196) | 评论 (5)编辑 收藏
     摘要: struit2中使用head标签,产生效果等同用js!  阅读全文
posted @ 2007-11-02 20:37 apple0668 阅读(4510) | 评论 (1)编辑 收藏
     摘要: SVN在版本控制方面做得不错,特别是用户权限控制管理方面!本文介绍Subversion之路---实现精细的目录访问权限控制!  阅读全文
posted @ 2007-10-30 22:06 apple0668 阅读(11247) | 评论 (3)编辑 收藏
     摘要: webwork通过配置webwork.properties文件来实现自定义后缀名!  阅读全文
posted @ 2007-10-29 19:24 apple0668 阅读(1555) | 评论 (0)编辑 收藏
     摘要: 小试log4j,感觉在开发是日志记录跟踪很重要!  阅读全文
posted @ 2007-10-27 22:31 apple0668 阅读(1266) | 评论 (0)编辑 收藏
     摘要: 在web中如果有需要多个同名的action,可以通过命名空间来管理action!  阅读全文
posted @ 2007-10-25 20:53 apple0668 阅读(8572) | 评论 (1)编辑 收藏
     摘要: 升级瑞星防火墙2008后,在myeclipse6.0中启动tomcat遇到怪问题!  阅读全文
posted @ 2007-10-23 22:18 apple0668 阅读(2176) | 评论 (7)编辑 收藏
     摘要: tomcat遇到启动时端口被占用冲突解决!  阅读全文
posted @ 2007-10-23 10:12 apple0668 阅读(7097) | 评论 (9)编辑 收藏
     摘要: 摘要和关键字

1. 介绍
2. 定义简单的泛型
3. 泛型和子类继承
4. 通配符(Wildcards)

4.1. 有限制的通配符(Bounded Wildcards)

5. 泛型方法

6. 与旧代码交互

6.1. 在泛型代码中使用老代码

6.2. 擦除和翻译(Erasure and Translation)

6.3. 在老代码中使用泛型代码

7. 要点(The Fine Print)

7.1. 一个泛型类被其所有调用共享

7.2. 转型和instanceof

7.3. 数组Arrays

8. Class Literals as Run-time Type Tokens <  阅读全文
posted @ 2007-10-21 19:25 apple0668 阅读(2493) | 评论 (3)编辑 收藏
     摘要: Test-Driven Development with Spring and Hibernate(下载),关于spring,hibernate测试方面的。  阅读全文
posted @ 2007-10-13 00:48 apple0668 阅读(1216) | 评论 (0)编辑 收藏
     摘要: webwork提供了validation校验框架,在开发过程中需要对表单输入数值进行校验,通过validation校验框架可以轻松完成表单校验。  阅读全文
posted @ 2007-10-12 22:24 apple0668 阅读(2257) | 评论 (2)编辑 收藏
     摘要: Tomcat启动是发生:IOException while loading persisted sessions: java.io.EOFException异常处理!  阅读全文
posted @ 2007-10-12 16:52 apple0668 阅读(85477) | 评论 (62)编辑 收藏
     摘要: Log4J配置文件实现了输出到控制台、文件、回滚文件、发送日志邮件、输出到数据库日志表、自定义标签等全套功能。  阅读全文
posted @ 2007-10-11 21:22 apple0668 阅读(3189) | 评论 (3)编辑 收藏
     摘要: Java字符集在开发中很很重要,了解相关的知识对开发中用到国际化或中文乱码解决都有帮助!  阅读全文
posted @ 2007-10-11 18:48 apple0668 阅读(956) | 评论 (1)编辑 收藏
     摘要: 在做国际化的时候对*** .properties文件进行配置,涉及Unicode转换,利用properties editor插件事半功倍。  阅读全文
posted @ 2007-10-03 10:18 apple0668 阅读(1639) | 评论 (0)编辑 收藏
     摘要: spring和webwork的整合中,关键核心思想理解webwork的action交给spring的IoC来管理。  阅读全文
posted @ 2007-10-02 23:50 apple0668 阅读(1388) | 评论 (2)编辑 收藏
     摘要: 在用户注册的时候,防止用户重复提交很重要,通过webwork的token功能可以防止表单的重复提交。  阅读全文
posted @ 2007-10-02 23:32 apple0668 阅读(1571) | 评论 (1)编辑 收藏