Spring 5.0.0框架介紹_中英文對照_第一章

文章作者:Tyan
博客:noahsnail.com

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 theHibernate 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框架是一個輕量級的解決方案侮腹,對于構(gòu)建一個企業(yè)級應(yīng)用來說棺棵,Spring框架也是一種可能的一站式服務(wù)。Spring是模塊化的抽莱,允許你僅使用你需要的那部分功能,而不必引入其它的部分僧著。你可以在任何web框架上使用IoC容器既绩,也可以只使用Hibernate集成代碼或JDBC抽象層。Spring框架支持聲明式的業(yè)務(wù)管理丐谋,支持通過RMI或web service來遠(yuǎn)程訪問你的邏輯芍碧,并且支持多種持久化數(shù)據(jù)的方式。Spring提供了一個包含所有功能的MVC框架号俐,使你能將AOP透明的集成到軟件中泌豆。

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.

Spring被設(shè)計為非侵入式的,這意味著你自己的邏輯代碼通常情況下不依賴于框架本身吏饿。在你的集成層(例如數(shù)據(jù)訪問層)踪危,將會存在一些數(shù)據(jù)訪問技術(shù)的依賴和Spring的庫。不管怎樣找岖,從你其余的代碼中分離這些依賴應(yīng)該是很容易的陨倡。

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框架功能的參考手冊。如果你有任何關(guān)于這篇文檔的要求许布、評論或問題兴革,請向用戶郵寄列表中的人發(fā)郵件。關(guān)于框架本身的問題可以在StackOverflow上提問。

1.Getting Started with Spring

This reference guide provides detailed information about the Spring Framework. It provides comprehensive documentation for all features, as well as some background about the underlying concepts (such as "Dependency Injection") that Spring has embraced.

這本參考手冊提供了關(guān)于Spring框架的詳細(xì)信息杂曲,它提供了關(guān)于所有功能的全面文檔庶艾,也介紹了Spring中的基本概念(例如依賴注入)的一些背景。

If you are just getting started with Spring, you may want to begin using the Spring Framework by creating a Spring Boot based application. Spring Boot provides a quick (and opinionated) way to create a production-ready Spring based application. It is based on the Spring Framework, favors convention over configuration, and is designed to get you up and running as quickly as possible.

如果你剛開始學(xué)習(xí)Spring擎勘,你可能想創(chuàng)建一個基于Spring Boot的應(yīng)用咱揍,Spring Boot提供了一個快速(和武斷的)方式來創(chuàng)建一個用于生產(chǎn)環(huán)境的基于Spring的應(yīng)用。它是基于Spring框架的棚饵,支持約定大于配置煤裙,被設(shè)計為可以快速啟動并且盡可能快的運行起來。

You can use start.spring.io to generate a basic project or follow one of the "Getting Started" guides like the Getting Started Building a RESTful Web Service one. As well as being easier to digest, these guides are very task focused, and most of them are based on Spring Boot. They also cover other projects from the Spring portfolio that you might want to consider when solving a particular problem.

你可以用start.spring.io 來生產(chǎn)一個基本的工程或遵循『Getting Started』指南中的一個噪漾,例如『Started Building a RESTful Web Service』指南硼砰。除了容易理解吸收之外,這些指南主要是基于任務(wù)的欣硼,它們中的大多數(shù)是基于Spring Boot的题翰。它們也包含了Spring的其它工程,當(dāng)解決一個特定問題時你可能會考慮它們诈胜。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末豹障,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子焦匈,更是在濱河造成了極大的恐慌血公,老刑警劉巖,帶你破解...
    沈念sama閱讀 218,386評論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件括授,死亡現(xiàn)場離奇詭異坞笙,居然都是意外死亡,警方通過查閱死者的電腦和手機荚虚,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,142評論 3 394
  • 文/潘曉璐 我一進店門薛夜,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人版述,你說我怎么就攤上這事梯澜。” “怎么了渴析?”我有些...
    開封第一講書人閱讀 164,704評論 0 353
  • 文/不壞的土叔 我叫張陵晚伙,是天一觀的道長。 經(jīng)常有香客問我俭茧,道長咆疗,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,702評論 1 294
  • 正文 為了忘掉前任母债,我火速辦了婚禮午磁,結(jié)果婚禮上尝抖,老公的妹妹穿的比我還像新娘。我一直安慰自己迅皇,他們只是感情好昧辽,可當(dāng)我...
    茶點故事閱讀 67,716評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著登颓,像睡著了一般搅荞。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上框咙,一...
    開封第一講書人閱讀 51,573評論 1 305
  • 那天咕痛,我揣著相機與錄音,去河邊找鬼喇嘱。 笑死暇检,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的婉称。 我是一名探鬼主播,決...
    沈念sama閱讀 40,314評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼构蹬,長吁一口氣:“原來是場噩夢啊……” “哼王暗!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起庄敛,我...
    開封第一講書人閱讀 39,230評論 0 276
  • 序言:老撾萬榮一對情侶失蹤俗壹,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后藻烤,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體绷雏,經(jīng)...
    沈念sama閱讀 45,680評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,873評論 3 336
  • 正文 我和宋清朗相戀三年怖亭,在試婚紗的時候發(fā)現(xiàn)自己被綠了涎显。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 39,991評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡兴猩,死狀恐怖期吓,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情倾芝,我是刑警寧澤讨勤,帶...
    沈念sama閱讀 35,706評論 5 346
  • 正文 年R本政府宣布,位于F島的核電站晨另,受9級特大地震影響潭千,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜借尿,卻給世界環(huán)境...
    茶點故事閱讀 41,329評論 3 330
  • 文/蒙蒙 一刨晴、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦割捅、人聲如沸奶躯。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,910評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽嘹黔。三九已至,卻和暖如春莫瞬,著一層夾襖步出監(jiān)牢的瞬間儡蔓,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,038評論 1 270
  • 我被黑心中介騙來泰國打工疼邀, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留喂江,地道東北人。 一個月前我還...
    沈念sama閱讀 48,158評論 3 370
  • 正文 我出身青樓旁振,卻偏偏與公主長得像获询,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子拐袜,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,941評論 2 355

推薦閱讀更多精彩內(nèi)容