文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc

上传人:wj 文档编号:1501658 上传时间:2023-04-30 格式:DOC 页数:20 大小:85.50KB
下载 相关 举报
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第1页
第1页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第2页
第2页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第3页
第3页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第4页
第4页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第5页
第5页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第6页
第6页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第7页
第7页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第8页
第8页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第9页
第9页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第10页
第10页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第11页
第11页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第12页
第12页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第13页
第13页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第14页
第14页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第15页
第15页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第16页
第16页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第17页
第17页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第18页
第18页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第19页
第19页 / 共20页
文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc_第20页
第20页 / 共20页
亲,该文档总共20页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc

《文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc》由会员分享,可在线阅读,更多相关《文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc(20页珍藏版)》请在冰点文库上搜索。

文献翻译基于J2EE在分布式环境下的底层结构的自动动态配置应用文档格式.doc

网络

文献、资料发表(出版)日期:

2007.9

院(部):

专业:

班级:

姓名:

学号:

指导教师:

翻译日期:

19

外文文献:

InfrastructureforAutomaticDynamicDeployment

OfJ2EEApplicationinDistributedEnvironments

AnatolyAkkerman,AlexanderTotok,andVijayKaramcheti

Abstract:

inordertoachievesuchdynamicadaptation,weneedaninfrastructureforautomatingJ2EEapplicationdeploymentinsuchanenvironment.ThisneedisquiteevidenttoanyonewhohasevertrieddeployingaJ2EEapplicationevenonasingleapplicationserver,whichisataskthatinvolvesagreatdealofconfigurationofboththesystemservicesandapplicationcomponents.

Keywords:

j2ee;

component;

Distributed;

DynamicDeployment;

1Introduction

Inrecentyears,wehaveseenasignificantgrowthincomponent-basedenterpriseapplicationdevelopment.TheseapplicationsaretypicallydeployedoncompanyIntranetsorontheInternetandarecharacterizedbyhightransactionvolume,largenumbersofusersandwideareaaccess.Traditionallytheyaredeployedinacentrallocation,usingserverclusteringwithloadbalancing(horizontalpartitioning)tosustainuserload.However,horizontalpartitioninghasbeenshownveryefficientonlyinreducingapplication-relatedoverheadsofuser-perceivedresponsetimes,withouthavingmucheffectonnetwork-inducedlatencies.Verticalpartitioning(e.g.,runningwebtierandbusinesstierinseparateVMs)hasbeenusedforfaultisolationandloadbalancingbutitissometimesimpracticalduetosignificantrun-timeoverheads(evenifonewouldkeepthetiersonafastlocal-areanetwork)relatedtoheavyuseofremoteinvocations.Recentwork[14]inthecontextofJ2EEcomponentbasedapplicationshasshownviabilityofverticalpartitioninginwide-areanetworkswithoutincurringtheaforementionedoverheads.Thekeyconclusionsfromthatstudycanbesummarizedasfollows:

•Usingproperlydesignedapplications,verticaldistributionacrosswide-areanetworksimprovesuser-perceivedlatencies.

•Wide-areaverticallayeringrequiresreplicationofapplicationcomponentsandmaintainingconsistencybetweenreplicas.

•Additionalreplicasmaybedeployeddynamicallytohandlenewrequests.

•Differentreplicasmay,infact,bedifferentimplementationsofthesamecomponentbasedonusage(read-only,read-write).

•Newrequestpathsmayreusecomponentsfrompreviouslydeployedpaths.

Applyingintelligentmonitoring[6]andAIplanning[2,12]techniquesinconjunctionwiththeconclusionsofthatstudy,weseeapotentialfordynamicadaptationinindustry-standardJ2EEcomponent-basedapplicationsinwideareanetworks

Throughdeploymentofadditionalapplicationcomponentsdynamicallybasedonactivemonitoring.However,inordertoachievesuchdynamicadaptation,weneedaninfrastructureforautomatingJ2EEapplicationdeploymentinsuchanenvironment.ThisneedisquiteevidenttoanyonewhohasevertrieddeployingaJ2EEapplicationevenonasingleapplicationserver,whichisataskthatinvolvesagreatdealofconfigurationofboththesystemservicesandapplicationcomponents.ForexampleonehastosetupJDBCdatasources,messagingdestinationsandotherresourceadaptersbeforeapplicationcomponentscanbeconfiguredanddeployed.Inawideareadeploymentthatspansmultipleservernodes,thisprovesevenmorecomplex,sincemoresystemservicesthatfacilitateinter-nodecommunicationsneedtobeconfiguredandstartedandavarietyofconfigurationdata,likeIPaddresses,portnumbers,JNDInamesandothershavetobeconsistentlymaintainedinvariousconfigurationfilesonmultiplenodes.

Thisdistributeddeploymentinfrastructuremustbeableto:

•addressinter-componentconnectivityspecificationanddefineitseffectsoncomponentconfigurationanddeployment,

•addressapplicationcomponentdependenciesonapplicationserverservices,theirconfigurationanddeployment,

•providesimplebutexpressiveabstractionstocontroladaptationthroughdynamicdeploymentandundeploymentofcomponents,

•enablereuseofservicesandcomponentstomaintainefficientuseofnetworknodes’resources,

•providethesefacilitieswithoutincurringsignificantadditionaldesigneffortonbehalfofapplicationprogrammers.

InthispaperweproposetheinfrastructureforautomaticdynamicdeploymentofJ2EEapplications,whichaddressesalloftheaforementionedissues.Theinfrastructuredefinesarchitecturedescriptionlanguages(ADL)forcomponentandlinkdescriptionandassembly.TheComponentDescriptionLanguageisusedtodescribeapplicationcomponentsandlinks.Itprovidesclearseparationofapplicationcomponentsfromsystemcomponents.Aflexibletypesystemisusedtodefinecompatibilityofcomponentportsandlinks.Adeclarationandexpressionlanguageforconfigurablecomponentpropertiesallowsforspecificationofinter-componentdependenciesandpropagationofpropertiesbetweencomponents.TheComponent(Replica)AssemblyLanguageallowsforassemblyofreplicasofpreviouslydefinedcomponentsintoapplicationpathsby

Connectingappropriateportsvialinkreplicasandspecifyingthemappingofthesecomponentreplicasontotargetapplicationservernodes.TheComponentConfigurationProcessevaluatesanapplicationpath’scorrectness,identifiesthedependencies

ofapplicationcomponentsonsystemcomponents,andconfigurescomponentreplicasfordeployment.Anattemptismadetomatchandreuseanypreviouslydeployedreplicasinthenewpathbasedontheirconfigurations.WeimplementtheinfrastructureasapartoftheJBossopensourceJavaapplicationserver[11]andtestitonseveral

SampleJ2EEapplications–JavaPetstore[23],Rubies[20]andTPC-W-NYU[32].TheinfrastructureimplementationutilizestheJBoss’sextendablemicro-kernelarchitecture,basedontheJMX[27]specification.ComponentizedarchitectureofJBossallowsincrementalservicedeploymentsdependingontheneedsofdeployedapplications.Webelievethatdynamicreconfigurationofapplicationserversthroughdynamicdeploymentandundeploymentofsystemservicesisessentialtobuildingaresource-efficientframeworkfordynamicdistributeddeploymentofJ2EEapplications.Therestofthepaperisorganizedasfollows.Section2providesnecessarybackgroundforunderstandingthespecificsoftheJ2EEcomponenttechnologywhicharerelevanttothisstudy.Section3givesageneraldescriptionoftheinfrastructurearchitecture,whilesection4goesdeeperindescribingparticularlyimportantandinterestinginternalmechanismsoftheinfrastructure.Section5describestheimplementationoftheframework,andrelatedworkisdiscussedinsection6.

2J2EEBackground

2.1Introduction

Componentframeworks.Acomponentframeworkisamiddlewaresystemthatsupportsapplicationsconsistingofcomponentsconformingtocertainstandards.Applicationcomponentsare“plugged”intothecomponentframework,whichestablishestheirenvironmentalconditionsandregulatestheinteractionsbetweenthem.Thisisusuallydonethroughcontainers,componentholders,whichalsoprovidecommonlyrequiredsupportfornaming,security,transactions,andpersistence.Componentframeworksprovideanintegratedenvironmentforcomponentexecution,asaresultsignificantlyreducetheeffort.ittakestodesign,implement,deploy,andmaintainapplications.CurrentdayindustrycomponentframeworkstandardsarerepresentedbyObjectManagementGroup’sCORBAComponentModel[18],SunMicrosystems’Java2PlatformEnterpriseEdition(J2EE)[25]andMicrosoft’s.NET[17],withJ2EEbeingcurrentlythemostpopularandwidelyusedcomponentframeworkintheenterprisearena.

J2EE.Java2PlatformEnterpriseEdition(J2EE)[25]isacomprehensivestandardfordevelopingmulti-tierenterpriseJavaapplications.TheJ2EEspecificationamongotherthingsdefinesthefollowing:

•Componentprogrammingmodel,

•Componentcontractswiththehostingserver,

•Servicesthattheplatformprovidestothesecomponents,

•Varioushumanroles,

•Compatibilitytestsuitesandcompliancetestingprocedures.

Amongthelistofservicesthatacompliantapplicationservermustprovidearemessaging,transactions,namingandothersthatcanbeusedbytheapplicationcomponents.ApplicationdevelopedusingJ2EEadheretotheclassical3-Tierarchitectures–PresentationTier,BusinessTier,andEnterpriseInformationSystem(EIS)Tier(seeFig.1).J2EEcomponentsbelongingtoeachtieraredevelopedadheringtothe

SpecificJ2EEstandards.

1.PresentationorWebtier.

Thistierisactuallysubdividedintoclientandserversides.Theclientsidehostsawebbrowser,appletsandJavaapplicationsthatcommunicatewiththeserversideofpresentationtierorthebusinesstier.TheserversidehostsJavaServletcomponents[30],JavaServerPages(JSPs)[29]andstaticwebcontent.Thesecomponentsareresponsibleforpresentingbusinessdatatotheendusers.ThedataitselfistypicallyacquiredfromthebusinesstierandsometimesdirectlyfromtheEnterpriseInformationSystemtier.TheserversideofthepresentationtieristypicallyaccessedthroughHTTP(S)protocol.

2.BusinessorEJBtier.

ThistierconsistsofEnterpriseJavaBeans(EJBs)[24]thatmodelthebusinesslogicoftheenterpriseapplication.Thesecomponentsprovidepersistencemechanismsandtransactionalsupport.ThecomponentsintheEJBtierareinvokedthroughremoteinvocations(RMI),in-JVMinvocationsorasynchronousmessagedelivery,dependingonthetypeofEJBcomponent.TheEJBspecificationdefinesseveraltypesofcomponents.T

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2