Font Size: a A A

The Research And Development Of The Applicatied System Based On Struts Framework

Posted on:2006-07-05Degree:MasterType:Thesis
Country:ChinaCandidate:F WangFull Text:PDF
GTID:2168360155453073Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the development of Internet technical, the network bringsmore and more conveniences to people's work,study and living. Also urges theinformational development of the enterprise. At the same time the need of the businessalso promotes the Web develop technic's renewal. After experiencing CGI, ASP,JSP , the SUN company put forward the J2EE(Java2 Platform EnterpriseEdition)based on various technique. It is gradually mature,and develop so fast.Theplatform uses a large amount of different technical standards such as Java Server Pages(JSP),Java Servlet,Enterprise JavaBeans (EJB),Java Message Service (JMS),JavaNaming and Directory Interface(JNDI),etc.It offers n-tier distributed applicationmodel,reused components ability,unified security model and flexible transactionprocess,it offers strong and stable service for developing and disposing enterpriseapplication. The system in this paper is based on J2EE platform.Although J2EE is really a outstanding enterprise application platform, it doesn'tmean that we are sure to get a successful enterprise system based on it. The knowledgeof software engineering tells us:in addition to learning the new technique, we still needto do a lot of preparation, such as using design pattern.etc.And utill then can we buildup a successful system.Design pattern is a set of code design summary,it can be usedagain and again, and can be understanded by majority. Using design pattern we canattain the code reuse, and let code more easily understand by others, and guarantee thecode is reliable.No doubt, using the design pattern is good for us , for others and forsystem. Using design pattern can make the code design real satisfy the request ofengineering, design pattern is the base of the software engineering, like a brick of themansion. There are a lot of design pattern, and the amount still increasing now, designpattern has became a huge miscellaneous system of itself gradually. The MVC(Model-View-Controller) pattern introduced in this paper is an importantdesign pattern in software engineering, it provided a outstanding development model.The MVC pattern separate system into three tiers, make the tier of the system clearer,a loose coupling of each tier match, make the development and maintenance of thesystem more easier, at the same time it makes the system to be reused.It is exactly thestrong advantage that the MVC design pattern reflects when developed in the interactivesystem,Developers introduce the MVC design pattern in J2EE progressively,and nowit becomes a very important design model at the time of structuring interactiveapplication and especially at the time of Web application. In MVC design pattern, we can divide a system into three tiers according to then-layer model that J2EE put forward, it is good to develop a system in diferentpieces.Certainly the realization of the actual system is more complicated than weassume, because of in actual development process, some of the logic tier also areincluded into the View tier, this make the View tier include a great deal of code ofbusiness and control progress, they can't be separate thoroughly. So we can not reachthe purpose of function subdivide and development in different pieces or models. Inorder to satisfy the demand and develop efficiency, a lot of organizations put forwardtheir own solution, and more and more persons choose open source framework as theirsolution, Struts framework is a kind of them, also the most popular one. Struts is one of the frameworks that carries out the design pattern of MVC, becauseof it's easy to learn and easy to use, it becomes more and more popular. For the Modeltier,Struts can interact with any standard data access technology, including EnterpriseJava Beans, and JDBC; For the View tier, Struts works well with Java Server Pages,...
Keywords/Search Tags:Struts, J2EE, Design Pattern, MVC, Web
PDF Full Text Request
Related items