JEE框架 Spring 宣布將源碼移到 Github 托管
Spring 今天宣布將 Spring 框架源碼移到 Github 上,其他 Spring 的相關項目也會陸續的移到 Github。
Today we're happy to announce that the Spring Framework has moved to GitHub!
As you've probably noticed, nearly every other Spring project has already made the move, and those that haven't will soon.
Git helps us with many of the challenges of managing a large codebase like the Spring Framework, but what's most exciting is what GitHub means for the Spring community. Many readers will already know the virtues of watching and forking repositories, pull requests, forking and editing, and the many other features that GitHub adds to the already excellent world of Git. If you're new to this stuff, be sure to check out the great materials at help.github.com.
Otherwise, you'll find everything you need in the new Spring Framework readme.
Merry forking Christmas!
詳見:http://feedproxy.google.com/~r/SpringSourceTeamBlog/~3/pwLWS9HQ6is/
Spring Framework 是一個開源的Java/Java EE全功能棧(full-stack)的應用程序框架,以Apache許可證形式發布,也有.NET平臺上的移植版本。該框架基于 Expert One-on-One Java EE Design and Development(ISBN 0-7645-4385-7)一書中的代碼,最初由 Rod Johnson 和 Juergen Hoeller等開發。Spring Framework 提供了一個簡易的開發方式,這種開發方式,將避免那些可能致使底層代碼變得繁雜混亂的大量的屬性文件和幫助類。
Spring 中包含的關鍵特性:
- 強大的基于 JavaBeans 的采用控制翻轉(Inversion of Control,IoC)原則的配置管理,使得應用程序的組建更加快捷簡易。
- 一個可用于從 applet 到 Java EE 等不同運行環境的核心 Bean 工廠。
- 數據庫事務的一般化抽象層,允許宣告式(Declarative)事務管理器,簡化事務的劃分使之與底層無關。
- 內建的針對 JTA 和 單個 JDBC 數據源的一般化策略,使 Spring 的事務支持不要求 Java EE 環境,這與一般的 JTA 或者 EJB CMT 相反。
- JDBC 抽象層提供了有針對性的異常等級(不再從SQL異常中提取原始代碼), 簡化了錯誤處理, 大大減少了程序員的編碼量. 再次利用JDBC時,你無需再寫出另一個 '終止' (finally) 模塊. 并且面向JDBC的異常與Spring 通用數據訪問對象 (Data Access Object) 異常等級相一致.
- 以資源容器,DAO 實現和事務策略等形式與 Hibernate,JDO 和 iBATIS SQL Maps 集成。利用眾多的翻轉控制方便特性來全面支持, 解決了許多典型的Hibernate集成問題. 所有這些全部遵從Spring通用事務處理和通用數據訪問對象異常等級規范.
- 靈活的基于核心 Spring 功能的 MVC 網頁應用程序框架。開發者通過策略接口將擁有對該框架的高度控制,因而該框架將適應于多種呈現(View)技術,例如 JSP,FreeMarker,Velocity,Tiles,iText 以及 POI。值得注意的是,Spring 中間層可以輕易地結合于任何基于 MVC 框架的網頁層,例如 Struts,WebWork,或 Tapestry。
- 提供諸如事務管理等服務的面向方面編程框架。
在設計應用程序Model時,MVC 模式(例如Struts)通常難于給出一個簡潔明了的框架結構。Spring卻具有能夠讓這部分工作變得簡單的能力。程序開發員們可以使用Spring的 JDBC 抽象層重新設計那些復雜的框架結構。