Introduction to web services:
TUTIORALS FROM MADHAV:
1.What are web services?
2.Types of web servicesa
What are web services?
- Web services are client and server applications that communicate over the World Wide Web (WWW) hyper text transfer protocol (HTTP)
- As described by the www consortium (W3C), web services provide a standard means of interoperating between software applications running on a variety of platform and frameworks.
- Web services are characterized by great interoperability and extensibility, as well as the machine-process able descriptions,
- Web services can be combined in a loosely coupled way to achieve complex operations.
- Programs providing simple services can interactive with each other to deliver sophisticated added value services.
Types of web services:
The two types:
1.big web services
2.restful web services.
- In java, jax-ws provides the functionally for big web services.
- Big web services use XML messages that follow the simple object access protocol (SOAP) standard, an xml language defining a message architecture and message formats.
- Such systems often contain a machine-readable description of the operations offered by the service, written in the web services description language (WSDL),and xml language for defining interfaces syntactically.
- The soap message format and the WSDL interface definition language have gained widespread adoption.
- Many development tools, such as netbeans IDE, can reduce the complexity of developing web service applications.
- A SOAP –based design must include the following elements.
- A format contract must be established to describe the interface that the web service offers.
- WSDL can be used to describe the details of the contract, which may include messages,Operations, bindings, and the location of the web services
- In java EE6 ,JAX-RS provides the functionality for representational state transfer(restful) web services.
-
Rest
is well suited for basic, ad hoc integration scenarios.
TUTIORALS FROM MADHAV:
Related topics:
-
2. Restfulwebservice java, jquery, json,ajax example
3. Structr2 hibernate 3 integration example program
4. springmvc spring provided hibernate example
5. struct 2 spring dao
6. struts 2hibernate integration example
7. Jquery autocomplete from database restful webservice json,ajax