翻译文献-j2ee是一套全然不同于传统应用开发的技术架构_第1页
翻译文献-j2ee是一套全然不同于传统应用开发的技术架构_第2页
翻译文献-j2ee是一套全然不同于传统应用开发的技术架构_第3页
翻译文献-j2ee是一套全然不同于传统应用开发的技术架构_第4页
翻译文献-j2ee是一套全然不同于传统应用开发的技术架构_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

外文原文J2EEISACOMPLETELYDIFFERENTFROMTHETRADITIONALAPPLICATIONDEVELOPMENTTECHNOLOGYINFRASTRUCTURE,CONTAINSMANYCOMPONENTS,THEMAJORAPPLICATIONSYSTEMTOSIMPLIFYANDSTANDARDIZETHEDEVELOPMENTANDDEPLOYMENT,ANDTOIMPROVEPORTABILITY,SECURITYANDTHEVALUEOFREUSEJ2EECOREISAGROUPOFTECHNICALSPECIFICATIONSANDGUIDELINES,WHICHCONTAINSVARIOUSCOMPONENTS,SERVICESTRUCTUREANDTHETECHNICALLEVEL,HAVECOMMONSTANDARDSANDSPECIFICATIONSFORALLTOFOLLOWTHESTRUCTUREOFJ2EEPLATFORMBETWEENTHEEXISTENCEOFGOODCOMPATIBILITY,ADDRESSINGPASTUSEOFTHEBACKENDENTERPRISEINFORMATIONPRODUCTSCANNOTBECOMPATIBLEWITHEACHOTHER,RESULTINGININTERNALOREXTERNALINTEROPERABILITYDIFFICULTDILEMMAINTHEJ2EEFRAMEWORK,DEVELOPERSCANFOLLOWNORMATIVEBASIS,ANDDEVELOPENTERPRISELEVELAPPLICATIONS,ANDJ2EEDIFFERENTSUPPLIERS,WITHTHESUPPORTOFDIFFERENTJ2EEVERSIONOFTHEPROPOSEDSTANDARDSTOENSURETHATDIFFERENTJ2EEPLATFORMANDCOMPATIBILITYBETWEENPRODUCTSINOTHERWORDS,THESTRUCTUREOFTHEPLANTBASEDJ2EEAPPLICATIONSCANBASICALLYBEDEPLOYEDINDIFFERENTAPPLICATIONSONTHESERVER,ORTHENEEDTOCARRYOUTONLYASMALLAMOUNTOFCODECHANGESTHATCANSIGNIFICANTLYIMPROVEAPPLICATIONPORTABILITYPORTABILITYJ2EEFROMTHESUNSUNVENDORSSUCHASIBMANDCOORDINATEDDEVELOPMENTOFTHEINDUSTRYFROMTHETECHNICALSPECIFICATIONSTOENTERPRISESISBETWEENENTERPRISESJAVACOMPUTINGORIENTEDDEVELOPMENTENVIRONMENTJ2EEARCHITECTUREDEFINESVARIOUSKINDSOFCOMPONENTS,SUCHASWEBCOMPONENT,EJBCOMPONENTANDSOON,ANDVARIOUSCOMPONENTSCANBEREUSEDREUSE,HASCOMPLETEDTHEDEVELOPMENTOFCOMPONENTS,ORISDERIVEDFROMPROCUREMENTBYTHECOMPONENTSOFTHEMARKETAREFURTHERASSEMBLEDINTODIFFERENTSYSTEMSFORDEVELOPERS,NEEDONLYFOCUSONTHEAPPLICATIONSOFTHEBUSINESSLOGICANDSTRUCTUREDESIGN,ASFORTHEBOTTOMOFTHECUMBERSOMEPROCEDURESWRITINGCANBEPAIREDWITHDIFFERENTDEVELOPMENTPLATFORMS,INORDERTOALLOWTHEAPPLICATIONSYSTEMDEVELOPMENTANDDEPLOYMENTEFFICIENCYINCREASEDDRAMATICALLYJ2EESTANDARDISTHECOREOFENTERPRISEJAVABEANSEJBSEJBINACCORDANCEWITHTHEDIFFERENTCHARACTERISTICSISCURRENTLYDIVIDEDINTOTHREE,NAMELYSESSIONBEAN,ENTITYBEAN,ASWELLASMESSAGEDRIVENBEANWHICHSESSIONBEANANDEJBENTITYBEANISTHEANCESTOROFTHETWOEJBSPECIFICATIONSINTHEEJB1XVERSIONHASBEENINTRODUCEDTHERE,ANDMESSAGEDRIVENBEANISEMERGINGINTHEEJB20OFTHESPECIFICATIONSATPRESENTTHEINDUSTRYMANYPROGRAMMERS,ORWEBPAGEDESIGN,MOREUSEOFJSP/SERVLETTHECONVENIENCEOFTHEJ2EESERVERONTHEFURTHERDEVELOPMENTOFRELATEDAPPLICATIONS,ORINTEGRATEINTERNALRESOURCESOFALLKINDSJAVA2PLATFORM,INACCORDANCEWITHTHEDIFFERENTAREASOFAPPLICATION,ISDIVIDEDINTOTHREEVERSIONS,NAMELY,J2EE,THESTANDARDVERSIONOFJ2SEJAVA2PLATFORM,STANDARDEDITION,MICROVERSIONOFJ2MEJAVA2PLATFORM,MICROEDITION,ANDJAVACARD,ETCFROMTHEOVERALLPERSPECTIVE,THEUSEOFJAVAJ2EETECHNOLOGYDEVELOPMENTENTERPRISEAPPLICATIONSADEFACTOINDUSTRYSTANDARDSUNMICROSYSTEMSFORITSOWNINTERESTS,HASYETTOBEJAVAANDITSRELATEDTECHNOLOGIESINTOTHESYSTEMORGANIZATIONFORSTANDARDIZATION,ITISJAVACONTINUETOADAPTTOTECHNOLOGYANDTHEPROMOTIONOFENTERPRISEAPPLICATIONSINTHEPROCESSOFPRODUCTSUNINTRODUCEDJ2EEISDESIGNEDTOOVERCOMETHETRADITIONALCLIENT/SERVERMODELOFILLSTOPANDERTOTHEBROWSER/SERVERARCHITECTURETRENDFORTHEUSEOFJAVATECHNOLOGYDEVELOPMENTSERVERSIDEAPPLICATIONSTOPROVIDEAPLATFORMINDEPENDENT,PORTABLE,MULTIUSER,SECURITY,ANDBASEDONTHEINDUSTRYSTANDARDFORENTERPRISECLASSPLATFORM,WHICHSIMPLIFIESTHEDEVELOPMENTOFENTERPRISEAPPLICATIONS,MANAGEMENTANDDEPLOYMENTJ2EEISASTANDARD,RATHERTHANOFFTHESHELFPRODUCTSJ2EEPLATFORMDEVELOPERSALLNORMSWEREDEVELOPEDINACCORDANCEWITHTHEDIFFERENTJ2EEAPPLICATIONSERVERSJ2EEAPPLICATIONSERVERISJ2EEENTERPRISEAPPLICATIONDEPLOYMENTPLATFORMASTHEYFOLLOWEDTHEJ2EESTANDARD,THEREFORE,THEUSEOFJ2EETECHNOLOGYDEVELOPMENTENTERPRISEAPPLICATIONSCANBEDEPLOYEDINAVARIETYOFJ2EEAPPLICATIONSERVERINORDERTOPROMOTETHEUSEOFSTANDARDIZEDJ2EEARCHITECTUREANDENTERPRISEAPPLICATIONSARCHITECTURE,SUNATTHESAMETIMEPRESENTEDAPROPOSALOFTHEJ2EEAPPLICATIONDESIGNMODELJ2EEBLUEPRINTSJ2EEBLUEPRINTSPROVIDEFORTHEIMPLEMENTATIONOFTHEJ2EEENTERPRISEAPPLICATIONSARCHITECTURE,DESIGNPATTERNSANDRELATEDCODE,J2EEBLUEPRINTSTHROUGHTHEAPPLICATIONOFTHESYSTEMDESCRIBEDBYTHEMODEL,CANSIMPLIFYTHESTRUCTUREOFTHISCOMPLEXENTERPRISEAPPLICATIONSWORKJ2EEBLUEPRINTSAREDEVELOPERSDESIGNANDOPTIMIZETHEBASICPRINCIPLESOFJ2EECOMPONENTS,ATTHESAMETIMEWORKONTHEDEVELOPMENTOFTHEDIVISIONOFFUNCTIONSISTHEGUIDINGSTRATEGY,DESIGNEDTOHELPAPPLICATIONDEVELOPMENTSTAFFRATIONALALLOCATIONOFTECHNICALRESOURCESXMLBASEDWEBSERVICESB2BCOMMUNICATIONSANDCOLLABORATIONISBASEDONTHEMODELDEVELOPEDNEWNORMSITPROVIDESACONCEPTANDSTRUCTURE,APPLICABLETOALLKINDSOFDIFFERENTPLATFORMSANDPRODUCTSFOUNDATIONNOW,DEVELOPERSCANUSETHEJ2EETECHNOLOGYTODEVELOPXMLBASEDWEBSERVICESTHEYCANUSEEXISTINGJ2EETECHNOLOGYTODEVELOPINTEGRITY,COMPLIANCEWITHTHEXMLSTANDARD,FULLYWEBCOMMONSERVICESNONEEDTOREDESIGNORSTRUCTUREEXISTINGJ2EESYSTEM,DEVELOPERSCANCONSTRUCTCOMPLEXANDPOWERFULWEBSERVICESAPPLICATIONSINTRODUCEDAWEBSERVICESCANRECEIVEINFORMATIONFROMTHEINTERNETORINTRANETTRANSFERFROMOTHERSYSTEMSINATTHEREQUESTOFTHEINDEPENDENTLIGHTWEIGHTCOMMUNICATIONSTECHNOLOGIESTHISTECHNOLOGYALLOWSALLSYSTEMSINTHENETWORKTOINTERACTALONGWITHTECHNOLOGICALDEVELOPMENT,AWEBSERVICESCANINCLUDEADDITIONALSPECIFIEDFEATURESANDAPPLICATIONSINANUMBEROFB2BCOLLABORATIVECOMMUNICATIONSWEBSERVICESAREBEINGIMPROVEDCONTINUOUSLY,INAVERYINTELLIGENTANDDYNAMICMEANSTOCARRYOUTTHESEFLEXIBLEWEBSERVICESCANBEUNDERSTOODINTHECONTEXTOFTHEREQUEST,ANDINEACHSPECIFICCIRCUMSTANCEGENERATEDYNAMICRESULTSTHESESERVICESAREDEPENDINGONTHEUSERSIDENTITY,LOCATION,ASWELLASAREQUESTTOCHANGETHEREASONSFORTHEDIFFERENTTREATMENTTOPRODUCEUNIQUE,CUSTOMIZABLEOPTIONSTHISCOORDINATIONMECHANISMFORTHOSEWHOHADONLYTHEENDRESULTOFINTERESTEDUSERS,ITISCOMPLETELYTRANSPARENTTHISWEBSERVICEFOLLOWEDBYTHEXMLSTANDARDTHINGSCANIMPROVECOMMUNICATIONSPERFORMANCEDEVELOPERSWILLBEABLETOUSEDIFFERENTPLATFORMS,PRODUCTSANDSTANDARDSTOACHIEVEANUMBEROFPOSSIBILITIESTHROUGHTHISSTANDARD,DEVELOPERSCANBUILDASYSTEMOFWEBSERVICESSOTHATTHEYOFFERTHEGREATESTABILITYTOWORKTOGETHERTHISWHITEPAPERDESCRIBESHOWTOFACILITATETHEUSEOFJAVAANDXMLTECHNOLOGYTOACHIEVEWEBSERVICESARCHITECTUREITDEMONSTRATESTHATTHEWEBSERVICESAKEYPARTOFEACHANDHOWTOCOMBINETHEMYOUWILLBEBASEDONXMLWEBSERVICESANDHOWTHESTRUCTUREANDJ2EEINTEGRATION,THEREISAMOREINDEPTHUNDERSTANDINGOFHOWWEBUILDWEBSERVICESUSINGJ2EESTARTTHISPARTWILLENABLEYOUONHOWTOESTABLISHAWEBSERVICESAREANUNDERSTANDINGCONCLUDEDGENERALLYSPEAKING,INTHEAFFAIRSOFDIFFERENTELECTRONICCOMMUNICATIONSANDCOLLABORATIONBETWEENTHEREWILLBEMANYOBSTACLESDISPARATESYSTEMS,SECURITYRESTRICTIONSANDTHESAMEDATAFORMAT,ALOTOFB2BSYSTEMINTHEIROWNFIELDSORONLYFORMEDINTHECUSTOMERBASEWEBSERVICESWILLCHANGEALLTHIS,SOTHATTHEDIFFERENTCOMMUNICATIONSINTOTHEAFFAIRSOFEACHOTHERMAYBE,ITISNOTEWORTHYTHATTHISWILLREDUCETHEESTABLISHMENTOFTHECOMMERCIALSITEDEVELOPMENTANDMAINTENANCECOSTSINTHEESTABLISHMENTOFWEBSERVICES,THEREARETHREEMAJORSTEPS1ESTABLISHEDCLIENTCONNECTIVITYTOALLOWAPPLETS,APPLICATIONS,BUSINESSPARTNERS,BROWSERSANDPDASUSINGWEBSERVICES2REALIZATIONOFWEBSERVICESINCLUDEWORKFLOW,DATAACCESS,ANDDATAACCESSANDBUSINESSLOGICTHESEFEATURESAREHIDDENINWEBSERVICES,ANDFORTHEWORKOFTHECLIENT3CONNECTEDBACKOFFICESYSTEMSTHISSYSTEMMAYINCLUDEONEORMOREDATABASES,THEEXISTINGENTERPRISEINFORMATIONSYSTEMS,BUSINESSPARTNERSORTHEIROWNWEBSERVICESSYSTEM,ASWELLASMULTIPLESYSTEMSTOSHAREDATAYOUCANUSEJ2EETOACHIEVETHESETHREEOBJECTIVESJ2EEDEVELOPMENTUSINGWEBSERVICESBASEDONTHEFOLLOWINGTWOTECHNOLOGIESXMLTECHNOLOGIESINWEBSERVICES,XMLSTANDARDISVERYIMPORTANTXMLISADATAFORMAT,ITCANBEACOHERENTAPPROACHTOPERFORMANCEDATA,ANDITCANBEINAPEERTOPEERNETWORKINTHEFORMOFTRANSMISSIONTHISDIFFERENTXMLSTANDARD,TOGETHERWITHSPECIFICAPPROACHISDESIGNEDTOSUPPORTSPECIFICACTIVITIESJAVATECHNOLOGYDEVELOPERSUSEOFJ2EEAPISDEVELOPERSTOCREATESERVICESANDTHEPERFORMANCEOFLOGIC,VISITXMLDOCUMENTS,ANDXMLDOCUMENTSTOOPERATETRUSTCONFIRMEDFEASIBLEJAVATECHNOLOGYISVERYIMPORTANT,BECAUSEITALLOWSDEVELOPERSTOMAKEUSEOFTHEEXISTINGBOTTOMSTRUCTURE,BUILTONITSNEWFEATURESDEVELOPERSCANCONTINUETOUSETHESTANDARDJ2EEAPICOMPONENTS,ASWELLASTOVARIOUSOUTSTANDINGDEVELOPMENTSYSTEMSNOW,DEVELOPERSCANUSETOPROVIDETHEJ2EEJAVAAPIFORXMLPARSINGJAXPTODEVELOPWEBSERVICES,WEWILLBEINTRODUCEDLATERTHENEWAPISUSEDMAINLYTODEALWITHXMLDATAFORMATS,ASWELLASSERVICES,THEDEVELOPMENTWILLBECOMEEASIER,ANDMOREEFFICIENTUDDIUNIVERSALDESCRIPTION,DISCOVERY,ANDINTEGRATIONISATARGETWEBSERVICEPROVIDERSANDUSERSOFTHENEWPROJECTSUDDIPROJECTBYTHEMEMBERSOFUDDIBUSINESSREGISTRYUBRTOOPERATEWEBSERVICESINVOCATION,UBRISAGLOBALSERVICEWEBSERVICEPROVIDERSCANBEDESCRIBEDINTHEUBRANDREGISTERTHEIRSERVICESUSERSCANSEARCHFORANDLOCATEUBRTHEYNEEDTHOSESERVICESUDDIUSESOAPMESSAGEMECHANISMSTANDARDXML/HTTPTOPUBLISH,EDIT,BROWSEANDFINDREGISTRATIONINFORMATIONITUSESXMLFORMATTOPACKAGEALLTHEDIFFERENTTYPESOFDATA,ANDSENTTOTHEREGISTRATIONCENTREORBYTHEREGISTRATIONCENTRETORETURNTOTHEDATANEEDEDTHISWEBSERVICESREGISTRATIONINFORMATIONOFTHEOPERATION,YOUCANUSESOMEOFTHEWEBSERVICESTOOLSTOACCOMPLISHSUCHASTHIRDPARTYSOAPANDEBXMLMESSAGINGTOOLSINADDITION,WHENJAXPPROVIDEACONSISTENTAPIANDISTARGETEDTOCOMPLETETHESEOPERATIONS,WHICHWILLENABLETHEDEVELOPMENTEASIERWHENCOMMERCIALUSERSFINDYOURUDDIWSDLDESCRIPTIONDOCUMENT,HECANTHROUGHSIMPLEOBJECTACCESSPROTOCOLSOAPCALLYOUBUILDWEBSERVICESINONEORMOREOPERATIONSSOAPISANXMLDOCUMENTCALLEDBUSINESSMETHODSFORMOFTHENORMS,ITWILLSUPPORTTHEBOTTOMOFDIFFERENTINTERFACES,SUCHASHTTPSORSMTPTHEREASONISTHEUSEOFXMLBECAUSEITISINDEPENDENTOFTHEPROGRAMMINGLANGUAGE,GOODSCALABILITYANDSTRONGINDUSTRIALSUPPORTHTTPISUSEDBECAUSEALMOSTALLTHENETWORKSYSTEMCANBEUSEDFORCOMMUNICATIONOFSUCHANAGREEMENT,ASITISASIMPLEAGREEMENT,WECANINTEGRATEWITHANYSYSTEM,THEREISAREASONFORTHISISTHATITCANUSETOCROSSA80PORTFIREWALLSOAPPOWERFULBECAUSEITISSIMPLESOAPISALIGHTWEIGHT,VERYEASYTOUNDERSTANDTHETECHNOLOGY,ANDITISEASYTOACHIEVEITHASINDUSTRIALSUPPORTFROMTHEMAJORECOMMERCEPLATFORMPROVIDERACCESSFROMATECHNICALPERSPECTIVE,SOAPSPECIFIEDINDETAILHOWTORESPONDTOTHEREQUESTOFDIFFERENTPARAMETERS,ASWELLASHOWTOCODEAPACKAGEOFOPTIONALSOAPHEADERANDBODY,ANDHTTPPOSTMETHODCOMMONLYUSEDTOSENDAHTTPSERVER,OFCOURSE,OTHERMETHODSAREALSOPOSSIBLE,SUCHASSMTPSOAPSUPPORTMESSAGINGANDREMOTEPROCEDURECALLSTHEJAVA2PLATFORM,ENTERPRISEEDITIONJ2EEDEFINESTHESTANDARDFORDEVELOPINGMULTITUDEENTERPRISEAPPLICATIONSTHEJ2EEPLATFORMSIMPLIFIESENTERPRISEAPPLICATIONSBYBASINGTHEMONSTANDARDIZED,MODULARCOMPONENTS,BYPROVIDINGACOMPLETESETOFSERVICESTOTHOSECOMPONENTS,ANDBYHANDLINGMANYDETAILSOFAPPLICATIONBEHAVIORAUTOMATICALLY,WITHOUTCOMPLEXPROGRAMMINGTHEJ2EEPLATFORMTAKESADVANTAGEOFMANYFEATURESOFTHEJAVA2PLATFORM,STANDARDEDITIONJ2SE,SUCHAS“WRITEONCE,RUNANYWHERE“PORTABILITY,JDBCAPIFORDATABASEACCESS,CORBATECHNOLOGYFORINTERACTIONWITHEXISTINGENTERPRISERESOURCES,ANDASECURITYMODELTHATPROTECTSDATAEVENININTERNETAPPLICATIONSBUILDINGONTHISBASE,THEJAVA2PLATFORM,ENTERPRISEEDITIONADDSFULLSUPPORTFORENTERPRISEJAVABEANSCOMPONENTS,JAVASERVLETSAPI,JAVASERVERPAGESANDXMLTECHNOLOGYTHEJ2EESTANDARDINCLUDESCOMPLETESPECIFICATIONSANDCOMPLIANCETESTSTOENSUREPORTABILITYOFAPPLICATIONSACROSSTHEWIDERANGEOFEXISTINGENTERPRISESYSTEMSCAPABLEOFSUPPORTINGTHEJ2EEPLATFORMINADDITION,THEJ2EESPECIFICATIONNOWENSURESWEBSERVICESINTEROPERABILITYTHROUGHSUPPORTFORTHEWSIBASICPROFILEJAVA2ENTERPRISEEDITIONJ2EEPLATFORMBYTHEFOURKEYCOMPONENTSSPECIFICATIONS,REFERENCEACHIEVECOMPATIBILITYTESTSUITEANDBLUEPRINTSBLUEPRINTSCHEMEPAINTEDABLUEPRINTFORTHEDISTRIBUTEDCOMPONENTARCHITECTUREISBESTPRACTICESANDDESIGNGUIDELINESTHISBASEDONTHERATIONALUNIFIEDPROCESSANDPROCEDURESINTRODUCEDBLUEPRINTEXAMPLESOFAEIGHTSTEPSJ2EEDEVELOPMENTMETHODOLOGYTHROUGHREADINGTHISARTICLE,YOUCANUNDERSTANDTHEMANYIMPORTANTTOPICSJ2EEFRAMEWORK,ANDTOEXPANDANDMODIFYTHISSIMPLESIDEUNIQUEMETHODTOSOLVETHEIROWNBUSINESSPROBLEMSINTHEBUSINESSWORLD,WEUSEJAVA2ENTERPRISEEDITIONJ2EESOLVEBUSINESSPROBLEMS,THEDEVELOPMENTOFCOMMERCIALSOFTWAREORPROVIDESUBCONTRACTINGSERVICESIFACOMPANYWOULDLIKETOUSETHECONSTRUCTIONOFAMULTITIERARCHITECTUREECOMMERCESITES,USUALLYINTHEENTIREDEVELOPMENTLIFECYCLENEEDTOBEADDRESSEDTOMANAGERS,ARCHITECTS,DESIGNERS,PROGRAMMERS,TESTERSANDDATABASEEXPERTSINORDERTOENABLEDIFFERENTDEPARTMENTSCANWORKEFFICIENTLY,THEYOFTENNEEDASOFTWAREDEVELOPMENTPROCESSSOMEOFTHEDEVELOPMENTPROCESSINCLUDESTHECLASSICWATERFALLMODEL,RAPIDAPPLICATIONDEVELOPMENTRADANDEXTREMEPROGRAMMINGXPINTHISPAPERWEWILLFOCUSONAPOPULARSOFTWAREENGINEERINGPROCESSTHATRATIONALUNIFIEDPROCESSRUPRUPPROVIDESAROLEASSIGNEDTOTHETASKSANDRESPONSIBILITIESOFTHESTRICTAPPROACHITSGOALISTOENSURETHATWEEXPECTEDPROGRESSANDDEVELOPMENTBUDGETTOMEETUSERNEEDSHIGHQUALITYSOFTWAREJ2EEDEVELOPMENTINTHEUSEOFRUPFOLLOWSTHREEREASONSFIRST,THERUPFRAMEWORKISFORACENTREINTHEALLOCATIONOFRESOURCESTOCOMPREHENSIVEDEVELOPMENT,ITFIRSTENFORCEABLEFRAMEWORKFORTHEDEVELOPMENTOFAPROTOTYPESECONDLY,RUPISITERATIVEANDCOMPONENTBASEDTHEBASELINEARCHITECTUREWILLTYPICALLYINCLUDEAFRAMEWORKORINFRASTRUCTUREINORDERTOINCREASETHEADOPTIONOFITERATIVESTRUCTURES,WITHOUTAFFECTINGOTHERPARTSOFTHESYSTEMUNDERTHEPREMISEOFCUSTOMIZATIONANDEXPANSIONOFASYSTEMFINALLY,THEUSEOFARUPINDUSTRYSTANDARDLANGUAGEUMLINCLUDESVISUALIZATIONMODELINGSYSTEMARCHITECTUREANDCOMPONENTSRUPFOURDIFFERENTDEVELOPMENTSTAGESINITIAL,REFINING,CONSTRUCTIONANDTRANSFERHOWEVER,FROMATECHNICALPOINTOFTHISPAPERCOVERSTHEDEVELOPMENTOFJ2EEEIGHTESSENTIALACTIVITIES,MAINLYCONCENTRATEDINTHESYSTEMARCHITECTUREDESCRIPTIONDEMANDANALYSISSYSTEMSHOULDDOORSHOULDNOTDOENABLESDEVELOPERSANDCUSTOMERSCANSIGNAPRIMITIVECOMMERCIALCONTRACTITCANUSETHECONCEPTOFOPERATIONS,FIELDTERMINOLOGY,ANDUSEOFUSERINTERFACEUIMODELFORMFUNCTIONALREQUIREMENTSDOCUMENTSFORNONFUNCTIONALREQUIREMENTS,SUCHASPERFORMANCEANDSERVICES,CANDEMANDDOCUMENTSDESCRIBEDINDETAILINTHEANNEXACCORDINGTOTHEDIFFERENTDEPTH,ITINVOLVEDINTHEPROJECT,IDENTIFIEDINTHEPAPER,ORINTHECONSTRUCTIONOFHIGHLEVELHTMLUIMODEL中文翻译J2EE是一套全然不同于传统应用开发的技术架构,包含许多组件,主要可简化且规范应用系统的开发与部署,进而提高可移植性、安全与再用价值。J2EE核心是一组技术规范与指南,其中所包含的各类组件、服务架构及技术层次,均有共通的标准及规格,让各种依循J2EE架构的不同平台之间,存在良好的兼容性,解决过去企业后端使用的信息产品彼此之间无法兼容,导致企业内部或外部难以互通的窘境。在J2EE架构下,开发人员可依循规范基础,进而开发企业级应用;而不同J2EE供货商,同会支持不同J2EE版本内所拟定的标准,以确保不同J2EE平台与产品之间的兼容性。换言之,植基J2EE架构的应用系统,基本上可部署在不同的应用服务器之上,无需或者只须要进行少量的代码修改,即能大幅提高应用系统的可移植性PORTABILITY。J2EE主由升阳SUN与IBM等厂商协同业界共同拟定而成的技术规范,以企业与企业之间的运算为导向的JAVA开发环境。J2EE架构定义各类不同组件,如WEBCOMPONENT、EJBCOMPONENT等,而各类组件可以再用REUSE,让已开发完成的组件,或者是经由市面采购而得的组件,均能进一步组装成不同的系统。对于开发人员而言,只需要专注于各种应用系统的商业逻辑与架构设计,至于底层繁琐的程序撰写工作,可搭配不同的开发平台,以让应用系统的开发与部署效率大幅提升。J2EE的核心规范是ENTERPRISEJAVABEANS(EJBS)。EJB依照特性的不同,目前共分为三种,分别是SESSIONBEAN、ENTITYBEAN,以及MESSAGEDRIVENBEAN。其中SESSIONBEAN与ENTITYBEAN算是EJB的始祖,这两种EJB规格在EJB1X版本推出时就已经存在,而MESSAGEDRIVENBEAN则是出现在EJB20的规格之中。目前业界许多程序设计师,或者是网页设计人员,多利用JSP/SERVLET的便利性,进而在J2EE服务器之上开发相关的应用,或是整合公司内部的各种资源。JAVA2平台依照应用领域的不同,共分为三大版本,分别是J2EE、标准版本J2SE(JAVA2PLATFORM,STANDARDEDITION)、微型版本J2ME(JAVA2PLATFORM,MICROEDITION),以及JAVACARD等。从整体上讲,J2EE是使用JAVA技术开发企业级应用的一种事实上的工业标准SUN公司出于其自身利益的考虑,至今没有将JAVA及其相关技术纳入标准化组织的体系,它是JAVA技术不断适应和促进企业级应用过程中的产物。SUN推出J2EE的目的是为了克服传统CLIENT/SERVER模式的弊病,迎合BROWSER/SERVER架构的潮流,为应用JAVA技术开发服务器端应用提供一个平台独立的、可移植的、多用户的、安全的和基于标准的企业级平台,从而简化企业应用的开发、管理和部署。J2EE是一个标准,而不是一个现成的产品。各个平台开发商按照J2EE规范分别开发了不同的J2EE应用服务器,J2EE应用服务器是J2EE企业级应用的部署平台。由于它们都遵循了J2EE规范,因此,使用J2EE技术开发的企业级应用可以部署在各种J2EE应用服务器上。为了推广并规范化使用J2EE架构企业级应用的体系架构,SUN同时给出了一个建议性的J2EE应用设计模型J2EEBLUEPRINTS。J2EEBLUEPRINTS提供了实施J2EE企业级应用的体系架构、设计模式和相关的代码,通过应用J2EEBLUEPRINTS所描述的体系模型,能够部分简化架构企业级应用这项复杂的工作。J2EEBLUEPRINTS是开发人员设计和优化J2EE组件的基本原则,同时为围绕开发工作进行职能分工给出了指导性策略,以帮助应用开发设计人员合理地分配技术资源。基于XML的WEB服务是参照B2B通信协作模式制定的新的规范。它提供了概念上和结构上的,适用于各种不同平台和产品的基础。现在,开发者可以利用J2EE技术来开发基于XML的WEB服务。他们可以利用现存的J2EE技术来开发完整的,遵从XML标准的,能完全共通的WEB服务。无需重新设计或者构造现有的J2EE系统,开发人员就可以构建复杂的强大的WEB服务应用。WEB服务是一种可以接收从INTERNET或者INTRANET上的其它系统中传递过来的请求,轻量级的独立的通讯技术。这种技术允许网络上的所有系统进行交互。随着技术的发展,一个WEB服务可以包含额外的指定功能并且可以在多个B2B应用中协作通讯。WEB服务正在不断完善,并且以一种非常智能的动态的方法来进行。这些灵活的WEB服务可以理解请求中上下文的关系,并且在每一个特定的情况下产生动态的结果。这些服务会根据用户的身份,地点以及产生请求的原因来改变不同的处理,用以产生一个唯一的,定制的方案。这种协作机制对那些只对最终结果有兴趣的用户来说,是完全透明的。这种WEB服务所遵循的XML标准可以增进事物通信的性能。开发人员将可以利用不同的平台,产品和标准来实现很多种可能。通过这种标准,开发人员可以建立一个系统使他们的WEB服务提供最大的协同工作的能力。这份白皮书描述了如何方便地利用JAVA和XML技术来实现WEB服务构架。它说明了WEB服务中的每一个关键部分以及如何使他们结合在一起。你将会对基于XML的WEB服务的结构以及如何与J2EE结合,有一个更加深入的了解我们从如何利用J2EE建立WEB服务开始。这部分将使你对如何建立一个WEB服务有一个了解。一般来说,在不同的事务之间进行电子通信协作会有很多阻碍。全异的系统,安全限制和不相同的数据格式,导致很多B2B系统在他们自己的领域或者客户群中形成唯一。WEB服务将改变这一切,使不同的事务互相通信变为可能,值得注意的是,这会降低建立商业站点的开发和维护成本。在建立WEB服务的时候,有三个主要步骤1建立客户端联接为了允许APPLETS,APPLICATIONS,商业合作伙伴,浏览器和PDAS使用WEB服务。2实现WEB服务包括工作流,数据传送,商业逻辑以及数据访问。这些功能是隐藏在WEB服务后,并且为客户端工作的。3联接后台系统这个系统可能包括一个或多个数据库,现存的企业信息系统,商业合作伙伴自己的系统或者WEB服务,以及在多个系统中共享的数据。你可以利用J2EE来实现这三个目标。用J2EE开发WEB服务基于以下两个技术XML技术在WEB服务中,XML标准是非常重要的。XML是一种数据格式,它可以以一种连贯的方式来表现数据,并且可以在网络中以点对点的形式传送。这些不同的XML标准连同指定的处理方法是设计来支持特定的行为的。JAVA技术DEVELOPERS开发人员利用J2EEAPIS来创建事务和表现的逻辑,访问XML文档,以及对XML文档进行操作。信任被证实可行的JAVA技术是非常重要的,因为它允许开发者利用现有的下部构造,在其上构建新的功能。开发者可以继续利用J2EE的标准API以及各种优秀的组件来开发系统。现在,开发者可以利用J2EE中提供的JAVAAPIFORXMLPARSINGJAXP来开发WEB服务,我们将在稍后介绍。这个新的APIS主要用来处理XML数据格式以及服务,将使开发变得更容易,效率更高。UDDIUNIVERSALDESCRIPTION,DISCOVERY,ANDINTEGRATION是一个主要针对WEB服务供应商和使用者的新项目。UDDI项目中的成员可以通过UDDIBUSINESSREGISTRYUBR来操作WEB服务的调用,UBR是一个全球性的服务。WEB服务供应商可以在UBR中描述并且注册他们的服务。用户可以在UBR中查找并定位那些他们需要的服务。UDDI利用SOAP消息机制(标准的XML/HTTP)来发布,编辑,浏览以及查找注册信息。它采用XML格式来封装各种不同类型的数据,并且发送到注册中心或者由注册中心来返回需要的数据。这些对WEB服务的注册信息进行的操作,可以使用当前的一些WEB服务工具来完成(例如第三方的SOAP和EBXML消息工具)。另外,当JAXP提供了一致并具有针对性的API来完成这些操作,这将使开发变得更加容易。当商业用户通过UDDI找到你的WSDL描述文档后,他通过可以SIMPLEOBJECTACCESSPROTOCOLSOAP调用你建立的WEB服务中的一个或多个操作。SOAP是XML文档形式的调用商业方法的规范,它可以支持不同的底层接口,象HTTPS或者SMTP。之所以使用XML是因为它的独立于编程语言,良好的可扩展性以及强大的工业支持。之所

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论