Font Size: a A A

Research On MVC Application Framework Integrated Struts With Service Locator

Posted on:2007-10-29Degree:MasterType:Thesis
Country:ChinaCandidate:L QiaoFull Text:PDF
GTID:2178360212972046Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
This paper introduces web development based on MVC and the most popular MVC framework Struts. Dependency Injection pattern firstly used in Spring framework is discussed. The pattern can reduce the coupling of a system. This paper describes three different ways to use this pattern in web development based on Struts. But Dependency Injection pattern could increase the complexity of the system and the developer's workload. To solve these problems, this paper introduces a new solution, using Service Locator pattern in development based on Struts. At last, a user login system is developed in different ways using Dependency Injection pattern and Service Locator pattern respectively and the two patterns are compared and analyzed to get a conclusion in how to choose a suitable one in the system applications.
Keywords/Search Tags:MVC, Struts, Spring, Dependency Injection, Service Locator
PDF Full Text Request
Related items