Part I. Overview of Spring Framework The Spring Framework is a lightweight solution and a potential one-stop-shop for building yourenterprise-ready ap ...
Part I. Overview of Spring Framework
The Spring Framework is a lightweight solution and a potential one-stop-shop for building your
enterprise-ready applications. However, Spring is modular, allowing you to use only those parts that you
need, without having to bring in the rest. You can use the IoC container, with any web framework on
top, but you can also use only the Hibernate integration code or the JDBC abstraction layer. The Spring
Framework supports declarative transaction management, remote access to your logic through RMI or
web services, and various options for persisting your data. It offers a full-featured MVC framework, and
enables you to integrate AOP transparently into your software.
Spring is designed to be non-intrusive, meaning that your domain logic code generally has no
dependencies on the framework itself. In your integration layer (such as the data access layer), some
dependencies on the data access technology and the Spring libraries will exist. However, it should be
easy to isolate these dependencies from the rest of your code base.
This document is a reference guide to Spring Framework features. If you have any requests, comments,
or questions on this document, please post them on the user mailing list. Questions on the Framework
itself should be asked on StackOverflow (see https://spring.io/questions)
第一部分 spring框架概述
Spring框架是一種輕量級和有可能成為一站式的企業項目解決方案。但是,spring是組件化的,允許你只使用你需要的那一部分,其他部分可以不使用。你可以使用IoC容器和其他的web框架一起用,但是你也可以只使用hibernate集成代碼或者jdbc抽象層。Spring支持聲明式事務,通過RMI或者webService的遠程調用和其他各種方式來保存你的數據。他提供了一個全功能MVC框架,可以透明地集成aop特性到你的軟體中。
Spring被設計成不是侵入式,意味著你寫的邏輯代碼通常跟框架本身沒有依賴,在你的整合層(比如資料庫訪問層),數據訪問層和spring的庫相關的依賴會存在。但是,它應該比較容易把這些依賴從你的其他基礎代碼分離出來。
這個文檔是spring特性的參考手冊。如果你對這個文檔有什麼請求,評論或者問題,請發送郵箱到用戶郵箱列表中,spring框架的本身的問題應該去 StackOverflow詢問,(訪問https://spring.io/questions)