摘要: Struts 2.0系列之八
IoC(Inversion of Control,以下譯為控制反轉)隨著Java社區中輕量級容器(Lightweight Contianer)的推廣而越來越為大家耳熟能詳。在此,我不想再多費唇舌來解釋“什么是控制反轉”和“為什么需要控制反轉”。因為互聯網上已經有非常多的文章對諸如此類的問題作了精彩而準確的回答。大家可以去讀一下Rod Johnson和Juergen Hoeller合著的《Expert one-on-one J2EE Development without EJB》或Martin Fowler所寫的《Inversion of Control Containers and the Dependency Injection pattern》。
閱讀全文
文章來源:
http://www.tkk7.com/max/archive/2006/12/28/90548.html
posted on 2009-10-29 19:00
junly 閱讀(89)
評論(0) 編輯 收藏