Font Size: a A A

The Charge System Based On MVC Pattern

Posted on:2006-05-15Degree:MasterType:Thesis
Country:ChinaCandidate:W ChengFull Text:PDF
GTID:2168360155454554Subject:Software engineering
Abstract/Summary:PDF Full Text Request
OA(Office Automation) is a new kind of method of integrating themodern office business and computer network together. It is a very activetechnological application with very strong vitality in current new technicalrevolution. Also it is a product of the information society. Through thenetwork, all of the personnel in an organization at all levels can work incoordination without restraint of time and space. Charging system discussedin this paper is a sort of the OA.In the preliminary charpters of this text,I mostly introduce the relativetechniques to realize the charging system, including JSP,SQL Server2000,UML and XML. And then introduce the most important technique ofcharging system which is Struts.The Jakarta Struts project, an open-source project sponsored by theApache Software Foundation, is a server-side Java implementation of theModel-View-Controller (MVC) design pattern. The Struts project wasoriginally created by Craig McClanahan in May 2000, but since that time ithas been an open-source community.The Struts project was designed with the initial intention of offering anopen-source framework for Web application-oriented that can separateapplication layer and data layer from the application layer easily. Since itsnatal day, Struts has received quite a lot of developer supports and beenbecoming a dominant factor in the open-source community.To gain a real comprehension of the Struts Framework, you must have afundamental understanding of these three, which are: a Model, a View, and aController.The ModelThe Model component of the Struts Framework represents the dataobjects of the Struts application. It often relies on simple JavaBean, enterpriseJavaBean and relationship database object-oriented to realize business objectsand other systems. Or it can be used as a tool to manipulate or implement aWeb application. We spend lots of energy on the Model component.The ViewThe View component in the Struts Framework is mapped to a JavaServer that can contain any combination of HTML, JSP, and Struts tags.There is an action Forms in the View component which answers for thetransmission of the table data.The Controller The Controller component is the backbone of whole Struts constructure.It inherits a servlet named org.apache.Struts.action.ActionServlet. Thisservlet receives HTTP requests and control it. The Controller componentconsists of four components: Action Servlet, Struts.config-xml, RequestProcessor and Action component. Action Servlet is the center controller ofthe Struts Framework. Request Processor is the request processor ofeach application module.Action component is to manage a material operation.Struts.config-xml answers for install and configure each component. TheController is the most important component of the Struts Framework. It may improve and advance JSP, Servlet, tages and OO through makinguse of Struts Framework in Web application. It would reduce the time ofdeveloping MVC (Model-View -Controller) to advance efficiency of theexploitation. It is a good choice that Struts is applied in the client end of theJ2EE. From the fourth chapter in my dissertation, I introduce the consisting ofthe charging system in detailed. The system consists of seven modules:member manage, registered permanent residence manage, traffic user manage,charge manage, automobile maintain registered permanent residence manage,automobile maintain manage and automobile maintain charge manage. Andthen in my dissertation, I explain registered permanent residence managemodule and charge manage module in detail. The registered permanent residence manage module consists of sevenparts : safety logon, registered permanent residence insert, registeredpermanent residence search, registered permanent residence update,registered permanent residence logout, registered permanent residencedisplay , safety logoff. In my dissertation I apart explain in term of model,view and control. The charging manage module consists of five parts: safety logon, searchbalance, charge, display balance and logoff. And I also explain in term ofmodel, view and control respectively. In the fifths chapter in my dissertation, I explain how to use the chargingsystem including the use of each module .In the last section of the fifthchapter, I talk about the encrypt of the system including SSL agreement andthe encrypt of the SQL Server2000. There are three virtue to apply SSL: Currency, offer a simply interfacefor secret key encryption,only need a few servers and server a lot of clientcomputers. The encrypt of the SQL Server2000 is to use code of the data base andput up code validate about the data base characteristic in logon. It advancesthe security of the data base. (1)Currency :many sevices are established on the basis of SSL (such asHTTPS) which must be used if communicate with these services. V...
Keywords/Search Tags:Pattern
PDF Full Text Request
Related items