Font Size: a A A

Web Application Extended Struts Framework To Achieve

Posted on:2008-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:L WangFull Text:PDF
GTID:2208360242466522Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of the WEB technology, Java WEB developer has already drawn to take precept from those experiences for failure. Now, the various WEB framework grows quickly. The framework of Jakarta STRUTS becomes one of the best WEB framework via the evolve process. This article designs and implements the globalization management WEB system of the selling agent store of the Suzuki automobile, also according to the STRUTS, being called SEED system. On the layer structure of the WEB application, this article carried on elaborating in detail of the requirements, structure, designs and implementations, technology used and design patterns of the presentation layer, business logic layer and persistency layer of the SEED system.Although the STRUTS is an excellent framework with extensive development and application, having many of successful cases, also has the applies scope and shortage after all.1. STRUTS FormBean is used for large system, the workload of its development is very large. One FormBean sometimes needs up to thousand line of codes to complete loads items and gets a value. Such of the work not only spends time, but also comes amiss easily.2. The validation rules provided by the STRUTS Validator frame can't satisfy the demand of large system.3. STRUTS provided good supports for the front control and implementation of the presentation layer, but not for business logic layer and persistence layer, it has no method to concrete and no reference standard. This WEB application with STRUTS didn't get good support at the business logic layer and persistence layer.The author put forward own views and method to the place of STRUTS shortage, and gave a realization in the SEED system. Mainly work following several aspects:1. Put forward to use reflection to simplify the development of data loading of data transfer object, reduce the workload of the developers, lowered the miss and raised the quality of system.2. Use RESTYLE and T-FOG of the development tool of IBM WACs to support the development of presentation layer. The T-FOG extended the STRUTS Validator frame, defining the better validation rule of SEED system; The RESTYLE generates the JSP document of various type verification functions automatically. Provided a full guarantee in verifying a user input data.3. Use the business delegation to implement the business logic layer, made up the blank of STRUTS at the business logic layer, and lowered the coupling of the whole business logic layer, make the whole system have good reusability and expansibility.4. Use the Data Access Object (DAO) pattern to implement the persistence layer with the tool of DAO GENERATOR to help the realization of DAO pattern. DAO pattern encapsulates the access to data source, separate the business logic and the resources, making the system more expansible. Use the optimistic lock which uses according to the Timestamp to solve the conflict of parallel processing.The SEED system of this article design and realization is a Customer Relationship Management (CRM) system used by the enterprise of automobile. The system can help the enterprise to analyze a great deal of information of the customers and the latent customers, making enterprise can communicate with customers and provide the services more efficiently, raise the customer's satisfaction, and create more profits. Currently SEED system already be used by hundreds of sales and service centers of Suzuki automobile of the world, in good performance, provide a great deal of information resources for the enterprise everyday.
Keywords/Search Tags:STRUTS, Design Patten, Validator framework, Class Reflection, Data Access Object (DAO)
PDF Full Text Request
Related items