Service-Oriented Architectures and Web Services


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Service-Oriented Architectures and Web Services

  1. 1. <ul><li>SERVICE ORIENTED ARCHITECTURES </li></ul><ul><li>AND </li></ul><ul><li>WEB SERVICES </li></ul><ul><li>SOUMYALATHA .J </li></ul>
  2. 2. Agenda <ul><li>Introduction to SOA </li></ul><ul><li>Why SOA </li></ul><ul><li>Architecture </li></ul><ul><li>Web Services </li></ul><ul><li>Standards </li></ul><ul><li>Conclusion </li></ul>
  3. 3. SOA Definition <ul><li>It is an IT approach in which applications make use of services available in a network </li></ul><ul><li>It involves developing applications that use services and making applications available as services. </li></ul><ul><li>Loose coupling between participating software agents. </li></ul>
  4. 4. Services <ul><li>A service provides a specific function, </li></ul><ul><ul><li>typically a business function, </li></ul></ul><ul><ul><li>such as analyzing an individual's credit history </li></ul></ul><ul><li>A service can provide a single discrete function </li></ul><ul><li>It can perform a set of related business functions, </li></ul><ul><li>Services that perform a related set of business functions, as opposed to a single function, - &quot;coarse grained.&quot; </li></ul><ul><li>Multiple services can be used together in a coordinated way. </li></ul><ul><li>The aggregated, or composite, service can be used to satisfy a more complex business requirement. </li></ul>
  5. 5. Service Oriented Architecture
  6. 6. Why SOA <ul><li>Primary Benefits </li></ul><ul><ul><li>Reusability </li></ul></ul><ul><ul><li>Interoperability </li></ul></ul><ul><ul><li>Scalability </li></ul></ul><ul><ul><li>Flexibility </li></ul></ul><ul><ul><li>Cost Efficiency </li></ul></ul>
  7. 7. Web Services <ul><li>The web services approach is based on a set of standards that are widely accepted and used. </li></ul><ul><li>This makes it possible for clients and services to communicate and understand each other across a wide variety of platforms and across language boundaries. </li></ul>
  8. 8. Types of Web Services <ul><li>External – the request and the service belong to two different companies </li></ul><ul><ul><li>Risk of Security </li></ul></ul><ul><li>Internal – the request and service are in the same company. </li></ul>
  9. 9. Web Services Standards <ul><li>XML </li></ul><ul><li>SOAP </li></ul><ul><li>WSDL </li></ul><ul><li>UDDI and ebXML </li></ul><ul><li>WS-Security </li></ul><ul><li>WS-BPEL </li></ul>
  10. 10. XML <ul><li>XML has become the de facto standard for describing data to be exchanged on the Web. </li></ul><ul><li>As it's name indicates, XML is a markup language. </li></ul><ul><li>It involves the use of tags that &quot;mark up&quot; the contents of a document, and in doing so, describe the contents of a document. </li></ul><ul><li>An XML tag identifies information in a document, and also identifies the structure of the information. </li></ul>
  11. 11. XML - Example <ul><li><bookshelf>     </li></ul><ul><li><book>        </li></ul><ul><li><title>My Life and times</title>       </li></ul><ul><li><author>Felix Harrison</author>      </li></ul><ul><li><price>39.95</price> </li></ul><ul><li></book> </li></ul><ul><li></bookshelf> </li></ul>
  12. 12. SOAP <ul><li>SOAP - Simple Object Access Protocol </li></ul><ul><li>SOAP is an XML-based protocol for exchanging information in a distributed environment. </li></ul><ul><li>SOAP provides a common message format for exchanging data between clients and services. </li></ul><ul><li>The basic item of transmission - is a SOAP message, which consists of a mandatory SOAP envelope, an optional SOAP header, and a mandatory SOAP body </li></ul>
  13. 13. SOAP
  14. 14. WSDL <ul><li>WSDL – Web Service Description Language. </li></ul><ul><li>A WSDL document contains information specified in Web Service Description Language, as defined in the WSDL specification. </li></ul><ul><li>WSDL defines an XML schema for describing a web service. </li></ul><ul><li>To uncover the description for a Web service, a client needs to find the service's WSDL document. </li></ul>
  15. 15. UDDI <ul><li>The Universal Description, Discovery, and Integration (UDDI) specifications define how to publish and discover information about services in a UDDI-conforming registry. </li></ul><ul><li>More specifically, the specifications define a UDDI schema and a UDDI API. </li></ul><ul><li>The UDDI schema identifies the types of XML data structures that comprise an entry in the registry for a service. </li></ul><ul><li>UDDI registry - &quot;Yellow Pages&quot; for web services. </li></ul>
  16. 16. WS-Security <ul><li>It describes security-related enhancements to SOAP messaging that provide for message integrity and confidentiality. </li></ul><ul><li>WS-Security uses security tokens to enable SOAP message security and integrity. </li></ul><ul><li>Provides a general-purpose mechanism for associating security tokens with messages, and describes how to encode binary security tokens. </li></ul><ul><li>WS-Security is flexible and can be used with a wide variety of security models and encryption technologies, such as Public-key infrastructure (PKI) and Kerberos, as well as the SSL and TLS </li></ul>
  17. 17. WS-BPEL <ul><li>WS-BPEL is (Web Services Business Process Execution Language) , also identified as BPELWS, BPEL4WS, or simply BPEL </li></ul><ul><li>An XML-based language that is used to coordinate web services across a single business process. </li></ul><ul><li>It uses WSDL to describe the web services that participate in a process and how the services interact </li></ul>
  18. 18. Prior Service-Oriented Architecture specifications <ul><li>DCOM is the acronym for the Distributed Component Object Model </li></ul><ul><li>CORBA - is the acronym for Common Object Request Broker Architecture </li></ul>
  19. 19. DCOM <ul><li>An extension of the Component Object Model (COM). </li></ul><ul><li>Introduced in 1996 </li></ul><ul><li>Designed for use across multiple network transports, including Internet protocols such as HTTP. </li></ul><ul><li>DCOM is based on the Open Software Foundation's DCE-RPC spec. </li></ul>
  20. 20. CORBA <ul><li>CORBA - acronym for Common Object Request Broker Architecture. </li></ul><ul><li>It was developed under the auspices of the Object Management Group (OMG). It is middleware. </li></ul><ul><li>The first service-oriented architecture for many people in the past was with the use of Object Request Brokers (ORBs) based on the CORBA specification. </li></ul><ul><li>The CORBA specification is responsible for really increasing the awareness of service-oriented architectures.  </li></ul>
  21. 21. Applications <ul><li>FlightTracker is a good example; it can be integrated into management and refund systems for tracking frequent business trips </li></ul><ul><li>GetEarthLocation (06/15/2001), developed by a Solar Resource Institute, offers services to industries that use solar panels and helps them determine when energy generation is optimal. </li></ul>
  22. 22. Conclusion <ul><li>SOA is a way of sharing functions in a widespread and flexible way. </li></ul><ul><li>Web services makes it possible for clients and services to communicate and understand each other. </li></ul>
  23. 23. <ul><li>Questions ? </li></ul>