标准化是网路技术演进的主轴

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

WebComputingLab(FJUCSIE)TopicWebServicesArchitectureandTechnicalOverviewWebComputingLabComputerScienceInformationEngineeringDepartmentFuJenCatholicUniversityWebComputingLab(FJUCSIE)Outline•EvolutionofInternetTechnology•Architecture•OverviewofWebServicesTechnology•ConceptualWebServiceStack•IfYouOnlyRememberThreeThings…•Integration•WebServicesDescriptionLanguage•SimpleObjectAccessProtocol•ServiceDiscovery•UniversalDescriptionDiscoveryandIntegration•SummaryWebComputingLab(FJUCSIE)標準化是網路技術演進的主軸•SOAPoverhttp是Middleware技術演進之必然1978Internet……ftpsmtpgopher1992Mosaic1994Netscape1989http2002WebServices1996Servlet1998EJB1999JSP.Com的黃金歲月WebComputingLab(FJUCSIE)WebApplication是.com時代的技術支撐•Middleware技術成本=通信+資料+格式–技術門檻驟降,.com成為全民運動……JSP主導作業流程,承載BusinessModel–EJB主掌資料存取,是核心價值但競爭優勢何在?InternetPresentationLayerJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBApplicationServerHTTPhtmlbody/body/htmlHTMLBrowserWebComputingLab(FJUCSIE)WebApplication是.com時代的技術支撐•Middleware技術成本=通信+資料+格式–EJB的表現被JSP所局限EJB的功能無法進一步的發揮–JSP無法符合不同的客戶需求市場需求改變,JSP也必須跟著改寫ApplicationServerInternetPresentationLayerJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBHTTPhtmlbody/body/htmlHTMLBrowser?WebComputingLab(FJUCSIE)如果市場需求進化到AboveNet?•Middleware技術成本=通信+資料+格式–Servlet自訂格式,讓EJB價值多元呈現ApplicationServerInternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBHTTPVBClientServletServletWebComputingLab(FJUCSIE)如果市場需求進化到AboveNet?•Middleware技術成本=通信+資料+格式–Servlet自訂格式,讓EJB價值多元呈現ApplicationServer–但是,customize的成本高–Client:各式資料格式,莫衷一是,無所遵循InternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBHTTPVBClientServletServlet??WebComputingLab(FJUCSIE)如果市場需求進化到AboveNet?•Middleware技術成本=通信+資料+格式–Servlet自訂格式,讓EJB價值多元呈現ApplicationServer–但是,customize的成本高–Client:各式資料格式,莫衷一是,無所遵循–Server:Servlet流程代工,難以重複利用InternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBHTTPVBClientServletServlet?WebComputingLab(FJUCSIE)WebServices是Middleware技術演進之必然•Middleware技術成本=通信+資料+格式–Servlet自訂格式,讓EJB價值多元呈現–但是,customize的成本高–Client:各式資料格式,莫衷一是,無所遵循–Server:Servlet流程代工,難以重複利用InternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBApplicationServerHTTPVBClientServletServlet?Price()Name()Time()Msg()WebComputingLab(FJUCSIE)WebServices是Middleware技術演進之必然•Middleware技術成本=通信+資料+格式–流程設計主導權由server端移轉至client端ApplicationServer–Client端請求service服務及其回應,均藉由soap/http標準化以降低開發成本InternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBHTTPVBClientServletServletPrice()Name()Time()Msg()SOAPProxyWebServicesRuntimeSOAPRouterWebServicesRuntimeSOAPProxyWebComputingLab(FJUCSIE)WebServices是Middleware技術演進之必然•Middleware技術成本=通信+資料+格式–Services的規格由WSDL描述之且讓UDDI形成結構化服務描述聚落ApplicationServer–Client藉由WSDL知曉Server提供的服務,並藉以開發WebService應用InternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBHTTPVBClientServletServletPrice()Name()Time()Msg()SOAPProxyWebServicesRuntimeSOAPRouterWebServicesRuntimeSOAPProxyWSDLWSDLUDDIWSDLWebComputingLab(FJUCSIE)WebServices技術架構誕生ComposedInternetJSPBusinessLogicgetPrice()getName()getTime()getMsg()DBApplicationServerVariousClientsServletServletWebServicesRuntimeSOAPRouterWSDLUDDIHTTPDescribedPublishedFoundBoundInvokedModularWebComputingLab(FJUCSIE)WebServices技術架構誕生WebService=http+XML+StandardContainer:J2EE1.3JAXPJAXBJAC-RPCJAXMJAXRJSR110JavaStandards:W3C…XMLXMLSchemaWSDLSOAPUDDIebXMLWebComputingLab(FJUCSIE)ArchitectureWebComputingLab(FJUCSIE)OverviewofWebServicesTechnology•ServiceProvider:–Constructservices–WebServicesinterface(EAR)–Publish•ServiceRequestor:–Constructrequestservices–DiscoveranddownloadWSDLdocuments.–WebServicesinterface(proxy)•Communication–ByusingSOAPWebComputingLab(FJUCSIE)OverviewofWebServicesTechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryPublishFindWSDLDoc.DownloadBindRequestInvokeresultReturnResponseSOAPMessages(ImplementationDefinition)WebComputingLab(FJUCSIE)OverviewofWebServicesTechnologyServiceProviderServiceRequestorEARPROXYWSDLDoc.DownloadRequestInvokeresultReturnResponseSOAPMessagesServicesRegistryWebServicesStandardWebComputingLab(FJUCSIE)OverviewofWebServicesTechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryWSDLDoc.DownloadBindRequestInvokeresultReturnResponseSOAPMessagesDependonPlatformWebComputingLab(FJUCSIE)OverviewofWebServicesTechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryWSDLDoc.DownloadRequestInvokeresultReturnResponseSOAPMessagesGeneratedbyToolsWebComputingLab(FJUCSIE)ConceptualWebServicesStackWebComputingLab(FJUCSIE)DefinitionofStackLayers•Network–Internet-standards-basedtransport•HTTP,HTTPS•FTP•SMTP–Optimizedintra-organizationprotocols–Networkchoiceshouldbebasedon•Whereservicewillbeaccessedfrom•Degreeofinteroperabilityrequired•Existingnetworkandmessaginginfrastructure•DegreeofreliabilityandsecurityrequiredWebComputingLab(FJUCSIE)DefinitionofStackLayers•XML-BasedMessaging–MessagesaresentasXMLdocumentsconformanttowellknownorpublishedXMLSchemas–ThemessaginginfrastructurewilluseSOAP•SOAPisthesimple,standardizedenvelopingmechanismforcommunicatingdocumentcentricmessagesandremote

1 / 49
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功