Web service is a technology to communicate one programming
language with another.
Services that can be accessed over network are called web
Types of Web Services - "big" and "RESTful"
Web services are meant for applications to access data in the
format of XML, JSON etc
Web services use SOAP, REST (almost all times run on HTTP/HTTPS
Web services are reusable (single web service can be used by
different kinds of applications)
Web services are stateless
SOAP stands for Simple Object Access Protocol
SOAP is an XML based industry standard protocol for designing and
developing web services. It's platform and language independent. So
server can be based on JAVA and client can be on .NET, PHP etc. and
REST is an architectural style for developing web services,
simple, quickly develope and uniquely identified by their URIs
Java provides SOAP - JAX-WS and REST - JAX-RS API to create web
These technologies include Java API for XML Web Services (JAX-WS)
and Java API for RESTful Web Services (JAX-RS).
On a technical level, web services can be implemented in various