笨笨
独学而无友,则孤陋而寡闻
摘要: DefaultResourceLoader implements ResourceLoader: 1 /* 2 * Copyright 2002-2005 the original author or authors. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you... 阅读全文
posted @ 2005-11-11 15:40 笨笨 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2005-11-11 15:35 笨笨 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2005-11-11 14:53 笨笨 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2005-11-11 13:27 笨笨 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2005-11-11 13:03 笨笨 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 今天花了点时间把Acegi的代码跟了一下帮我同学解决了一些问题(以前看过一些Acegi的源代码了),感觉看代码还是最有效的学习方式,现在看代码已经很有很有经验了,要get point还是相对来说比较容易的了。 阅读全文
posted @ 2005-11-10 21:13 笨笨 阅读(176) 评论(0) 推荐(0) 编辑
摘要: XStream比较小巧,用起来属于最快上手的,但是遇到几个问题:1.自己写的Java枚举类型没有支持,序列化和反序列化出来的都是毫无意义的枚举值。2.如果在序列化的内容中是含有xml的实体,xstream默认采用实体转化,而不是cdata。3.续问题2,如果序列化的内容中含有\n \r之类的信息,在反序列化的时候这种换行符丢失。第三个问题已经解决,xstream本身不会存在这个问题,因为我采用了一... 阅读全文
posted @ 2005-11-09 10:49 笨笨 阅读(2970) 评论(1) 推荐(0) 编辑
摘要: AN ILLUSTRATIVE EXAMPLE We're going to consider a simple, somewhat contrived example of a situation where mocks can help. First we will do it the hard way: creating our mocks e... 阅读全文
posted @ 2005-11-08 15:44 笨笨 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 1.不同分工的focus不同, How to resolve this in UML world( 参考UML2.0 In A NutShell Section 3.5):Different parties think of a project according to their different needs. Programmers think in terms of language an... 阅读全文
posted @ 2005-11-08 10:21 笨笨 阅读(347) 评论(0) 推荐(0) 编辑
摘要: http://pages.ebay.com.cn/help/buy/ia/buying_internationally.html 旅行支票是由银行发行的一种定额支票,其作用是专供旅客购买和支付旅途费用,它与一般银行汇票、支票的不同之处在于旅行支票没有指定的付款地点和银行,一般也不受日期限制,能在全世界通用,客户可以随时在国外的各大银行、国际酒店、餐厅及其他消费场所兑换现金或直接使用,是国际旅行... 阅读全文
posted @ 2005-11-07 12:43 笨笨 阅读(1737) 评论(0) 推荐(0) 编辑
摘要: 用Ant来取代shell脚本也是一个不错的选择,呵呵:-)跟朋友聊天,都希望最好有个Ant IDE玩玩,帮我们写script,现在的ant手册不是很灵活,查询不太方便:-)1. ant-contrib-1.0b1.jar是什么咚咚?A home for additional useful tasks and types for Ant (http://ant.apache.org). AN... 阅读全文
posted @ 2005-11-04 09:40 笨笨 阅读(313) 评论(0) 推荐(0) 编辑
摘要: http://campus.chinahr.com/pages/ibm/flash/flash1.asp http://campus.chinahr.com/pages/ibm/flash/flash2.asp http://campus.chinahr.com/pages/ibm/flash/flash4.asp 阅读全文
posted @ 2005-11-03 10:40 笨笨 阅读(149) 评论(0) 推荐(0) 编辑
摘要: JAVA专题技术综述 之 线程篇编写具有多线程能力的程序经常会用到的方法有:run(),start(),wait(),notify(),notifyAll(),sleep(),yield(),join()还有一个重要的关键字:synchronized本文将对以上内容进行讲解。一:run()和start()示例1:public class ThreadTest extends Thread{publ... 阅读全文
posted @ 2005-10-30 11:01 笨笨 阅读(184) 评论(0) 推荐(0) 编辑
摘要: The fact that we’ve been able to teach this process, with only minimal changes, over an entire decade, with it remaining useful and relevant today, is made possible because our process is based on fin... 阅读全文
posted @ 2005-10-27 11:10 笨笨 阅读(246) 评论(0) 推荐(0) 编辑
摘要: http://www.blogjava.net/sean/archive/2005/10/26/16929.html先放在这里了,鬼知道我什么时候才有空看:-)这是一组系列文章,主题是轻量级的开发,内容涵盖了轻量级容器、敏捷开发、持久化策略、以及Java语言本身的局限,等等等等。英文版出到了第7部分:http://www-128.ibm.com/developerworks/opensource/... 阅读全文
posted @ 2005-10-27 10:44 笨笨 阅读(234) 评论(0) 推荐(0) 编辑