Font Size: a A A

The Design And Implementation Of On-Line BookStore Based On JSP Technology

Posted on:2010-06-20Degree:MasterType:Thesis
Country:ChinaCandidate:T TongFull Text:PDF
GTID:2178360272495889Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
The article main research uses the JSP technology, the MVC design pattern, the Oracle database and so on develops the WEB program.Take the net on the bookstore system as a backing, carries on the thorough understanding and the research to these technologies, finally realizes on the net the bookstore system general function.On-line bookstore system design aspect we Uses the object-oriented analysis and the design method, uses UML (Unified Modeling Language) to carry on the analysis and the design for the system.The on-line bookstore system demand analysis aspect, the use and the enterprise synchronization analysis method, first carries on the description to the service demand, then gives the service flow chart.The advantage is easy to understand the system the demand.Meets down the basis demand description division system the main function, gives the system according to these functions to use the illustration.Uses the VISIO software with the illustration to carry on the modelling design.Finally with the example data sheet explain each function.Simultaneously divides the priority.The on-line bookstore system design aspect, first analyzes the system characteristic, from 11 has made the elaboration ability analysis, the redundancy, the modularity to isomerism.According to demand analysis result establishment system deployment chart, establishment system use database server, network server, application procedure server and client side browser.Then makes the further division to the system function, and carries on the description to each function.Then uses the VISIO tool the bookstore system analysis and establishes a UML kind of chart for the net on.Finally uses the MVC three constructions the design methods to realize on the net bookstore's demand.And carries on the specify to three constructions.Namely MVC is a design pattern, it compulsory causes the application procedure the input, processing and the output separates, uses the MVC application procedure to divide into three core parts: Model, view, controller.They process own respectively duty.The on-line bookstore concrete design aspect, first carries on the design to the database.Establishes the use according to the system demand the database, establishes the database table structure.Altogether designs three tables, the User table registers the concrete information in view of the user to carry on the design; The Book table carries on the design in view of the books information; The orderform table carries on the design in view of the order books information.Each table field all writes plainly the field name, the data type, the index, the principal linkage, the foreign key, showing.Is beneficial can read the table structure clearly in the designer.Then the design database structure drawing, mainly uses the E-R chart to design.The database table structure showed between the entity relation, the mark entity attribute.Next carries on the physical design to the database, the operating system environment, the memory request, the exchange area design, database SID, the database overall situation name, the database which the indication needs near the time interval table space disposition, the database system table space disposition, and the database security problem. Finally carries on the detailed design to system division each module.Mainly includes the user registration module, the user registers the module, the order books module, the order form administration module, the user information administration module, the browsing books module.Has all carried on the data description, the main method description and the main flow description to each module.The user registration module main realization user on-line bookstore system registration function, the user inputs the detailed individual information in the page, the system confirmation through after is the realization registration.The user registers the module mainly to complete the user input user name and the password registers on the net the bookstore system.User order books module main realization user basis browsing books information input sequence number examination books concrete information, then under order form order books function.The order form administration module main realization user carries on operations and so on revision, deletion to own order form.The user information administration module main realization user may complete to oneself information change operation.The browsing books module mainly can consult the complete books detailed information for the user realization the function.The on-line bookstore's realization aspect, first determines the system the environment.The determination development software is JBuilder, provides the function using JBuilder to carry on the software development.The definite database is Oracle. may use SQL PLUS or SQL WorkSheet operates the data sheet.Then completes the page using the JSP technology the realization.Including page management.All pages will include a navigation bar, this navigation bar by the registration, will register, the browsing, the order, the revision password, revises individual information to be composed.In order to reduce the code the compilation, other pages through use JSP <%@ the include> label the navigation bar document: head.txt inserts own page.All beans will deposit in JSP in the engine classes table of contents, all JSP page as well as the navigation bar document will deposit in JSP in the engine webapps/Root table of contents. Finally completes on the net the bookstore each page design, mainly includes the net to submit a written statement to the shop owner page, the user registration page, the user registers the page, the user order books page, the examination order form page, revises the order form page, the browsing books page, revises individual information page.The net submits a written statement to the shop owner page mainly to provide the system function, enters the function for the user choice which needs.The user registration page mainly provides the registration information for the user the form.The user registers the page to register the information for the user to provide the form.The user order books page mainly serves for the user order books.Examines the order form page mainly for the user examination order form information design.Revises the order form page mainly to carry on the revision service for the user to own order form.The browsing books page mainly provides the browsing books complete information for the user to provide the service.Carry on the detailed elaboration in the system disposition and the deployment aspect.Elaborated in detail in the system disposition the environment variable disposition, mainly aims at CLASSPATH and the PATH disposition; Then elaborated the system movement disposition, including server end and client side movement disposition.Then elaborated on the net the bookstore system produces webModule under JBuilder after ReBuild, how deployed this document under server TOMCAT, how the user through does start the TOMCAT server, moves this system.Finally the bookstore system carries on the summary to the net on, including to use development technical knowledge SP, UML, the data operation and so on carries on the summary, to use method of exploitation (object-oriented analysis and design method) the summary and the use MVC three construction method summary, as well as the system existence insufficiency carries on the summary to the performance history in.
Keywords/Search Tags:Servlet, JavaBeans, MVC
PDF Full Text Request
Related items