一、項目名稱:S2316S411H436
項目原型:Struts2.3.16 + Spring4.1.1 + Hibernate4.3.6 + Quartz2.2.1
源代碼下載地址:
基本版:http://download.csdn.net/detail/liyunqi007/8040987(此版本還沒有整合Quartz)
改進版:http://download.csdn.net/detail/liyunqi007/8042997(比較上個版本,整合了Quartz和Gson)
更詳細具體的說明,請打開項目中doc目錄下的文檔:《項目介紹.doc》
二、項目目的:
整合使用最新版本的三大框架(即Struts2、Spring4和Hibernate4),搭建項目架構原型。
項目架構原型:Struts2.3.16 + Spring4.1.1 + Hibernate4.3.6 + Quartz2.2.1。
此外,還有:Quartz、JUnit4、Log4j、SLF4J、Ehcache、Gson等這些庫或框架,也全部使用最新版本。
三、項目特色:
1、同時使用了Struts2、Spring4、Hibernate4、Quartz、JUnit4、Log4j、SLF4J、Ehcache、Gson等庫或框架,搭建一個最基本的項目原型。
2、Spring配置提供了多種可選整合方案:詳見applicationContext.xml的配置
(1)提供支持三種數據源方案:C3P0、DBCP、JNDI,三選一,請注釋或刪除其他方案
(2)提取四種Hibernate整合方案:四選一,請注釋或刪除其他方案
(3)提供兩種聲明式事務管理器方案:二選一,請注釋或刪除其他方案
四、三大框架最新版本下載:截止2014-10-15
Struts2.3.6:發布于2014-05-03,目前的最新版本。官網:http://struts.apache.org/
http://mirrors.cnnic.cn/apache/struts/binaries/struts-2.3.16.3-all.zip
Spring4.1.1:發布于2014-10-01,目前的最新版本。官網:http://spring.io/
http://repo.spring.io/libs-release-local/org/springframework/spring/4.1.1.RELEASE/spring-framework-4.1.1.RELEASE-dist.zip
Hibernate4.3.6:發布于2014-07-16,目前的最新版本。官網:http://hibernate.org/
http://softlayer-sng.dl.sourceforge.net/project/hibernate/hibernate4/4.3.6.Final/hibernate-release-4.3.6.Final.zip
五、項目結構:如圖
  
六、源代碼下載地址:
基本版:http://download.csdn.net/detail/liyunqi007/8040987(此版本還沒有整合Quartz)
改進版:http://download.csdn.net/detail/liyunqi007/8042997(比較上個版本,整合了Quartz和Gson)
更詳細具體的說明,請打開項目中doc目錄下的文檔:《項目介紹.doc》
參考文檔:
http://blog.csdn.net/songanling/article/details/22454973
http://1194867672-QQ-com.VEvb.com/blog/1522906
新聞熱點
疑難解答