版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、Praveen.Gupta et al. / International Journal of Engineering Science and Technology Vol. 2(6), 2010, 1684-1689 Spring Web MVC Framework for rapid open source J2EE application development: a case studyPraveen Gupta Rese
2、arch Scholar, Singhania University Pacheri Bari, Rajasthan, India Prof. M.C. Govil Govt. Mahila Engineering College Ajmer, Rajasthan, India Abstract— Today it is the highly competitive for the development of Web appl
3、ication, it is the need of the time to develop the application accurately, economically, and efficiently. We are interested to increase productivity and decrease complexity. This has been an underlying theme in a move
4、ment to change the way programmers approach developing Java 2 Platform, Enterprise Edition (J2EE) Web applications. Our focus is how to create J2EE-compliant software without using Enterprise Java Beans (EJB). The one
5、 of the best alternative is the Spring framework, which provides less services but it is much less intrusive than EJB. The driving force behind this shift is the need for greater productivity and reduced complexity in
6、the area of Web application software development and implementation. In this paper, we briefly describe spring underlying architecture and present a case study using Spring web MVC Framework. Index Terma: MVC, Spring,
7、 XML I. INTRODUCTION Web is the very complex issues these days. Since the desire of the companies and organizations are increasing so the complexity and the performance of the web programming matters. Complexity with th
8、e different types of communication devices is increasing. The business is demanding applications using the web and many communication devices. So with the increase load of the data on the internet we have to take care
9、of the architecture issue. Let us discuss how it works fast using spring web mvc framework the rapid application development while maintaining the Model View Architecture of the application. Spring frameworks comes wit
10、h rich set of features, let us discuss these features in brief. 1 Inversion Of Control: Inversion of Control or IoC is one of the techniques used to wire services or components to an application program. The IoC is “
11、A software design pattern and set of associated programming techniques in which the flow of control of a system is inverted in comparison to the traditional interaction mode.” In IoC instead of an application calling t
12、he framework, it is the framework that calls the components specified by the application. The IoC can be explained as “Injection of required resources or dependency at run-time into the dependent resource“ which is als
13、o known as Dependency Injection. The org.springframework.beans.factory.BeanFactory is the actual representation of the Spring IoC container which is responsible for containing and managing the beans. The BeanFactory in
14、terface is the central IoC container interface in Spring. A bean is simply an object that is instantiated and managed by a Spring IoC container. These beans and the dependencies between them are reflected in the config
15、uration metadata used by a container. 2. Constructor Dependency Injection: we can use the java class constructor to load the bean values. A java Class is defined with a constructor of single field. Details.xml file pro
16、vides the value to be passes to the constructor. Now another java loads the xml file using the BeanFactory Method. This uses the xml file to load values in the constructor of the java file. This is used to pass values
17、to the constructor. 3. Setter Dependency Injection: With every bean we defined the getters and setters. We can also use setters method to set the values in the beans. setters method overrides the values loaded from th
18、e beans. ISSN: 0975-5462 1684Praveen.Gupta et al. / International Journal of Engineering Science and Technology Vol. 2(6), 2010, 1684-1689 The following figure 02 shows the sequence diagram of the spring model. In this
19、the dispatcher Servlet is the entry point for the application. As soon the Dispatch Servlet get the request for the services and it will decides the handler. All handlers are mapped with the Servlet. Handler will come
20、in action and will call the respective controller and the pass the request parameters to it. Now controller comes in action, it contains business logic and a ModelAndView is associated with the controller. on executi
21、on it will return the ModelAndView to the Dispatch Servlet. This ModelAndView contains the data and view name. Dispatcher Servlet gets the ModelAndView from the controller. It contains the data and view name. Servlet w
22、ill call the view resolver. View resolver will identify the name of the view through which data is to be presented. Finally it will present the data to the respective and appropriate format to the user. Figure 2: Seq
23、uence flow of application in the spring framework. IV. SPRING AND XML Xml is widely used in the spring framework. It simplify the development process and saves time. xml is used to store the data, which is used during
24、the execution of application. Contr oller Front controller View template Return response Render response Return control Delegate request Delegate rendering of response model model Dispatch er Servlet Handler Mapp
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- [雙語翻譯]計(jì)算機(jī)外文翻譯--運(yùn)用spring mvc框架進(jìn)行快速的開源j2ee應(yīng)用程序開發(fā)案例研究
- [雙語翻譯]計(jì)算機(jī)外文翻譯--運(yùn)用spring mvc框架進(jìn)行快速的開源j2ee應(yīng)用程序開發(fā):案例研究
- [雙語翻譯]計(jì)算機(jī)外文翻譯--運(yùn)用spring mvc框架進(jìn)行快速的開源j2ee應(yīng)用程序開發(fā)案例研究中英全
- 2010年計(jì)算機(jī)外文翻譯--運(yùn)用spring mvc框架進(jìn)行快速的開源J2EE應(yīng)用程序開發(fā)案例研究(英文).PDF
- 2010年計(jì)算機(jī)外文翻譯--運(yùn)用spring mvc框架進(jìn)行快速的開源j2ee應(yīng)用程序開發(fā)案例研究
- 2010年計(jì)算機(jī)外文翻譯--運(yùn)用spring mvc框架進(jìn)行快速的開源J2EE應(yīng)用程序開發(fā)案例研究.DOC
- 開源框架spring快速開發(fā)j2ee web應(yīng)用一個(gè)案例研究-外文翻譯
- 計(jì)算機(jī)j2ee外文翻譯
- 計(jì)算機(jī)外文翻譯,文獻(xiàn)綜述(j2ee)幫助文獻(xiàn)綜述外文翻譯計(jì)算機(jī)j2ee文獻(xiàn)翻譯
- 計(jì)算機(jī)外文翻譯---appfuse 關(guān)于j2ee web應(yīng)用
- 計(jì)算機(jī)外文翻譯,文獻(xiàn)綜述(j2ee)
- 計(jì)算機(jī)外文翻譯---j2ee web應(yīng)用架構(gòu)分析
- 計(jì)算機(jī)專業(yè)外文翻譯—基于java、j2ee的spring框架實(shí)現(xiàn)和分析大數(shù)據(jù)技術(shù)
- 外文翻譯---一種基于hibernate、struts和spring的j2ee應(yīng)用開發(fā)框架
- 計(jì)算機(jī)外文翻譯--使用xml,spring和struts以mvc為設(shè)計(jì)模式的多分布式應(yīng)用程序框架
- 基于Spring Framework等開源框架的J2EE開發(fā)平臺(tái)的研究.pdf
- 外文翻譯-----一種新的網(wǎng)絡(luò)應(yīng)用程序開發(fā)框架——mvc
- 計(jì)算機(jī)外文翻譯---spring的web_mvc_構(gòu)架模式
- 基于Spring實(shí)現(xiàn)J2EE企業(yè)應(yīng)用開發(fā)框架的研究與應(yīng)用.pdf
- [雙語翻譯]--計(jì)算機(jī)軟件工程外文翻譯--為快速開發(fā)web應(yīng)用設(shè)計(jì)一個(gè)mvc模型
評論
0/150
提交評論