摘要随着Internet技术的不断发展,人们在日常生活和工作中越来越多地使用JSP这项新的技术。目前JSP的发展趋势已由过去的C/S架构转换到了B/S架构,大大减轻了客户端的工作负担,用户可以通过浏览器对分布在网络上的各种服务器进行访问。基于B/S架构开发的“账族记账系统”实现了三层体系结构的开发,充分利用了JSP网络开发技术,并且采用了SH(Struts2+Hibernate)模式对系统进行开发。前台的使用用户可以浏览相关的网站信息,通过注册进行个人日常记账。由于前台和后台的分开控制,系统后台的管理员可以对用户、默认的类别、网站信息等进行管理。“账族记账系统”的开发采用了B/S架构、JSP技术、Java编程语言、Struts2、Hibernate和MySQL数据库等软件技术。经过测试,该系统可以在以Tomcat7.0作为服务器的IE浏览器、Chrome、Firefox正常运行,该记账软件统界面友好、简单,易于用户操作。关键词:B/S架构JSPStruts2HibernateMySQL数据库ABSTRACTWithagrowingdevelopmentoftechnologyofInternet,weutilizeitmoreandmorefrequentlyinourdailylife.Nowadays,thereisatendencyfordevelopmentofASP,fromC/SframetoB/Sone,whichreducesgreatlyclients’burden.TheycanvisitallvarietiesofserversontheInternetthroughbrowser.BasedonB/Sframe,“accountingprofessionalqualificationonlinesystem”realizesthethree-tierarchitecturedevelopment,takesthemostofJSPnetworkdevelopmentandadoptsMVCpattern.Userswhouseforegroundingcanbrowseallrelevantinformationbythisonlinesystemaswellasconductonlinegradingbyregistration.Becauseofseparatedcontrolbetweenforegroundandbackground,backgroundadministratorscantakeeffectivemanagementonusers’titlesandexaminations.Thisdissertationisengagedmainlyinanalysisofrelevantprinciplesof“accountingprofessionalqualificationonlinesystem”,includingintroductionofsoftwaretechnologiesofB/Sframe,JSP,JavaandMySQLdatabaseadopted.Havingbeentested,thissystemcanoperatesmoothlyintheTomcat6.0-basedIEbrowser,whichisuser-friendly,simpleandeasily-performed.Aconvenientplatformisfurnishedforaccountingprofessionalstotestandknowtheexaminationinformation.Keywords:B/SframeJSPStruts2HibernateMySQLdatabase目录引言...........................................................................................................................................................1第一章系统的分析.............................................................................................................................21.1可行性分析..................................................................................................................................21.2需求分析.......................................................................................................................................31.3系统环境开发.............................................................................................................................4第二章系统的总体设计....................................................................................................................52.1开发工具及关键技术的介绍..................................................................................................52.2系统流程.......................................................................................................................................72.3系统模块设计.............................................................................................................................7第三章数据库的设计.......................................................................................................................113.1数据库设计原则.......................................................................................................................113.2数据库实体设计.......................................................................................................................113.3数据库结构设计.......................................................................................................................12第四章程序模块的界面设计及实现...........................................................................................154.1程序注册及登录.......................................................................................................................154.2用户管理模块...........................................................................................................................184.3首页信息浏览功能模块.........................................................................................................194.4默认开支类别管理..................................................................................................................204.5记账功能模块...........................................................................................................................22第五章系统调试与测试..................................................................................................................255.1程序调试.....................................................................................................................................255.2程序的测试................................................................................................................................25结论.........................................................................................................................................................28谢辞.........................................................................................................................................................29参考文献....................................................................................................................................................30大连交通大学2013届本科生毕业设计(论文)1