2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩19頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、0中文 中文 3800 字, 字,2200 單詞, 單詞,1.4 萬英文字符 萬英文字符出處: 出處:Gupta P, Govil M C. Spring Web MVC Framework for rapid open source J2EE application development: a case study[J]. Interface, 2010, 2(6): 1684-1689.畢業(yè)設(shè)計(論文)外文文獻翻譯 畢業(yè)設(shè)計(論

2、文)外文文獻翻譯院 系: 系:計算機與信息工程學(xué)院年級專 年級專業(yè): 業(yè): 姓 名: 名: 學(xué) 號: 號: 附 件: 件:Spring Web Mvc Framework for Rapid OpenSource J2EE Application Development 指導(dǎo)老師評語:指導(dǎo)教師簽名:年 月 日Spring Web MVC Framework for rapid open sourc

3、e J2EE application development: a case study2Architecture of the application. Spring frameworks comes with rich set of features, let us discuss these features in brief.1. Inversion Of Control: Inversion of Control or IoC

4、 is one of the techniques used to wire services or components to an application program. The IoC is “A software design pattern and set of associated programming techniques in which the flow of control of a system is inve

5、rted in comparison to the traditional interaction mode.” In IoC instead of an application calling the framework, it is the framework that calls the components specified by the application. The IoC can be explained as “In

6、jection of required resources or dependency at run-time into the dependent resource“ which is also known as Dependency Injection. The org.springframework.beans.factory.BeanFactory is the actual representation of the

7、 Spring IoC container which is responsible for containing and managing the beans. The BeanFactory interface is the central IoC container interface in Spring. A bean is simply an object that is instantiated and managed by

8、 a Spring IoC container. These beans and the dependencies between them are reflected in the configuration metadata used by a container.2. Constructor Dependency Injection: we can use the java class constructor to load th

9、e bean values. A java Class is defined with a constructor of single field. Details.xml file provides the value to be passes to the constructor. Now another java loads the xml file using the BeanFactory Method. This uses

10、the xml file to load values in the constructor of the java file. This is used to pass values to the constructor.3. Setter Dependency Injection: With every bean we defined the getters and setters. We can also use setters

11、method to set the values in the beans. setters method overrides the values loaded from the beans.4. Interface: we can define the interface class in spring. To implement this we will import interface to the java program.

12、Now we can use methods defined in interface using spring and xml.5. Inheritance: One java class can acquired the properties of another class just like a java program. There are three sub types of it. 1. Abstract: Beans d

13、eclared abstract cannot be inherited in the springs. 2. Parent Child: we can define hierarchy like parent child. 3. Parent - Child - Sub Child Relationship: in this we can define hierarchy for 3 or more classes.6. Autowi

14、ring: Autowiring is used to map the property name, values in xml file with java file. There are four types to integrate it. byName, byType, constructor, autodetect. If nothing is defined about it then byName is the defau

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論