基于MVC模式SSH2框架的企業(yè)物流管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
本文關(guān)鍵詞:基于MVC模式SSH2框架的企業(yè)物流管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn),由筆耕文化傳播整理發(fā)布。
基于MVC模式SSH2框架的企業(yè)物流管理
系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
摘要
業(yè)務(wù)管理是各大物流公司中的一項(xiàng)重要工作,原有的人工管理方式存在著這樣或那樣很多的不足。因此,我們需要借助輔助工具來進(jìn)行管理,使物流業(yè)務(wù)系統(tǒng)管理更快捷、更方便、更高效。因此有必要開發(fā)物流業(yè)務(wù)管理系統(tǒng)軟件來輔助企業(yè)的管理。
本系統(tǒng)軟件是基于MVC模式開發(fā)的,用Struts2十Spring+Hibernate具體實(shí)現(xiàn)的,就當(dāng)今物流系統(tǒng)的三大主流問題進(jìn)行了分析和解決。第一,就是網(wǎng)站的安全問題。幾乎每個(gè)網(wǎng)站都會(huì)遇到數(shù)據(jù)重復(fù)提交的安全隱患問題。比如防止重復(fù)刷新、防止后退等等都是屬于系統(tǒng)為避免重復(fù)記錄而需要解決的問題。本文中提出了基于Struts2的令牌思想,從根本上解決了這一問題。第二,就是由于物流過程中參與人數(shù)眾多,并且每個(gè)物流公司提供的信息過于復(fù)雜,從而工作量非常大,給查詢、修改、審核信息的更新工作帶來了很多的不便。本文中運(yùn)用了基于hibernate的o/RMapping機(jī)制,在系統(tǒng)開發(fā)過程中只需要通過文件的配置,就可以讓系統(tǒng)以對(duì)象整體的方式進(jìn)行使用,而無需關(guān)心數(shù)據(jù)庫的底層映射關(guān)系和字段,只需關(guān)注于對(duì)象的屬性和方法就可以了。第三,就是整個(gè)物流系統(tǒng)的權(quán)限問題。本文詳細(xì)介紹了一種方法Acegi,該方法將Struts2與RBAC有效的結(jié)合起來,實(shí)現(xiàn)了最終的權(quán)限控制。本論文最后從整體實(shí)現(xiàn)的角度上,以財(cái)務(wù)管理模塊為例,詳細(xì)論述了該系統(tǒng)的實(shí)現(xiàn)過程。
該企業(yè)物流管理系統(tǒng)是一個(gè)適用于所有中小型物流公司的一個(gè)小型但功能豐富的管理系統(tǒng),本著快捷、方便、高效的原則進(jìn)行設(shè)計(jì)開發(fā)。它能夠方便的查看該物流公司的產(chǎn)品基本信息,并且物流公司人員能夠及時(shí)處理、更新、審核信息,這些操作都可以很方便快捷的在該系統(tǒng)上完成。
關(guān)鍵詞:MVC;Struts2;Spring;Hibernate;企業(yè)物流管理系統(tǒng)
,,
TheTriPIeMasterBusinessManagementSystemDesignand
I呷IimentBasedOntheSSH2FramworkofMVCMode
Abstract
Businessmanagementisaveryimportantworkforeachlogisticscompany.Thereissomewhatdeficiencyfortheinitialhumanmanagement.SoweneedtorelyontheassistancetoolstomanagethewholesystemwhichCanmakethemanagementbusinesssystemfaster,moreconvenientandmoreefficient.Therefore,itisnecessarytodeveloplogisticsbusinessmanagementsystemsoftwaretoassistenterprisesmanagement.
ThesystemsoftwareWedevelopbasedonMVCmodeandisrealizedbytheStruts2+spring+hibematedetailedly.Andthissystemfocusesontheanalysisandresolutionaboutthethreemajorissues.Firstly,itisthesecurityofthewebsite.Almosteachsitewillencounterthissafetyissuewhichdataissubmittedrepeatedly.Suchastopreventtheduplicationofrefresh,topreventthepagebackofwebsite,etc,whichbelongtothesystemtoavoidduplicatingrecordsandneedtoberesolved.ThethesishasproposedatokenthinkingbasedonStruts2,whichCanresolvetheproblemfundamentally.Secondly,becausethelogisticsprocessisthelargenumberofparticipantsandeachcompanywhichprovidesinformationonthelogisticsistoocomplicated,andthentheoverloadisverylarge,whichbringsalotofinconvenienceforquerying,modifying,reviewingandupdatinginformationofthesystem.ThethesisusesetheO/RMappingmechanismbasedonthehibernateanddevelopment
inthesystemonlythroughtheconfigurationfile,youCanmakethesystemtheobjectasawholemanner,withoutconcerntotheunderlyingdatabasemappingandfield,butonlyfocusontheobjectpropertiesandmethodsaboutit.Thirdly,itisthewholelogisticssystempermissionissues.ThispaperdetailedlydescribesamethodthatisAcegiwhichCancombineStruts2withRBACeffectivelyandfinallyrealizetheaccesscontr01.Thethesisfinallyrealizedfromtheoverallnprocessuse
perspective,tofinancialmanagement,forexample,discussesindetailtheprocessofimplementationofthesystem.
Thisbusinesslogisticsmanagementsystemisasmallbutfeature-richmanagementsystemwhichissuitforthesmallandmediumsizedlogisticscompanies.Andthedevelopmentisaccordingtothefast,convenientandefficientdesignprinciples.Itcaneasytoviewthebasicinformationlogisticscompany’Sproductsandlogisticsstaffcanhandle,updateandreviewtheinformation
onpromptly.AlloftheoperationCanbeveryconvenientlyandfastcompletedthesystem.
KeyWords:MVC;Struts2;Spring;Hibernate;BusinessLogisticsManagementSystemIII
目錄
摘要….………........…..…...….........1Abstract.........................................II1引言.....….................…................11.1研究背景…………………………………………………………………….11.2研究現(xiàn)狀及發(fā)展方向……………………………………………………….11.3研究?jī)?nèi)容、目的及意義……………………………………………………一21.4本系統(tǒng)技術(shù)特點(diǎn)……………………………………………………………一31.5論文組織結(jié)構(gòu)…………………………………………………………………32J2EE架構(gòu)及MVC設(shè)計(jì)模式.............……..…..52.1J2EE平臺(tái)…………………………………………………………………………………………一52.1.1J2EE體系架構(gòu)…………………………………………………………….52.1.2J2EE服務(wù)技術(shù)…………………………………………………………….72.1.3J2EE平臺(tái)的優(yōu)點(diǎn)…………………………………………………………….92.2Modell與Model2…………………………………………………………………………….112.2.1Model】.……….…..…….…….…….…..….…..….…..….….…....………..….…....…..…112.2.2Model2……….….….…..………….….…..…..…......….…….....………...………......…122.3MVC模式……………………………………………………………………………………….132.3.1設(shè)計(jì)模式概念…………………………………………………………132.3.2MVC模式思想及組成…………………………………………………….132.3.3bflfC模式在J2EE平臺(tái)中的應(yīng)用…………………………………………162.4基于MVC的框架介紹……………………………………………………l72.4.1.Struts2…….….…………....…….….....……..…....…….……….……….….…..….…..172.4.2Spring…………………………………………………………………………………………..202.4.3Hibernate…….…………...……..….….……..…....….…….....………...….…..…......223SSH2開發(fā)框架…………………..……..….253.1為何選擇SSH2框架………………………………………………………253.2SSH2框架的詳細(xì)設(shè)計(jì)…………………………………………………….263.3SSH2框架實(shí)現(xiàn)流程……………………………………………………….274系統(tǒng)整體設(shè)計(jì)…………………..…………314.1系統(tǒng)結(jié)構(gòu)設(shè)計(jì)………………………………………………………………314.2系統(tǒng)數(shù)據(jù)庫設(shè)計(jì)……………………………………………………………355系統(tǒng)核心問題及解決方案………….………...415.1系統(tǒng)設(shè)計(jì)的核心問題………………………………………………………41
本文關(guān)鍵詞:基于MVC模式SSH2框架的企業(yè)物流管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn),由筆耕文化傳播整理發(fā)布。
本文編號(hào):65420
本文鏈接:http://sikaile.net/guanlilunwen/wuliuguanlilunwen/65420.html