資源簡介
第1章:對Spring框架進行宏觀性的概述,力圖使讀者建立起對Spring整體性的認識。
第2章:通過一個簡單的例子展現開發Spring Web應用的整體過程,通過這個實例,讀者可以快速跨入Spring Web應用的世界。
第3章:講解Spring IoC容器的知識,通過具體的實例詳細地講解IoC概念。同時,對Spring框架的三個最重要的框架級接口進行了剖析,并對Bean的生命周期進行講解。
第4章:講解如何在Spring配置文件中使用Spring 3.0的Schema格式配置Bean的內容,并對各個配置項的意義進行了深入的說明。
第5章:對Spring容器進行解構,從內部探究Spring容器的體系結構和運行流程。此外,我們還將對Spring容器一些高級主題進行深入的闡述。
第6章:我們從Spring AOP的底層實現技術入手,一步步深入到Spring AOP的內核中,分析它的底層結構和具體實現。
第7章:對如何使用基于AspectJ配置AOP的知識進行了深入的分析,這包括使用XML Schema配置文件、使用注解進行配置等內容。
第8章:介紹了Spring所提供的DAO封裝層,這包括Spring DAO的異常體系、數據訪問模板等內容。
第9章:介紹了Spring事務管理的工作機制,通過XML、注解等方式進行事務管理配置,同時還講解了JTA事務配置知識。
第10章:對實際應用中Spring事務管理各種疑難問題進行透徹的剖析,讓讀者對Spring事務管理不再有云遮霧罩的感覺。
第11章:講解了如何使用Spring JDBC進行數據訪問操作,我們還重點講述了LOB字段處理、主鍵產生和獲取等難點知識。
第12章:講解了如何在Spring中集成Hibernate、myBatis等數據訪問框架,同時,讀者還將學習到ORM框架的混用和DAO層設計的知識。
第13章:本章重點對在Spring中如何使用Quartz進行任務調度進行了講解,同時還涉及了使用JDK Timer和JDK 5.0執行器的知識。
第14章:介紹Spring 3.0新增的OXM模塊,同時對XML技術進行了整體的了解。
第15章:對Spring MVC框架進行詳細介紹,對REST風格編程方式進行重點講解,同時還對Spring 3.0的校驗和格式化框架如果和Spring MVC整合進行講解。
第16章:有別于一般書籍的單元測試內容,本書以當前最具實戰的JUnit4+Unitils+ Mockito復合測試框架對如何測試數據庫、Web的應用進行了深入的講解。
第17章:以一個實際的項目為藍本,帶領讀者從項目需求分析、項目設計、代碼開發、單元測試直到應用部署經歷整個實際項目的整體開發過程。
代碼片段和文件信息
package?com.baobaotao;
import?org.apache.commons.lang.builder.ReflectionToStringBuilder;
import?javax.persistence.Entity;
import?javax.persistence.Table;
import?javax.persistence.Column;
import?javax.persistence.Id;
import?java.lang.reflect.Field;
import?java.io.Serializable;
/**
?*?@author?陳雄華
?*?@version?1.0
?*/
@Entity
@Table(name=“T_USER“)
public?class?User?implements?Serializable{
????@Id
????@Column(name?=?“USER_NAME“)
????private?String?userName;
????private?String?password;
????private?int?score;
????@Column(name?=?“LAST_LOGON_TIME“)
????private?long?lastLogonTime?=?0;
????public?String?getUserName()?{
????????return?userName;
????}
????public?void?setUserName(String?userName)?{
????????this.userName?=?userName;
????}
????public?String?getPassword()?{
????????return?password;
????}
????public?void?setPassword(String?password)?{
????????this.password?=?password;
????}
????public?int?getScore()?{
????????return?score;
????}
????public?void?setScore(int?score)?{
????????this.score?=?score;
????}
????public?long?getLastLogonTime()?{
????????return?lastLogonTime;
????}
????public?void?setLastLogonTime(long?lastLogonTime)?{
????????this.lastLogonTime?=?lastLogonTime;
????}
????public?String?toString()?{
????????return?(new?ReflectionToStringBuilder(this)?{
????????????protected?boolean?accept(Field?f)?{
????????????????if(f.getType().isPrimitive()?||?f.getType()?==?String.class?){
????????????????????return?true;
????????????????}else{
????????????????????return?false;
????????????????}
????????????}
????????}).toString();
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6023??2011-03-25?11:24??Spring+3.x企業應用開發實戰光盤源碼\chapter10\.classpath
?????文件????????300??2011-03-23?14:21??Spring+3.x企業應用開發實戰光盤源碼\chapter10\.myme
?????文件???????1415??2011-03-23?16:26??Spring+3.x企業應用開發實戰光盤源碼\chapter10\.project
?????文件????????500??2011-03-23?16:26??Spring+3.x企業應用開發實戰光盤源碼\chapter10\.settings\.jsdtscope
?????文件?????????49??2011-03-23?16:26??Spring+3.x企業應用開發實戰光盤源碼\chapter10\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件??????????6??2011-03-23?16:26??Spring+3.x企業應用開發實戰光盤源碼\chapter10\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件???????4925??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\ba
?????文件???????2851??2010-06-10?17:47??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\connleak\applicatonContext.xm
?????文件???????1930??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\connleak\HiberUserService.class
?????文件???????1821??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\connleak\JdbcUserService$UserServiceRunner.class
?????文件???????2916??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\connleak\JdbcUserService.class
?????文件???????3423??2010-03-03?22:14??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\entity\applicatonContext.xm
?????文件???????3402??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\entity\HibernateUserService.class
?????文件???????2150??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\GetResourceDirectlyTest$NoticeServiceRunner.class
?????文件???????3056??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\GetResourceDirectlyTest.class
?????文件???????2329??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\HibernateTxManagerRunInJdbcTxManagerTest.class
?????文件???????2336??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\HibernateTxManageTest.class
?????文件???????1617??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\JdbcDaoRunWithHiberTxManagerTest.class
?????文件???????3041??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\JdbcDaoWithoutTxManagerTest.class
?????文件???????3002??2010-06-10?11:38??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\mixdao\applicationContext.xm
?????文件????????300??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\mixdao\ba
?????文件???????1492??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\mixdao\ScoreService.class
?????文件???????2441??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\mixdao\UserService.class
?????文件???????2491??2011-03-23?11:58??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\mixla
?????文件???????1651??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\mixla
?????文件???????2241??2010-06-10?10:32??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\multithread\applicatonContext.xm
?????文件????????310??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\multithread\ba
?????文件???????1338??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\multithread\ScoreService.class
?????文件????????877??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\multithread\UserContextHolder.class
?????文件???????1817??2011-03-23?14:20??Spring+3.x企業應用開發實戰光盤源碼\chapter10\bin\com\baobaotao\multithread\UserService$MyThread.class
............此處省略4087個文件信息
- 上一篇:Asp與ajax前后端交互
- 下一篇:基于asp。net圖書管理系統
評論
共有 條評論