版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、标准化是网路技标准化是网路技术演进的主轴术演进的主轴 如果市場需求進化到如果市場需求進化到AboveNet? Middleware技術成本 = 通信 + 資料 + 格式 Servlet 自訂格式,讓 EJB 價值多元呈現Application ServerInternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBHTTPVB ClientServletServlet 如果市場需求進化到如果市場需求進化到AboveNet? Middleware技術成本 = 通信 + 資料 + 格式 Servlet 自訂格式,讓 EJB 價值多元
2、呈現Application Server 但是,但是,customize 的的成本高成本高 Client : 各式資料格式,莫衷一是,無所遵循各式資料格式,莫衷一是,無所遵循InternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBHTTPVB ClientServletServlet? 如果市場需求進化到如果市場需求進化到AboveNet? Middleware技術成本 = 通信 + 資料 + 格式 Servlet 自訂格式,讓 EJB 價值多元呈現Application Server 但是,但是,customize 的的成
3、本高成本高 Client : 各式資料格式,莫衷一是,無所遵循各式資料格式,莫衷一是,無所遵循 Server : Servlet流程代工,難以重複利用流程代工,難以重複利用InternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBHTTPVB ClientServletServlet?Web Services是是 Middleware 技術演進之必然技術演進之必然 Middleware技術成本 = 通信 + 資料 + 格式 Servlet 自訂格式,讓 EJB 價值多元呈現 但是,但是,customize 的的成本高成本高 C
4、lient : 各式資料格式,莫衷一是,無所遵循各式資料格式,莫衷一是,無所遵循 Server : Servlet流程代工,難以重複利用流程代工,難以重複利用InternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBApplication ServerHTTPVB ClientServletServlet?Price()Name()Time()Msg()Web Services是是 Middleware 技術演進之必然技術演進之必然 Middleware技術成本 = 通信 + 資料 + 格式 流程設計主導權由 server 端
5、移轉至 client 端Application Server Client 端請求端請求service服務及其回應,服務及其回應,均藉由均藉由soap/http標準化以降低開發成本標準化以降低開發成本InternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBHTTPVB ClientServletServletPrice()Name()Time()Msg()SOAPProxyWeb ServicesRuntimeSOAPRouterWeb ServicesRuntimeSOAPProxyWeb Services是是 Middl
6、eware 技術演進之必然技術演進之必然Middleware技術成本 = 通信 + 資料 + 格式 Services的規格由WSDL描述之且讓 UDDI 形成結構化服務描述聚落Application Server Client 藉由藉由 WSDL 知曉知曉 Server 提供的服務,提供的服務,並藉以開發並藉以開發Web Service應用應用InternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBHTTPVB ClientServletServletPrice()Name()Time()Msg()SOAPProxyWeb
7、ServicesRuntimeSOAPRouterWeb ServicesRuntimeSOAPProxyWSDLWSDLUDDIWSDLWeb Services 技術架構誕生技術架構誕生ComposedInternetJSPBusiness LogicgetPrice()getName()getTime()getMsg()DBApplication ServerVarious ClientsServletServletWeb ServicesRuntimeSOAPRouterWSDLUDDIHTTPDescribedPublishedFoundBoundInvokedModularWeb S
8、ervices 技術架構誕生技術架構誕生Web Service = http + XML + StandardContainer: J2EE 1.3JAXPJAXBJAC-RPCJAXMJAXRJSR110JavaStandards: W3CXMLXML SchemaWSDLSOAPUDDIebXMLArchitectureOverview of Web Services Technology Service Provider: Construct services Web Services interface (EAR) Publish Service Requestor: Construc
9、t request services Discover and download WSDL documents. Web Services interface (proxy) Communication By using SOAPOverview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryPublishFindWSDLDoc.DownloadBindRequestInvokeresultReturnResponseSOAP Messages(Implementation De
10、finition)Overview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYWSDLDoc.DownloadRequestInvokeresultReturnResponseSOAP MessagesServicesRegistryOverview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryWSDLDoc.DownloadBindRequestInvokeresultReturnResp
11、onseSOAP MessagesOverview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryWSDLDoc.DownloadRequestInvokeresultReturnResponseSOAP MessagesConceptual Web Services StackDefinition of Stack Layers Network Internet-standards-based transport HTTP, HTTPS FTP SMTP Optimized i
12、ntra-organization protocols Network choice should be based on Where service will be accessed from Degree of interoperability required Existing network and messaging infrastructure Degree of reliability and security requiredDefinition of Stack Layers XML-Based Messaging Messages are sent as XML docum
13、ents conformant to well known or published XML Schemas The messaging infrastructure will use SOAP SOAP is the simple, standardized enveloping mechanism for communicating documentcentric messages and remote procedure calls using XML SOAP defines a standard mechanism to incorporate orthogonal extensio
14、ns to the message using SOAP headersDefinition of Stack Layers Service Description Service Interface Definition Specification of logical interface and bindings WSDL provides all IDL capabilitiesDefinition of Stack Layers Service Description Service Implementation Definition Defines network location,
15、 protocols, security requirements and other attributes specific to a particular instance of a service endpoint for a bindingDefinition of Stack Layers Complete Service Description Business Context, Taxonomies, Keywords: UDDI Endpoint capabilities and policies Choreography among services and business
16、esDefinition of Stack Layers Service Publication Make the Service Description available Create the nonfunctional service description Taxonomy, ownership, business name, business type, various keywords for discovery easier Endpoint details and requirements Where the description is published can vary:
17、 Directed-email, diskette, . Web Service Inspection Language (WSIL) UDDIPrivate or Universal Business RegistryDefinition of Stack Layers Service Discovery Static Services found and bound to at development time Found in file system, URL, or services directory Tools browse/search/generate skeletons pr
18、oxies Dynamic Bind interface during development and Find service implementation endpoint at runtime Interface and Endpoint found and bound at runtime Found at URL or services directory UDDI defines a searchable services directoryDefinition of Stack Layers Service Flows Services as activities in work
19、 flows Flows of services, potentially between partners Services as wrappers for exposed business processes Service composition This is an emerging paradigm IBM has published WSFL Microsoft has published XLangDefinition of Stack Layers Quality of Service Network Level: reliable messaging Service Desc
20、ription Level: Implementation level Ex. Transactional, secure Interface level Ex. Tolerable response times Provided by WSDL and potentially other definitions (potentially based on ebXML Partner Agreements type of information) Publication/Discovery: highly available UDDI nodeDefinition of Stack Layer
21、s Management Means: Information: Identification, Configuration Metrics: Performance Control: Operations, Configuration By Management System for: Web Services Infrastructure Each enterprise responsible for managing own infrastructure Enterprises will need to expose management interfaces for use by bu
22、siness partners: status, query, cancelDefinition of Stack Layers Security Requirements: Confidentiality Authorization Data Integrity Proof of Origin Non-Repudiation Secure transport is not enough: End to End compromised by intermediaries Middleware independence Transport independence Asynchronous mu
23、lti hop messagesDefinition of Stack Layers Security Network HTTPS, SSL, current network technologies XML Messaging Basic Auth in SOAP header XML Digital Signature Support trusted third-party authentication Service Description Security capabilities and requirements Publication/Discovery Trusted regis
24、try, trusted access (same issues)值得關注的後續發展主題值得關注的後續發展主題 Security standards and JSRs Reliable Messaging exactly once delivery Enabling services infrastructure turned services Quality of Service living up to expectationIntegration System logic redesignResourceSystemLogicgetTime()getName()PresentationH
25、TMLJSPASPApplicationPresentationSystemLogicResourcePresentationSystemLogicResourcePresentationSystemLogicResourceWebServicesIntegration (Cont.) IntegrationTech DataTech DataCompany ACompany BEmployeeEmployeeWeb ServicesWeb Services Description Language An XML vocabulary Describes the interfaces for
26、web services and how to invoke the services Service Implementation Implementation of one or more service interfaces Contains the endpoint reference Service Interface Abstract, reusable service definition Represents a type of service that can be implementedWeb Services Description LanguageServiceImpl
27、ementationDefinitionServiceInterfaceDefinitionServicePortBindingPortTypeTypeMessageWeb Services Description LanguageNotationComponentUsageAService服務名稱BPort服務位置1Binding服務物件定義2Port Type服務集合定義3Message服務I/O結構定義4TypeI/O型別定義Web Services Description Language Web Services Description Language Web Services D
28、escription Language Simple Object Access Protocol Defines a standard format for XML message exchanges StylesRPC: formatted payload for method invocationDocument: XML document payload EncodingsEncodedLiteral Works over more than just HTTP!Simple Object Access Protocol 1 POST /SMSSample/servlet/rpcrou
29、ter HTTP/1.0 2 Host: localhost 3 Content-Type: text/xml; charset=utf-8 4 Content-Length: 582 5 SOAPAction: “” 6 7 8 9 12 13 15 093826624416 2330: 台積電=92.00, 13:30:0417 18 19 Service Publication and Discovery Service Publication Make the Service Description available Create the nonfunctional service
30、descriptionTaxonomy, ownership, business name, business type, various keywords for discovery easierEndpoint details and requirements Where the description is published can vary:Directed-email, diskette, Web Service Inspection Language (WSIL)UDDI Private or Universal Business RegistryService Publicat
31、ion and Discovery Service Discovery StaticServices found and bound to at development timeFound in file system, URL, or services directoryTools browse/ search/ generate skeletons proxies DynamicBind interface during development and Find service implementation endpoint at runtimeInterface and Endpoint
32、 found and bound at runtimeFound at URL or services directory UDDI defines a searchable services directoryUDDI Universal Description, Discovery, and Integration A project to encourage interoperability and adoption of web services Standards-based specifications for service description and discovery A set of internet-based implementations UDDI business registry Interoperating to share registrations Partnership among industry and business leaders Initiated by Ariba, IBM, and Micro
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年沧州客运资格证模拟考试题
- 2024年湖南客运资格证多少道题
- 2024年信阳申请客运从业资格证版试题
- 2024年福建客运资格证摸拟考试试题及答案
- DB2305T 043-2024大棚甜樱桃栽培技术规程
- 幼儿园庆六一活动策划方案
- XX镇农村土地承包经营权流转实施方案
- 携手共育,学贵有恒-七年级下学期家长会课件
- Unit 10 Section B 1a-2e课件2023-2024学年人教版九年级英语
- 国际体育城开业庆典策划方案开业开幕
- 水雨情监测站施工方案
- 小学语文三年级上册第三单元习作
- 《光的直线传播》说课稿
- T-CASWSS 024-2023 护工护理服务规范
- 水务设备维保方案
- 小学美术课件美丽的鸟
- 城市更新培训课件
- 大数据技术职业生涯规划
- 小区治理工作方案3篇
- 路基边坡冲刷修复专项施工方案设计样本
- 酒店公共区域礼品展示与销售技巧训练
评论
0/150
提交评论