面象服务的体系架构.ppt_第1页
面象服务的体系架构.ppt_第2页
面象服务的体系架构.ppt_第3页
面象服务的体系架构.ppt_第4页
面象服务的体系架构.ppt_第5页
已阅读5页,还剩20页未读 继续免费阅读

下载本文档

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

文档简介

面向服务的体系架构(SOA),2,日程,什么是面向服务的体系架构SOA的价值构成SOA的技术如何构建SOA系统IBM的SOA工具与产品网格计算与SOA,3,一个组件模型将应用程序的不同功能单元(服务)通过这些服务之间定义良好的接口和契约联系起来。接口是采用中立的方式进行定义的,它应该独立于实现服务的硬件平台、操作系统和编程语言。构建在各种这样的系统中的服务可以以一种统一和通用的方式进行交互。,什么是面向服务的体系架构?,4,为什么采用面向服务的体系架构?,AServiceOrientedArchitectureenablesflexibleconnectivityofapplicationsorresourcesbyRepresentingeveryapplicationorresourceasaservicewithastandardizedinterfaceEnablingthemtoexchangestructuredinformation(messages,documents,businessobjects)MediatingthemessageexchangethroughanEnterpriseServiceBusThisflexibilityenablesnewandexistingapplicationstobeeasilyandquicklycombinedtoaddresschangingbusinessneeds.Theabilitytoeasilycombine/choreographapplicationsallowsITservicestomorereadilyreflectbusinessprocessesTheSOAinfrastructureisalsousedtofacilitatethemanagementofbusinessperformanceandqualityofservice,5,SOA的价值:SOA实现可变的IT架构,6,构成SOA的技术,什么是服务服务调用服务的编排服务的发现,7,什么是服务?,Awell-defined,invokableunitofbusinessfunctionAccessesbusinessdataorfacilitatesachangeofbusinessdatafromonevalidandconsistentstatetoanother.DefinedusingexplicitinterfacesIndependentofserviceimplementationsProvidescontractbetweenservicerequestorsandserviceprovidersInvokablethroughcommoncommunicationprotocolsProvidesinteroperabilityandlocationtransparency.,8,服务描述,Servicesaredescribedusingastandardizedinterface(metadata)Definestheservice,itsoperations,andinputandoutputparametersDefineshowtheserviceisreachedanditslocationInputandoutputsmaybesimpleparametersorXMLdocumentsAnexistingapplicationcanbegivenaservicefaadeThefaade(e.g.anEJB)isthendescribedastheserviceWebServicesDescriptionLanguage(WSDL)isthestandardusedtodescribetheservice,9,服务描述:WSDL,WSDL(WebServicesDescriptionLanguage)isanXMLdocumentthatdescribesaServiceusinganumberofkeyelements:APortTypedefineswhattheservicedoes,andisdescribedbyanumberofoperations.ForeachoperationthedatathatitreceivesandsendsisdescribedbyaMessageTheBindingdefineshowtheservice(asdescribedbythePortType)isinvokede.g.SOAP/HTTP,SOAP/JMS.ThePortspecifiestheaddresswheretheserviceislocated,10,服务调用,ServicesinteractbyexchangingdataoveranEnterpriseServiceBusTheEnterpriseServiceBusisalogicalarchitecturalconstructProvidesinter-connectivityservicesServicesinteractwitheachotherbasedonthequalityofservicerequirementsoftheindividualtransactionsESBconnectsandintegratesanenterprisesITbusinessIndifferentlocations,usingdifferenttransports,acrossorganizationsESBmediatesservicerequestsandresponsesPerformstransformationandroutingEnablesconnectiontypetransparencyESBenablestheuseofmultipleprotocolse.g.SOAP/HTTPcanbeconvertedtoSOAP/JMSandviceversa,11,企业服务总线(ESB)CentraltotheWorkingsofaServiceOrientedArchitecture,TransportServicesSynchronous/AsynchronousPersistent/Non-persistentLoosely-coupled/Tightly-coupled,EventServicesPublishandSubscribe,MediationServicesRoutingTransformation,StandardsBasedHTTP/HTTPSwithoptionforWS-ReliableMessagingJMS,JAX-RPC,SOAPWS-Security,WS-Policy,WS-Addressing,12,服务的编排术,BusinessprocessesareasetofactivitiescarriedoutinasequenceServicescanbechoreographedtoimplementabusinessprocessi.e.eachsteporactivityinabusinessprocessisimplementedbyaserviceThebusinessprocessitselfbecomesaserviceServicechoreographyisdescribedbytheBusinessProcessExecutionLanguage(BPEL)AstandardproposedtoOASISforprocessdefinitionServiceChoreographyprovides:ProcessesthatcombineapplicationsandpeopleTransactionalityandcompensationManipulationofprocessdata,13,服务的发现,AServiceRegistryorDirectoryPublishesservicedescriptionsFindsbusiness,servicesandserviceinterfacesUDDIisastandardforaregistrywebservice(seeUDDI.org)ServicediscoverymaybeatdesigntimeorruntimeWebSphereStudioprovidesWebServicesExplorertopublishandsearchUDDIUDDIServiceentriescontainURLofitsWSDLAUDDIdirectorymaybeprivatetoanenterpriseWSDLforservicesmaybestoredinlocalfilesanddirectoriesESBmediationsmaybeusedtodetermineserviceslocationatruntime,ServiceRegistry,14,SOA的服务栈,SOAusesWebServicesspecificationstoimplementitsfeaturesManyWebServicesspecificationsarebeingstandardizedIBMandothervendorshaveimplementedthesespecifications,anticipatingthestandardsTheWebServicefunctionstackisrichandgettingricher,15,如何构建SOA的系统,DevelopaserviceorientedmentalityEverythingisaserviceUnderstandanddefineservicesGoodservicedecompositionisthechallengeRemembercoarsegranularitySomeserviceimplementationswillexist,otherswillneedtobecreatedDetermineserviceinterfacesandinteractionpatternsWhatformatswillbeadoptedfordataexchange?Whatqualitiesofservicewillboundinteractions?Wherewillmediationberequired/appropriate?DefineserviceorchestrationsintermsofsupportedbusinessprocessesCompositeserviceswillgenerallyreflectbusinessprocesses?Whatarethebusinessprocesses?BusinessmodelsinWebSphereBIModelercanproveinvaluablehere,16,采用SOA的四个层次,17,实现单独的Web服务,18,面向服务的集成,19,企业范围内的IT转换,20,Enterpriseapplications,Enterprisedata,DataAccessServices,ApplicationAccessServices,IBMSoftwareOfferings,MonitoringServices,IBM商务整合的参考架构,Model,design,development,testtools,CommonRuntimeInfrastructure,WebSphereBIModeler,WebSphereBIMonitor,WebServicesGateway,WebSphereBIEvent/MessageBroker,WebSphereMQ,WebSphereBIAdapters,DB2InformationIntegratorClassic,WebSphereStudio,DB2InformationIntegrator,WebSphereBusinessIntegrationServer,WebSphereBusinessIntegrationConnect,WebSphereApplicationServer,EnterpriseServiceBus,ProcessServices,CommunityIntegrationServices,ApplicationServices,InformationServices,WebSpherePortalServer,UserInteractionServices,21,ProfessionalServices,OGSIOpenGridServicesInfrastructure,GridServices,SystemManagementSevices,OpenGridServicesArchitecture(OGSA),Applications,AutonomicCapabilities,OGSA,OGSAStructure,22,Grid和Web服务,Grid,Web,ThedefinitionofWSRFmeansthatGridandWebcommunitiescanmoveforwardonacommonbase,23,网格计算与SOA,网格系统本身就是SOA

温馨提示

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

最新文档

评论

0/150

提交评论