posted @
2006-08-25 23:17 knowhow 閱讀(459) |
評論 (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 閱讀(782) |
評論 (0) |
編輯 收藏
摘要: reflection的學習,英文原文已貼過。
閱讀全文
posted @
2006-07-31 16:58 knowhow 閱讀(877) |
評論 (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 閱讀(425) |
評論 (0) |
編輯 收藏
摘要: 一個Before Advice的程序例子
閱讀全文
posted @
2006-07-28 17:07 knowhow 閱讀(327) |
評論 (0) |
編輯 收藏
摘要: Spring Bean基本管理
閱讀全文
posted @
2006-07-26 11:24 knowhow 閱讀(5148) |
評論 (0) |
編輯 收藏
摘要: 簡單的spring程序,包含一個javabean,一個配置文件和一個測試程序
閱讀全文
posted @
2006-07-26 10:09 knowhow 閱讀(373) |
評論 (0) |
編輯 收藏
摘要: iBatis并不在運行期自動生成SQL語句,具體的SQL語句由程序員編寫。通過映射文件,將SQL所需的參數,以及返回的結果字段映射到指定的POJO。相對于Hibernate等"全自動"ORM而言,iBatis以SQL開發的工作量和數據庫移植性上的讓步,為系統設計提供了更大的自由空間。
閱讀全文
posted @
2006-07-22 17:50 knowhow 閱讀(485) |
評論 (1) |
編輯 收藏