Exposing Your Openvms Applications As Web Services
Total Page:16
File Type:pdf, Size:1020Kb
Exposing your OpenVMS Applications as Web Services John Apps Business Critical Servers HP © 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Did you know that: • OpenVMS is dead? • Oracle Rdb is being fed to the 10g lions? • Java is too slow on OpenVMS for prime time? • Web Services are simply hype, insecure and not transactional? 6/20/05 2 Agenda • Service-Oriented Architecture: Enabling an Adaptive Infrastructure for an Adaptive Enterprise • Web Services: where are we? • Software Development _ …no integration without it… _ On OpenVMS _ On other platforms for OpenVMS • Integration Technologies, Partners and Products _ Data _ Components _ Applications _ Web Services _ Message Queuing and Caching • What we are doing to help • Questions and answers 6/20/05 3 Service-Oriented Architecture The concept of Web Services is the The evolution of [Web] beginning of a new Service-Oriented applications into service- Architecture in building better oriented components with software applications Web Services The change from an object-oriented Services must be based on shared system to a service-oriented one is organizing principles that constitute an evolutionary idea stemming from a Service-Oriented Architecture, the the Internet and Web system architectural concept behind Web Services 6/20/05 Page 4 Key Elements of a SOA* W SOA Governance S Line of Business Services e e b r v Policies & Processes S i c Service Contracts e e s r v SOA Principles i c Reusable Technical Services e & Guidelines s P l Service Service Service a t SOA Methods f Contracts Registry/Lookup Proxies/Stubs o r Service-Level Service-Level Service-Level & Tools m Data Model Security Management Service-Level Service-Level Multi-Language QoS Comm Model Bindings Approved Products, Technologies, and Facilities Data Transform Client UI BPM Data Access Middleware Security RDBMS AppServer SysMgmt 6/20/05 *Understanding SOA with Web Services by Eric Newcomer and Greg Lomow, Addison Wesley 2005. 5 Service-level Abstractions* Presentation Management Interface Interaction Security Processes Data Models Definitions Models Services Models Models Components Business Data WSDL XML WS-Security WS-Policy WSDL MEPs WSDM WS-Reliability WS-Notification 6/20/05 *Understanding SOA with Web Services by Eric Newcomer and Greg Lomow, Addison Wesley 2005. 6 Key Component Layers of a SOA Service-oriented Architecture Applications Screen Based Java Connector Integration Architecture 3GL Components Exposed SQL Exposed Java .NET As Stored As Component Component [Web] Services Procedure [Web] Services Existing Data Relational, Hierarchical, Network, Flat, Object, … Service-oriented Architecture 6/20/05 7 Key Component Layers of a SOA Service-oriented Architecture Applications Screen Based Java Connector Integration Architecture Industry- Industry- standard 3GL Components standard SQL message Java .NET protocols, Stored formats: Component Component i.e., WSDL, Procedure HTTP, SOAP, Existing Data SMTP XML, MIME Relational, Hierarchical, Network, Flat, Object, … Service-oriented Architecture 6/20/05 8 Key Component Layers of a SOA Service-oriented Architecture Applications Screen Based Java Connector Integration Architecture Implementation Messages can details hidden 3GL Components be synchronous from caller. SQL or Java .NET Stored asynchronous. Data conversion Component Component done according Procedure With or without notification or to standard Existing Data schemas (W3C) attachments Relational, Hierarchical, Network, Flat, Object, … Service-oriented Architecture 6/20/05 9 Agenda • Service-Oriented Architecture: Enabling an Adaptive Infrastructure for an Adaptive Enterprise • Web Services: where are we? • Software Development _ …no integration without it… _ On OpenVMS _ On other platforms for OpenVMS • Integration Technologies, Partners and Products _ Data _ Components _ Applications _ Web Services _ Message Queuing and Caching • What we are doing to help • Questions and answers 6/20/05 10 Web Services: Where are we? Web Service? • Based on well defined industry standards • Enables loosely coupled connectivity • Can be synchronous or asynchronous • Is platform agnostic: Java, .NET, LAMP, home-grown • Connectivity defined by www.WS-I.org • Is the new ‘presentation layer’ for applications A small step for technology; Is to computers what a giant leap for business browsers are to users This leap is not about technology; it is about A modular piece of code on the enabling organizations to conduct business, with internet/intranet/extranet that technology assisting business, not restricting it. provides one or more business functions and that can be This leap is the beginning of the era when discovered and used on information technology matures to become invisible demand. in business interaction. 6/20/05 11 Web Service Protocol Stack* 6/20/05 *http://roadmap.cbdiforum.com/reports/protocols/images/figure2.gif 12 Base Web Service Standards* Service Registrar Publish UDDIUDDI via viavia UDDI FindFind Describe via WSDL Connect via SOAP Service Service Consumer Provider SOAP Simple Object Access Protocol WSDL Web Services Description Language UDDI Universal Discovery, Description, Integration From CBDI Forum: http://roadmap.cbdiforum.com/reports/ 6/20/05 13 Major Web Service Technologies • SOAP – Simple Object Access Protocol _ Standard packaging structure for XML doc transport _ Transport over, for example, SMTP, HTTP, FTP _ Also defines encoding and binding standards for non-XML RPC invocations _ EJBs can be exposed through SOAP and so can .NET components • WSDL – Web Services Description Language _ XML technology that describes the interface to a Web service in a standardized way _ Describes I/O parameters of an invocation externally _ Describes service protocol binding • UDDI – Universal Description, Discovery, and Integration _ Registry of available Web services (worldwide) _ Used for advertising, discovering and integrating Web services 6/20/05 14 Web Service Interaction Application HTTP Request Soap SOAP Processor Clien t HTTP Response DiscreteDiscrete WSDL BusinessBusiness LogicLogic Service UDDIUDDI RegistryRegistry 6/20/05 15 Extended Web Service Standards • Metadata _ XML Schema – message typing and structuring _ WSDL – associates messages and exchange patterns (MEPs) with service names and network addresses _ WS-MetadataExchange – queries and discovers metadata associated with Web Service. Can also fetch a WSDL file and the associated WS-Policy definitions • Addressing _ WS-Addressing – endpoint addressing and properties associated with endpoints • Security _ WS-Security – provides message-level security on an end-to-end basis for Web Services messages _ XML Encryption – provides confidentiality using a variety of encryption algorithms, ensuring reception of unchanged messages _ XML Signature – using a variety of encryption and signature mechanisms, ensures messages are not tampered with and are 6/20/05received once and only once 16 Extended Web Service Standards • Policy _ WS-Policy – Associating QoS requirements with WSDL definition. WS-Policy includes declarations for security, transactions and reliability • WS-Reliability – designed to ensure reliable delivery of SOAP messages using unreliable transports such as HTTP • Web Services Distributed Management _ OASIS WSDM definition: • “define web services management, including using web services architecture and technology to manage distributed resources. This Technical Committee will also develop the model of a web service as a manageable resource” _ WSDM compliant Web Services and platforms will offer a standard WSM interface _ Management Of Web Services (MOWS) _ Management Using Web Services (MUWS) Reliability and Messaging 6/20/05 17 Extended Web Service Standards Web Services Orchestration • Long running business processes (workflows) should also be transactional _ Hours or days rather than sub-second intervals • May cross organizational boundaries _ Supply chain and service aggregation scenarios • Locking is neither desirable or feasible _ We need alternative techniques • Extended transactions models _ Based on compensations _ WS-Business Activity (WS-BA) 6/20/05 18 Extended Web Service Standards • Transactions _ WS-Composite Application Framework (WS-CAF) • WS-Context – standalone context for non-transactional protocol contexts such as security, device and network IDs or database and file IDs • WS-CoordinationFramework – defines the coordinator for basic context specification and pluggable transaction protocols in the WS-TransactionManagement specification • WS-TransactionManagement – defines 3 transaction protocols: _ ACID _ long-running actions (compensation) _ Business process management 6/20/05 19 Extended Web Service Standards • World’s first Web Service transaction platform (HP-WST) released in 2002 by HP and Arjuna Technologies Ltd. Commit A Commit? A Yes _ Formed in 2002 from Hewlett Packard C Middleware Division C Commit? Commit _ Long history in reliable distributed systems Yes _ Leading research in reliable distributed systems B B since 1985 Phase 1 Phase 2 6/20/05 20 What does Google say?* • What applications can I create using Google™ Web APIs? Some possibilities might include: Issuing regularly scheduled search requests to monitor the Web for new information on a subject. _ Performing market research by analyzing differences in the amount of information available on different subjects over time. _ Searching via non-HTML interfaces, such as the command