330 likes | 477 Views
Integratie Software Systemen. Alonso, Casati, Kunu & Machiraju Web Services - Concepts, Architectures and Applications Hoofdstuk 5 – Webservices. Danny Romme (0213950) Jan Vogels (0321389). Waar gaat het over?. Introductie Web Services (Jan) Beperkingen conventionele middleware (Jan)
E N D
Integratie Software Systemen Alonso, Casati, Kunu & Machiraju Web Services - Concepts, Architectures and Applications Hoofdstuk 5 – Webservices Danny Romme (0213950) Jan Vogels (0321389)
Waar gaat het over? • Introductie Web Services (Jan) • Beperkingen conventionele middleware (Jan) • Essentiële concepten Web Services (Jan) • Overzicht middleware (Danny) • Web Service architecture (Danny)
Definitie (1) • Verscheidene definities van algemeen tot specifiek • Definitie van het UDDI consortium: “self-contained, modular business applications that have open, Internet-oriented, standards-based interfaces” • Nadruk op standaarden en internettoegang • Niet precies genoeg
Definitie (2) • Definitie van W3C:“a software application identified by a URI, whose interfaces and bindings are capable of being well-defined, described, and discovered as XML artifacts. A web service supports direct interactions with other software agents using XML-based messages exhanged via Internet-based protocols”
Definitie (3) • Definitie van Webopedia: “a standardized way of integrating web-based applications using the XML, SOAP, WSDL, and UDDI open standards over an internet protocol backbone. XML is used to tag the data, SOAP is used to transfer the data, WSDL is used for describing the services available, and UDDI is used for listing what services are available”
Definitie (4) • Webopedia definitie specificeert standaarden • Standaarden vormen niet de essentie • Boek hanteert W3C definitie
web server internal infrastructure internal procurement requests B2B interactions occur by accessing Web pages, filling Web forms, or via email. internal infrastructure web server internal infrastructure warehouse B2B Integratie • Voorbeeld supply chain
Limitations of Conventional Middleware in B2B Integration • Conventionele middleware in voorbeeld niet handig • 1 middleware systeem • Implementatie global workflow
third party WfMS a “global” workflow is executed here the combination of message broker and adapters enables interoperability WfMS adapter message broker customer supplier customer’s adapters supplier’s adapters warehouse internal procurement requests internal infrastructure warehouse’s adapters internal infrastructure internal infrastructure Limitations of Conventional Middleware in B2B Integration (2)
Limitations of Conventional Middleware in B2B Integration (3) • Conceptueel mogelijk, maar praktisch lastig • Gebrek aan vertrouwen (Lack of trust) • Autonomie • Confidentialiteit • Mogelijke oplossing: Point-to-point
customer supplier message broker XYZ message broker XYZ customer’s adapters supplier’s adapters internal infrastructure internal infrastructure Point-to-Point (1)
Point-to-Point (2) • Waarborgt confidentialiteit • Voor elke partner nieuwe afspraken • Heterogeniteit • Integratie noodzakelijk
supplier customer middleware for supplier-customer interaction middleware for supplier-warehouse interaction warehouse middleware for integrating the middleware middleware for supplier-XYZ interaction middleware for supplier-ABC interaction another party (XYZ) supplier’s adapters supplier’s adapters supplier’s adapters yet another party (ABC) internal infrastructure Point-to-Point (3)
Middleware perikelen • Conventionele middleware schiet te kort • EAI transacties meestal van korte duur • Transacties tussen organisaties vaak langer van duur • Asynchroon • Locking van resources • Gebrek aan vertrouwen
Integration before Web Services • Fundament middleware: gecentraliseerd en veilig • Gaat niet op voor B2B • Point-to-point duur door gebrek standaardisatie • Enkele succesgevallen (Walmart) • Ad-hoc • Pogingen tot standaardisatie
Integration with Web Services (1) • Bijdrage van het web • service-oriented architectures • redesign van middleware protocollen • standaardisatie
Service-oriented architectures • Aanroepbare procedures • Aanroepen via web • Niet elke service op het web is een webservice • Webservice: software applicatie met gepubliceerde en stabiele API
Redesign Middleware protocollen • Conventionele protocollen moet herontworpen worden • Decentralisatie • Confidentialiteit
Standaardisatie • Noodzakelijk voor veelvuldig gebruikt • Web services benadrukt belang van standaard
languages and protocols standardized, eliminating need for many different middleware infrastructures (need only the Web services middleware) customer supplier Web service Web service internal procurement requests internal infrastructure internal infrastructure interactions based on protocols redesigned for peer to peer and B2B settings Web service internal infrastructure internal functionality made available as a service warehouse Integration with Web Services (2)
Integration with Web Services (3) • Webservices dienen als entrypoints naar locale informatiesystemen • Communicatie gebeurt peer-to-peer • Gestandaardiseerde protocollen als gedecentraliseerde middleware
Webservices en EAI (1) • Webservices als entrypoint • Functionaliteit vinden en benaderen op gecontroleerde manier • Wrapper
client Web service Web service Web service wide area network (Internet) middleware middleware internal service internal service internal service internal service Company A (provider) Company B (client) Webservices en EAI
Wrappers • Homogeen • Kern middleware ondersteunende applicaties
Locale webservice (1) • Webservice kan locaal zijn • Integratie enterprise applicaties
Company A (or a LAN within Company A) integrating application (contains the composition logic) Web service-enabled broker sendmail application DBMS applications SmartQuotation SmartForecasting XYZ assumes all back-end systems are accessible as Web services Locale webservice (2)
Web Services Technologies • Service Description • Service Discovery • Service Interactions • Combining Web Services: Composition
vertical standards properties and semantics business protocols directories interfaces common base language Service Description
Service Interactions • Transport • Messaging • Protocol Infrastructure (meta-protocols) • Middleware (horizontal) protocols
Web Services Architecture • The two facets of Web Services architecture • Internal architecture of Web Services • External architecture of Web Services
Vragen? Nee? Mooi!