您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 多层体系结构下网通信息系统设计与实现
华中科技大学硕士学位论文多层体系结构下网通信息系统设计与实现姓名:刘欣申请学位级别:硕士专业:软件工程指导教师:肖来元20051022IInternetB/S(/)J2EEB/SJ2EEXML()J2EEMVCMVCWebStrutsJ2EEMVCWebWEBJ2EEMVCWebWEB/IIAbstractWiththerapiddevelopmentofInternet,traditionalapplicationsareconvertingintoB/Sarchitecturebased,multi-tierapplicationgradually.Applicationswithfeatureslikedistributed,openandplatform-independenthavebecomemainstreamofenterpriseapplicationdevelopment.AsthemaintechnologyofenterprisedevelopmentJ2EEplatformofferseffectivesupporttodevelopB/Sarchtecturebasedmuti-tierdistributedapplications.Itgainsmoreandmoredevelopers'preference.J2EEprovidesamulti-tiereddistributedmodelwhichhasreusablecomponents,dataexchangebasedonXML,andsecuritypatternandtractionservice.ThepaperusesJ2EEtodesignaflexible,scalablelogisticsmanagementinformationsystemofNetcom.ThissystemisimplementedwithMVCdesignpatternMVCdesignpatternseparatescontrolofdatafromrepresentationofdatawhichmakesystemdesigningbecomeclearandsystemdevelopingbecomeeasy,andthereforehastheadvantageofimplementationofmulti-layerWebapplications.StrutsistheapplicationframeworkwhichimplementsMVCbasedonJ2EEplatform.Iteasestheburdenofconstructingmulti-layerWebapplicationsandprovidesreusablesoftwarearchitecture.ThispaperdesignsandimplementsawebapplicationframeworkbasedonJ2EEplatformwiththeideasaboutsoftwarearchitecture,framework,designpattern,andobject-oriented.AndtheInformationSystemofNetcomissuccessfullyimplementedwiththeframework.TheframeworkadoptstheideaofMVCdesignpattern.Theframeworkwillbecomeabetterreuseablewebapplicationframeworkthatresolvesmanyproblemsinthedevelopmentoftheenterprisewebapplication.KeywordsDesignPatternEnterpriseapplicationBrowse/ServerSoftwareArchitecture111.1J2EEJ2EEJ2EE[1]()J2EEJ2EEJ2EEJ2EE[25]J2EEJDBCJMSXMLJNDICORBAAPI[6]J2EEJ2EE21.22003;2112000200331234(OA)(LAN)(WAN)web211961JD.GallasherISO5123451232090(CIMS),,,61.312J2EE34572J2EEXMLJ2EE.NETJ2EEJ2EE2.1J2EEJ2EEJavaJavaJava1991SUN1994InternetJavaAppletJavaBean1995NetscapeJavaJavaAppletJavaSUN1996IJDK1.2,Java219956J2EE1.4Java1J2SEJava2StandardEditionJava2J2MEJava2MicroEditionJava3J2EEJava2EnterpriseEditionJavaJavaAppletWebJavaAppletAppletHTMLWebAppletSUNWebJavaServletServletServletJSP8JSPSUNJSPJ2EEServlet,SUNEJB2.2J2EE.NETJ2EE.NETJ2EE.NET[711]JavaC#C#JavaC++JavaCSmalltalk(deepobject-orientation)(object-simplification)C#C++JavaC#Java()JavaSmalltalkC#XMLC#C#VB.NET.NETC#VB.NETCOBOLC#Basic9C#[12]J2EEJ2EEB2BJ2EEJ2EEJ2EEWebservicesWebservicesNETJ2EEJavaBeanEJB(EnterpriseJavaBeans)EJBJavaBean.NETCOMCOM+COMCOM+C/SB/SC/SJ2EEJavaAWTJavaSwingJavaBean10B/SJ2EEServletJSP(JavaServerPage)HMTL,WML,XMLWindowsFormsMFCWindowsFormsNET(runtimeframework)(componentmodel)ASP.NETASPHTMLWMLXMLASP.NETC#,VB.NETASP.NET(IntermediaryLanguage)ASP.NETJ2EE.NETJDBCADOAPI,EJB(EntityEJB)EJBEJBload()store()J2EE..NETXMLADO.NETCOMADOXMLADO.NET(DataSets)(DataSetCommands)ADO.NETXMLHTTPXMLJ2EEXMLJ2EEJ2EE11J2EE.NET.J2EEUNIXJ2EE.2.312345COMEJBCORBAServletJSPApplet122.4J2EEJ2EE1JSPJSP(JavaServerPages)SUN19996JavaJSPWebJSPHTML(XML).JSPHTML,JavaJavaBeansJSPServletJSPWebJSPServletWebServletWebJSPServlet,WebServletJSPServlet[13]1JSPHTTPWeb2ServletJavaWebJSPServletJSP3JSPJ2EEWebServletHTML[14]JSPJavaJavaJSPVBScript,PertJSPJSPJSPJSPWebJSPJSPWebJ2EEJSPJ2EEJ2EEJAVAAPIJSPJavaBeansJSPJSPHTML13JavaC++JavaBeansEJBWebJSPJ2EEJSPXML2ServletServletWebWebHTML,XMLWebWebServletJavaServletAPITomcatServletJAVAHTTPJavaServletAPI[15]ServletJSPServletJavaWebJSPServletJSP;Web3EJBEJB(Enterprisejavabean)JAVAEJBEJBEJB2.0BeanSessionBeanJDBCEntityBeanEntityBeanSessionBeanEntityBeanSessionBeanSessionBeanSessionBeanEntityBeanEntityBeanEntity14beanEntitybean[16]MessageDrivenBeanJavaJMSMessageDrivenBeanMessageDrivenBean[17]EJBEntityBeanJDBCSessionBeanJavaBeans4JDBCJava(JavaDataBaseConnectivity,JDBC)APIJDKAPIJDBC2.0.JDBCAPISQLAPIJ2EEJava2JDBCAPIJDBC2.0OptionalPackageAPIJavaAPIJDBC2.0OptionalPackageAPI[18]2.0/J2EE5JNDIJava(JNDI)JNDIAPIJava15[19]JavaJavaJava6JavaMailJavaMailJavaMail;JavaMailJavaMailPOPS,SMTPJMS2.5J2EEJ2EEJ2EE163J2EEJ2EE3.1J2EE3.217;J2EEJ2EEJ2EEWebJavaJ2EEWebJSPServlet;EJBCORBAJMSJ2EE183.3EJBJ2EE12319453.4MVC--(model-view-controlMVC)J2EEMVCWeb[2024]--WebMVCModel(View)(Controller)MVC204-2ModelControllerViewMVC4-2MVC[2527][28]Web21WebHTTPGETPOSTMVCViewJSPUIUIViewBeanServletControlModelJavaBean,SessionBeanDAOJ2EEJ2EE(client/server)J2EEJ2EEJ2EEJ2EEJ2EEJ2EEJ2EEJ2EEJ2EE22MVCJ2EEJ2EEJ2EEJ2EEJ2EE123J2EEJ2EEJavaJ2EEJ2EEJ2EEWeb//SmallTalk//APIAPIEJBHomeFactoryJ2EEJ2EEEJBJ2EEJ2EEJ2EEJ2EE233.52444.1Java2(J2EE)(XML)J2EEXMLXML(XMLAPI(SAX)(DOM))(XML-RPC()SOAPXML)((XSL)(XSLT))J2EE:EJB(persistenceservices)Java(JMS)APIJava(JSP)JavaServletsJ2EEXML254.24.2.1[2931]1J2EE23454.2.2J2EEJ2EESUN(ServletServletEJBEJB)[32]J2EESUNJ2EE(client/server)J2EE26[33]J2EE4-14-1J2EEJ2EE1HTTP2WebWEBJSP,SERVLETWEBMVCXML3EJBEJB,JMS,JTA4Oracle9iJ2EEJ2EE27J2EEMVC,DAO[3437]12J2EE34.2.34-397----(4-328WEB4.3MVC4.3.14-4id294-4/4.3.24-54-54.3.3660304-64-64.3.44-74-7314.3.55123455flag_back()flag_check()flag_do()flag_transfer()flag_cancel()ID12dll(flag_cancel)433521f
本文标题:多层体系结构下网通信息系统设计与实现
链接地址:https://www.777doc.com/doc-315737 .html