Seminario Sobre Servicios Web
Introduction to Web Services
Objectives
On completion of this module, you should:
• Explore the need for web services • Define a web service and describe the motivation
behind developing and using web services in business software
• Describe the characteristics of a web service • Describe the two major approaches to developing
webservices
• Describe the advantages of developing web
services within a JavaEE container.
DWS-4050 – Developing Web Services with Java™ Technology
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Revision A.0
Introduction to Web Services 1 - 1
Web services are an emerging technology that: Services Web
Exploring the Need for Web Services
Web Incorporates and buildsupon existing standards • services introduce a suite of specifications and APIs Introduces a new suite of specifications andacross • for communicating between applications APIs for communicating between applications across the the Internet. Internet
Locate and access Internet Data or Application Functionality Standard Internet and XML-based protocols
Client
Developing Java™ Web Services
Copyright2006 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision A.2
DWS-4050 – Developing Web Services with Java™ Technology
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Revision A.0
Module 1, slide 5 of 43
Introduction to Web Services 1 - 2
Sun Services Conceptual Model
Conceptual Model
Browser
Application Server
Web Service InfrastructureApplication Functions
Swing Client Other Client Types Heterogeneous Client Base
DWS-4050 – Developing Web Services with Java™ Technology
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Revision A.0
Introduction to Web Services 1 - 3
Sun Services
Exposing Business Logic asas a Web Exposing Application Functions Web Service Services
Parts Wholesaler Parts RetailerOEM Internet Inquiry Service Order Service Inventory Database
Delivery Service
DWS-4050 – Developing Web Services with Java™ Technology Developing Java™ Web Services
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Revision A.0
Module slide 43 1, 9 of
Introduction to Web Services 1 - 4
Characteristics of Web Services
• Loosely coupled •Self-describing • Published, located, and accessed over the Internet • Interoperable • Language and platform neutral • Standards based (Internet- and XML-based
protocols)
DWS-4050 – Developing Web Services with Java™ Technology
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Revision A.0
Introduction to Web Services 1 - 5
Web Services vs Other Protocols
TraditionalRPC Web Service
• Within enterprise • Tied to programming
languages
• • • • • • •
Public Programming language independent Message driven Variable transports Loosely coupled Firewall friendly Inefficient
• • • • •
Procedural Specific transport Tightly coupled Firewall unfriendly Efficient
DWS-4050 – Developing Web Services with Java™ Technology
Copyright 2010 Sun Microsystems, Inc. All RightsReserved. Revision A.0
Introduction to Web Services 1 - 6
Web Service Elements
Internet transport protocol
Sun Services
Web Service Elements
XML-based messages
(SOAP) (HTTP, HTTPS) Client Service
Service Registry (ebXML, UDDI)
Developing Java™ Web Services DWS-4050 – Developing Web Services with Java™ Technology Copyright 2010 Sun Microsystems,2006 Sun Microsystems,Inc. All Rights Reserved. Sun Services, Revision A.2 Copyright Inc. All Rights Reserved. Revision A.0
Module slide 17 of 1, 43
Introduction to Web Services 1 - 7
Web Service Life Cycle Sun Services
Web Service Life Cycle
Web Service Provider 1 Create, assemble, and deploy Service Description Description interface location 2 Publish Web Service Registry...
Regístrate para leer el documento completo.