





Client and server applications that communicate
over the World Wide Web's (WWW) HyperText
Transfer Protocol (HTTP)
A service is a software component provided
through a network-accessible endpoint.

The service consumer and provider use messages
to exchange invocation request and response
information in the form of self-containing
documents that make very few assumptions
about the technological capabilities of the
receiver.
"Big" Web Services:
use XML messages that follow the Simple Object
Access Protocol (SOAP) standard , written in the
Web Services Description Language (WSDL).




RESTful Web Services: Representational State
Transfer . REST is well suited for basic, ad hoc
integration scenarios.









The web services are completely stateless.
A caching infrastructure can be leveraged for
performance.
The service producer and service consumer
have a mutual understanding of the context
and content being passed along.
Bandwidth is particularly important and needs
to be limited.
Web service delivery or aggregation into
existing web sites can be enabled easily


JAX-WS:
◦ Addresses advanced QoS requirements
◦ Support the WS-* set of protocols
◦ More secure & reliable



JAX-RS:
◦ Easier to write web applications
◦ Scalability
◦ Architectural simplicity
SOAP: XML language defining a message
architecture and message formats.
WSDL: an XML language for
defining interfaces syntactically.


J2EE Tutorial 7

Intoduction to web services

  • 2.
       Client and serverapplications that communicate over the World Wide Web's (WWW) HyperText Transfer Protocol (HTTP) A service is a software component provided through a network-accessible endpoint. The service consumer and provider use messages to exchange invocation request and response information in the form of self-containing documents that make very few assumptions about the technological capabilities of the receiver.
  • 3.
    "Big" Web Services: useXML messages that follow the Simple Object Access Protocol (SOAP) standard , written in the Web Services Description Language (WSDL).   RESTful Web Services: Representational State Transfer . REST is well suited for basic, ad hoc integration scenarios.
  • 4.
         The web servicesare completely stateless. A caching infrastructure can be leveraged for performance. The service producer and service consumer have a mutual understanding of the context and content being passed along. Bandwidth is particularly important and needs to be limited. Web service delivery or aggregation into existing web sites can be enabled easily
  • 5.
     JAX-WS: ◦ Addresses advancedQoS requirements ◦ Support the WS-* set of protocols ◦ More secure & reliable  JAX-RS: ◦ Easier to write web applications ◦ Scalability ◦ Architectural simplicity
  • 6.
    SOAP: XML languagedefining a message architecture and message formats. WSDL: an XML language for defining interfaces syntactically.
  • 7.