Important Information about Web Services in Java - PowerPoint PPT Presentation

About This Presentation
Title:

Important Information about Web Services in Java

Description:

Web services are a kind of service that can be accessed over network. To learn more about Web Services, find out java tutorial guides online. Visit – PowerPoint PPT presentation

Number of Views:28
Slides: 7
Provided by: SakshiGupta
Category:

less

Transcript and Presenter's Notes

Title: Important Information about Web Services in Java


1
Important Information about Web Services in Java
  • Web services are a kind of service that can be
    accessed over network.

2
Types of Web Services
Simple Object Access Protocol SOAP is an XML
based industry standard protocol to design and
develop web services.
Representational State Transfer- REST is an
architectural style to develop web services.
3
Differences in SOAP and REST
  • SOAP is a standard protocol whereas Rest is
    architectural style.
  • SOAP supports only XML format. REST supports XML,
    json and plain text etc.
  • SOAP is hard to maintain. REST is easy to
    maintain.
  • SOAP has its own security. Rest inherits its
    security from underlying transport layer.
  • SOAP uses Service interfaces to expose business
    logic. Rest uses URI to expose business logic.
  • SOAP requires more bandwidth. REST requires less
    bandwidth.
  • SOAP uses XML messages to exchange information.
    REST can use JSON also.
  • In SOAP, Client and Server are bind with WSDL
    contract. There is no contract in REST.

4
Java Web Services
Java provides its own API for creating both SOAP
as well as REST web services.
  • JAX-WS JAX-WS stands for Java API for XML Web
    Services. It is XML based Java API for building
    web services server and client application.
  • JAX-RS Java API for RESTful Web Services
    (JAX-RS) is the Java API to create REST web
    services. It uses annotations for simplifying the
    development and deployment of web services.

5
Why to Learn Web Services?
  • There are many reasons for this. Some of the
    primary reasons are

Enhanced Usability
Better Interoperability
Loosely Coupled
Ease of Integration
Deploy ability
6
To learn more about Web Services in java, find
out java tutorial guides online.
  • Thank You
Write a Comment
User Comments (0)
About PowerShow.com