資源描述:
《基于SSH實(shí)驗(yàn)室管理系統(tǒng)的研發(fā)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、摘要高校實(shí)驗(yàn)室是學(xué)生實(shí)踐實(shí)習(xí)的重要場所,在鞏固學(xué)生理論知識、培養(yǎng)學(xué)生綜合能力和創(chuàng)新意識方面發(fā)揮著重要作用。傳統(tǒng)的實(shí)驗(yàn)室管理系統(tǒng)不能滿足學(xué)生自主學(xué)習(xí)和開放式管理的需求,本文針對這一需求,設(shè)計了適應(yīng)現(xiàn)代教學(xué)要求的實(shí)驗(yàn)室管理系統(tǒng)。(1)論述了實(shí)驗(yàn)管理的重要地位和研究現(xiàn)狀,提出集成Struts2+Spring+Hibernate的輕量級MvC模式解決方案,構(gòu)建具有一定集成度和通用模式的SSH架構(gòu),開發(fā)具有實(shí)用價值的排課算法。(2)重點(diǎn)以實(shí)驗(yàn)項(xiàng)目管理模塊的開發(fā)為例,具體闡述了如何使用Struts2實(shí)現(xiàn)MvC模式并完成Web表
2、示層功能,Spring作為業(yè)務(wù)邏輯層的框架,依靠IoC的依賴注入功能,使系統(tǒng)各組件間達(dá)到松散耦合并且能和Struts與Hibernate框架很好的兼容,采用AOP實(shí)現(xiàn)了UIC的安全控制;負(fù)責(zé)管理表現(xiàn)層與數(shù)據(jù)訪問對象間關(guān)系,完成業(yè)務(wù)邏輯層的功能。Hibernate負(fù)責(zé)數(shù)據(jù)的持久化工作。通過分層處理使整個系統(tǒng)結(jié)構(gòu)清晰,功能明確,更重要的是各層次之間相互獨(dú)立,對某一層次的修改不會影響其他層次。經(jīng)實(shí)際運(yùn)用結(jié)果表明,對于中小型Web系統(tǒng)具有一定的通用性,而且采用分層及模塊化設(shè)計使系統(tǒng)具有較高的智能性、協(xié)作性、可重用性、可擴(kuò)展
3、性的特點(diǎn)。關(guān)鍵詞:實(shí)驗(yàn)室管理;MvC模式:Spring;Struts2;HibernateABSTRACTLaboratoryisasignificantplaeeforstudentstopracticeinc011egeandplayaVeryimportantroleinconsolidatingspeculatiVeknowledge,nurturingastudent’ssynthesizedabilityaswellasinnoVation.Traditionallabmanagementsystemc
4、an’tmeetastudentself—studyandtherequirementofopenmanagement.Inresponsetotheneeds,a1aboratorymanagementsystemisdesignedtoadapttotherequirementsofmoderneducation。(1)Thispaperdwellsontheimportantpositionof1abmanagementandcurrentstatus,comesupwitha1ightweights01ut
5、ionofMVCmodelintegratedStruts2+Spring+Hibernate,formsSSHarchitecturewithacertaindegreeofintegrationandcommonmode,anddevelopacurriculumalgorithmwhichhaspracticalvalue.(2)Totaketheprojectmanagementmoduleforexample,itelaborateshowtouseStruts2torealizeMVCmodelandc
6、ompleteWebpresentationfunction.Springisregardedasbusinesslogicframework,dependingontheinflowingfunctionofIoC,whichmakesthecomponentsachievelooselycouplingandbeabletobecompatiblewithStrutsandHibernate.UsingAOPbringsaboutIIthesecuritycontr01ofUIC,whichisincharge
7、ofrelationshipbetweenrepresentation1ayeranddataaccessobjeCtandcompletefunctionofbusiness109iclayer.Hibernateisresponsibleforpersistencyofdata.HierarchymakeswholesystemhaVeclearstructure,specificfunction,andwhat’smore,a11levelsareindependent.Thechangeofany1evel
8、won’taffectotherlevels.Theresultsofactualusingshowsthatitnotonlyhassomecommonalityforsmallandmedium—sizedsystems,butitalsomakesystemhigherintel1igent,c011aborative,reusable,expanda