Font Size: a A A

Application In The Power Plant Information Construction Of Struts Framework Based On MVC

Posted on:2011-03-20Degree:MasterType:Thesis
Country:ChinaCandidate:M Y LiuFull Text:PDF
GTID:2178360305955429Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Power is a relationship that for our country and the people's livelihood and socialdevelopment of basic industries. With the the rapid development of the computertechnology and Internet also the construction of power plants is develping further.Modern office system gradually applied to every corner of the power industry.Paperless, digital office becomes the current and future mainstream office automation.ThisprojectstudiedpowerplantinShenyangCampionsitesurveyandimplementationdetails of the fuel management system modules, business process and framework forimplementation. The system code has been completed, the ultimate success has beendeployedandappliedtothepowerplant,andover manymonthsoftestingthatshowsthe system is stable, the measurement of value posed by the reliable data transmissionbetween local area networks To realize data sharing and improve electronic factoryefficiency, optimize the allocation of human resources. The actual management of thefuel, the fuel's settlement, procurement, testing, etc which really achieved officepaperless, and effectively reduce power plant cost for raising plants for the economiesfar-reaching. This paper is the use of a number of J2EE-related technologies to Struts2as a framework, based on the MVC pattern to achieve a power plant fuel managementsystem and the database is ORACLE. The paper is studied and implemented in thefollowingaspectsofthefuelmanagementsystem.First, the system design and implementation of the framework. Upon completionof all the functions required for the fuel management system, we have to consider itsuniversality, for the subsequent development to provide a good interface to expand.Meanwhile, in order to ensure the stability of the system, using struts2 framework,MVC design pattern. The main tool to operate the database we use has been packagedEJB2.0,frontpresentedbyJSPandJBOSSastheserver.Second, the system function design of the framework. Fuel management systemin the functional aspects of the operation is mainly for the class, which included two, one is the class of simple steps that the main pre-implementation is based on theoriginal model which is defined firstly and the operation is for some objects,such assearch and other additions and deletions to change; the other is the class of routineoperation: it pre-operation sequence defined by the system, as part of the concreteimplementationofthenodeinwhichpre-definedbythesystem.Thesystemisrunning,the correlation method is called by the system and then execute SQL statementsgeneratedsequence.Thelastofthesestatementsinatransactionwillbeprocessed.Third, the design page presentation for the system. In order to handle a largenumber of businesses, fuel management system needs to adopt a large number ofreports, this system reporting engine technology is built by a pure J2EE, WEB floorshow is pure JSP plus CSS implementation which is technically advanced. Presentedbytheleftsideofthepagetree,upperrightsideofthetableshows,undertherightsideof more information to display. Page on the side of the system function menu, themenubuttonconnectseachmodulelink,becauseusersindifferentfunctionalareas,weset updifferent users withdifferent privileges for increasingthesecurityof thesystem,different users see different menu structure. On the left side of the tree formed by theclass, and the nodes of this tree can customize the login screen, at the same timedynamically generated, where the tree structure of nodes we define the function of thesystem type, if one Click the link tree structure of nodes, then according to previouslink to the node's parameter settings, can be shown to the right on the part of the classor classes of object information, and provides multi-condition search, default isunconditional query. In the bottom right to display its detailed information to bedisplayed TAB page. At this point, if the currently displayed class template, then usethis template to display the kind of detailed information, else, information systembased on class properties to generate the object management page which becomes thereal-time generation, as well as the system user's purview for different, for differentuser's actions.When the right button is clicked which can determine being deleted ornot etc.As theinformationlength,someparts ofdetail requiredintheright lowerpartshows the details at this time can display updated information operations. On theparameterdescription: This pagepresents theframeworkoftheoverall compositionis:the left tree, a list of information displayed on the right upper and right lower part ofthe detailed information display. These three parts have in common is that the link canbe to set parameters which can facilitate the goal of management to operate class, the class of object range and click on the link displayed after the other. That can be set inadvance in the way of the window and to display such information and the scope ofsuch an object. For details of the link parameter settings, first tree link parameter to bethe content management objectives for the class, and class of the scope and the right tobe top of the class action and the scope of the object class, upper right List windowdisplay modes; followed by the upper right side of the link parameter settings, morethan the tree link several parameters for the lower right shows the format of the pagefor more information and to set different for different users authority to operate Themain object is to remove the class, updating operations; Finally, the right lower part ofthe link parameter settings and the setting of the tree line.Fourth, the data dictionary design.As the database table data is stored in the code. If the code is directly reflected tothe interface, users can not read its meaning, while the input when the user did notknow what the value of the entry. This use of the dictionary. The dictionary has tworoles: First, the database code translated into the corresponding description is displayedin the interface; the second is to provide drop-down selection box for users to select theinput.Fifth, the system and the railroad track scale, truck scale data transmission design.For this fuel management systems, our main objective is for its fuel import andconsumption, save the data operation. This involves two main measurement tools,railroad track scale, and truck scale. Truck and rail due to their own measurement scaleused by the database software and the special nature and limitations, which requires usto write code into Truck and track their value for the client data in a database inreal-time monitoring, and take the necessary action come to the front of the platformfor display and operation of the corresponding report.Sixth, the functional description of the system module. Fuel management systemincludes the basic information of fuel management, fuel transfer management of thecontract terms, fuel consumption deposit into the management of fuel qualitymanagement, fuel and settlement management. For the system to achieve the functionsof each module after the use of doing the main explanation.In this paper, the fuel management system to achieve the following characteris-tics:First, the system class framework for the management of versatility, as well as customization. A processing mechanism with the same number of objects of classmanagement, class, object deletions to change search using tree structure and lists, anddetails of the information display to achieve.Second, the system design and implementation framework with BS. Using struts2framework, MVC design pattern, jsp to display technologies such as the systemimplementation, replacing the traditional CS framework, the main business logic onthe server side implementation, thus greatly reducing the load on the client, reducingthe cost of system maintenance and upgrades can be inter - platform access, convenientcustomer use.
Keywords/Search Tags:MVC, fuel management, framework, design and implementation
PDF Full Text Request
Related items