Topic: Updated! Spring 开发指南 0.6 released...

  Print this page

1.Updated! Spring 开发指南 0.6 released... Copy to clipboard
Posted by: keron
Posted on: 2004-08-28 23:34

两个月前就号称立即发布的,拖到现在....
最近实在是太忙,全国到处飞奔救火...

周末整理了一下,先发个预览版吧。

希望大家能指出不足和缺陷,如果觉得有什么地方有疏漏欢迎提出
too thanks!

http://www.xiaxin.net/Spring_Dev_Guide.rar

//updated 2004.9.2 补全持久层部分,修订文档版面。

2.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: davidself
Posted on: 2004-08-28 23:41

感谢分享(更新版)!Big Smile

3.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: helloworld
Posted on: 2004-08-28 23:52

引用:
2003 年年初,笔者在国外工作。其时,一位与笔者私交甚好的印度同事Paradeep从
公司离职去斯坦福深造,临走送给笔者一本他最钟爱的书籍作为纪念。
工作间隙,时常见到他摩娑此书,摇头不止(印度人习惯和中国人相反,摇头代表肯定、
赞同,相当于与中国人点头。笔者刚开始与印度同僚共事之时,每每组织项目会议,一屋子
人频频摇头,让笔者倍感压力……J)。
下班后,带着好友离职的失落,笔者夹着这本书走在回家的路上,恰巧路过东海岸,天
色依然明朗,随意坐上了海边一家酒吧的露天吧台,要了杯啤酒,随手翻弄着书的扉页,不
经意看见书中遍布的钢笔勾画的线条。
“呵呵,Paradeep 这家伙,还真把这本书当回事啊”,一边笑着,一边摊开了此书,
想看看到底是怎样的书让这样一个聪明老练的同事如此欣赏。
从此开始,这本书伴随笔者度过了整整一个月的业余时间……..


开头就很吸引人...

4.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: Lawme
Posted on: 2004-08-29 09:15

简单浏览了开头几页,叹为观止。

是本难得见到的好书。更吃惊的竟然是“部分预览”就如此引人入胜。

担心全书出来后下载不到,留个邮箱,请百忙之中给发一份。

lawme@126.com

谢谢!

5.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: floater
Posted on: 2004-08-29 09:48

glad to see a chinese document like this. A lot of work, well done. Now I feel much better, after commenting on a previous post: http://www.cjsdn.net/post/view?bid=20&id=108018&sty=1&tpg=1&age=0. This one is on a solid ground, not hanging in the air.

I wish one day, not only we could understand these topics in chinese, but also find more problems and solve them in these areas. This will put us in the frontiers of the battleground. This requires more experience, more patience, more hard work, and more intellegence. This also requires not just one man, but collective work from many.

6.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: felexs
Posted on: 2004-08-29 12:08

读了作者的《iBatis开发指南》、《Hibernate开发指南》后一直期待《Spring开发指南》,今天终于看到啦,尽管是预览版,期待正式版中的Spring+iBatis。

作者应该是国内J2EE领域的大师级的人物,jdon的banq 2年前还是可以的,不过现在热衷于money,他对Spring的认识太肤浅了。

7.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: floater
Posted on: 2004-08-29 12:37

1. Page 3, for core and app packages, the only dependency is commons-logging.jar. Also there is a seperate spring-core.jar, which is very small. Use this under jdk1.4 is quite convenient.
2. page 6, should be all action classes don't have Spring API, but the client(caller, test method) still has it.
3. Page 9, very good comments.
4. Page 24, Struts' design has some problems mentioned in the book. Spring's Controller implementation does depend on servlet api, but can be fixed. I have a sample code in my tutorial in the chain controller section. This is not a serious problem in practice in general because: 1. we can use *simple* mock to test controllers outside the servlet container(If the mock is not simple, it would be a problem); 2. The controller classes should be simple now(If not, there is something wrong in the code).
5. page 56, I agreed that <spring:bind> is invasive, the main problem is the combination of spring tag and <c:out...> would trigger the double quote, which causes the serious problem.
6. page 68, callbacks interrupts the natural logic. Too many callbacks may cause confusion. I suggest that either use the object package or wrap the callback in a generic class using SQLExecutor's idea. Or use Hibernate or iBATIS.

my 2 cents.

8.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: keron
Posted on: 2004-08-29 13:12

Great Thanks!!
especially to Floater.

Yesterday after I post this titile, I found your article about Spring MVC.
Great work!

I will keep on working on this document, hope will finish it before 10.7

Glad to disscuss with all the friends here.

Thanks.

9.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: floater
Posted on: 2004-08-30 06:10

you are welcome. I also read your other two documents, ibatis and hibernate. I am thinking about we should have a doc on dao and transactions.

10.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: swordwater
Posted on: 2004-08-30 14:23

谢谢!

11.Re:Spring 开发指南 0.5 released... [Re: keron] Copy to clipboard
Posted by: belief
Posted on: 2004-08-30 16:53

欣赏中...
谢谢

12.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: keron
Posted on: 2004-09-02 13:16

文档更新 0.6 released。

13.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: davidself
Posted on: 2004-09-02 13:27

文章受益匪浅!继续支持!

14.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: errorter
Posted on: 2004-09-02 13:38

谢谢楼主的 OpenDoc Series's

"So many open source projects. Why not Open your Documents"
漂亮!

向楼主学习ing

15.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: zyzhang
Posted on: 2004-09-02 19:09

I just printed it out (though, personally, i prefer the English version), and plan to open it in my favorite pub along the east coast of Irish sea. Smile

16.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: zhbk
Posted on: 2004-09-07 12:02

very good!

17.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: sunny2008
Posted on: 2004-09-10 10:17

谢谢

18.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: alin_ass
Posted on: 2004-09-13 16:30

赞扬的话就不说了,楼主,有空1.1的文档也整理出来,我们这群懒汉都靠您了

19.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: floater
Posted on: 2004-09-19 11:07

page 85, I think ibatis is not an ORM, just an OR. Hibernate is an ORM.

20.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: alin_ass
Posted on: 2004-09-22 15:25

register那个例子,validator自己怎么会知道要处理的表单对象呢?
我觉得spring组装强制用接口.
这样写好象合理点:

interface Form() {
void validate(Errors errors);
}
class RegisterForm implements Configable, Form() {
validate(Errors errors) {
// do validate and put info into errors
}
class RegisterAction {
supoort(Class it) {
return Form.class.isAssignableFrom(it);
}
validate(Object object, Errors errors) {
((Form)object).validate();
}
}

}

21.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: usqui
Posted on: 2004-09-22 21:58

thanks

22.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: alin_ass
Posted on: 2004-09-24 13:25

我收回上个回复,大家看了这个文档后可以去看看spring example jpetstore 中的AccountValidator,体会更深

23.Re:Updated! Spring 开发指南 0.6 released... [Re: keron] Copy to clipboard
Posted by: lummyliao
Posted on: 2004-10-07 11:11

thanks


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923