您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 企业财务 > 基于J2EE的上海巴符州科技经济信息通道的设计与实现
上海交通大学硕士学位论文基于J2EE的上海-巴符州科技经济信息通道的设计与实现姓名:唐泽域申请学位级别:硕士专业:计算机应用指导教师:李治柱20050101IVIVJ2EE--J2EEJ2EE.NETJ2EEJ2EEJ2EEVVStrutsVIVIRESEARCH&DEVELOPMENTOFSHANGHAI-BADENWUERTTEMBERGINFORMATIONPORTALOFSCIENCETECHNOLOGY&ECONOMYBASEDONJ2EEABSTRACTShanghai-BadenWürttembergInformationPortalofScienceTechnology&Economyisamultilingualwebsitewhichcanprovidestronginformationsearching,propercustomizedsupportandconvenientE-businesswithChinese,EnglishandGermanyversions.Thedevelopmentandoperationexperienceoftheplatformishelpful.It’sagooddemonstrationtobuildsuchaplatformbetweenChinaandothercountriesandareas.Inthisarticle,researchworkisbasedonanalysisanddesignofShanghai-BadenWürttembergInformationPortalofScienceTechnology&Economy.Firstly,thearticledescribesthebackgroundoftheplatformprojectandliststhepopularsolutionarchitectureJ2EEand.NET.Secondly,thearticleanalysistheJ2EEarchitecture,designpatternandrelatedtechnologies.Thenitdescribestherequirementsoftheplatformandcombinesmanyusefuldesignpatternstotheplatform.ThisVIIVIIoptimizedarchitectureisbestsolutionfortheprojectwithscalabilityandhighperformance.Thirdly,thearticleanalyzesthemultilingualsolutionoftheplatform.Atlast,thearticleanalyzestheimplementingoftheplatform,summarizestheresearchanddevelopmentprocessofwholeproject,andputsforwardthegoodideasforbetteringandperfectingthesystem.“Shanghai-BadenWürttembergInformationPortalofScienceTechnology&Economy”haspassedthetestofShanghaiScience&TechnologyCommitteewhichprovesthatitisverysuccessfuloftheimplementationofthewebapplication.KEYWORDSJ2EE,EJB,multilingual,designpatterns,strutsIIII200521IIIIII111.1,WTO,221.2J2EE.NETweb1.3J2EE.NETJ2EEJ2EE33-2.1J2EE.NETJ2EE.NET2.1.1J2EE.NET[1]IBMBEAOracleJ2EEJ2EEJ2EEJ2EEJ2EEJ2EEJ2EE.NETSQLServerPassport.NETStudioJ2EEJava.NETC#,VB.NET,COBOL2.1.2J2EE.NETJ2EE.NET2-144Figure2-1J2EEand.NETtechnologyarchitectureJ2EEJavaJVMXML.NETCLRJ2EE.NETWeb2-2Figure2-2J2EEand.NETwebarchitecture[2]1JavaWindowsJ2EElooselycoupledJ2EEoperating-systemspecificdirectmemory55managementplatform-specificMicrosoftRemoteProcedureCallRPCJ2EE.NETtightlycouplednativeMicrosoftJ2EEWindowsWebservicesXMLWebservicesNET2J2EEJSPServletWeb.NETASP.NETcode-behindIISJ2EEEJB.NETIIS3J2EE.NETJ2EEJDBCADOAPIBeanBeanEJBload()store()J2EEWebGainTopLinka.NETXMLADO.NETCOMADOXMLADO.NET(Datasets)(DatasetCommands)ADO.NETXMLHTTPXMLJ2EEXML662.1.32004Giga“Web”65%J2EE35%.NET75%80%J2EE.NET2.1.4J2EEJ2EE.NETBillGates.NETJ2EEJCPECJavaCommunityProcess’sExecutiveCommitteeJSRsJavaSpecificationRequestsJCPEC.NETJ2EEJ2EEJ2EEJ2EEJ2EEJ2EE2.2J2EEJava23Java2MicroJ2ME(Java2PlatformMicroEdition)Java2J2SE(Java2PlatformStandardEdition)Java2J2EE(Java2PlatformEnterpriseEdition)77J2EEJava2J2EEJavaJava2J2EEEJB(EnterpriseJavaBeans)JavaServletAPIJSP(JavaServerPages)XMLJ2EEJ2EEClient/ServerJ2EEWEBEIS(EnterpriseInformationSystem)[4]2-3Figure2-3J2EE4-tiersarchitectureJ2EE2.2.1/J2EEJ2EEJ2EEWeb[6]J2EEJ2EEJNDI(JavaNamingandDirectoryInterface)J2EE1EJBJ2EEEJBEJBJ2EE882WebJ2EEJSPServletWebJ2EE3J2EE4AppletWebJava2.2.2JNDI(JNDILookup)JNDIJavaJNDIJ2EEJavaJNDIJNDILDAPNDSDNSNISCOSRMIJNDIJ2EEJNDIAPI,javax.namingJNDIAPIClientAPI)(ServiceProviderInterface,SPI).Java()JNDIAPIJava2.2.3ServletsJavaServletJavawebwebJavaServletServer-Web-(HTTP)[6]JavaServletAPI-JavaServletAPIjava.servletjavax.servlet.httpWebServletJavaCGICGIServletCGIServletServletServletJavaServletAPIJavaEnterpriseAPI99JavaCGIWebCGICGICGIJavaservletCGIWebServletServerServletServerServletinitserviceservletSingleThreadModelserviceserviceHTTPdoGetdoPostdoXxxServerServletservletdestroy2.2.4JSP(JavaServerPages)JSPHTMLJavaJavaServletServletjavaHTMLJSPHTMLJavaJavaJSPServletHTMLJSPJSPJSPservletJSP3pageincludetaglib7jsp:useBeanJavaBeansjsp:setPropertyBeanjsp:getPropertyBeanjsp:paranijsp:include)jsp:forwardjsp:plugin3%!declaration%%script%Java%=expression%9requestresponsePageContextSessionApplicationWebApplicationOutconfigConfigservletPageException10102.2.5RMI(RemoteMethodlnvoke)JavaJavaJavaRMIRMIJavaRMIJavaRMIjava.rmiRMI(stub)(skeleton)stubstubstubRMIstubstub(1)(2)()(3)(4)(5)stubskeleton(JDK1.4.1skeleton)Skeleton(1)(2)(3)()()RMIEJBEJBBeanJavaRMIBeanRMIEJBEJBEJBBeanBeanBeanEJBBeanEJBEJBEJBRemoteStubEJBEJB/RMI2.2.6EJBJ2EEEJBEJBEJBEJBJ2EEJ2EEEJB1111EJB(EJBContainer)EnterpriseBean.EnterpriseBeanEnterpriseBean.EJB[7]EJB(EJBClient)servlet,JSPbean.JNDIEJBhomeJNDIContext(initialcontext)JNDIContextEJBHomeEJBHomeEJBEJB(EJB)EnterpriseJavaBeanHomeEJBHomeRemoteEJBObjectHomebeanRemotebean2.2.6.1Bean(SessionBean)BeanBeanBeanJ2EEBeanBeanBeanBeanBeanBeanBeanBean(state)Bean(stateless)Bean1)Bean()BeanBeanBeanBeanBean12122)BeanBeanBeanBeanBeanBeanBeanBeanbeanEJBBean()BeanBeanBean2.2.6.2Bean(EntityBean)BeanJ2EESDKBeanBeanBeanBeanBeanBean1BeanBeanJ2EEBeanBeanBMP(bean-managedpersistence)Bean)CMP(container-managedpersistence)BMPBeanCMP2BeanEJBBean3BeanBean1313Bean4BeanBeanBMPCMPBMPCMP()BeanCMP(CMP)EJBBean(SQL)Bean()BeanCMPBean5(AbstractSchema)BeanBean(Bean)EJBQL(EnterpriseJavaBeanQueryLanguage)CMP,findByPrimaryKeyEJBQL6(PersistentFields)BeanBeanEJBBeanBean(co
本文标题:基于J2EE的上海巴符州科技经济信息通道的设计与实现
链接地址:https://www.777doc.com/doc-1142061 .html