Web services basics
By: Saravanan D. Rao in EJB Tutorials on 2008-09-18
Web services technologies provide a language-neutral, environment-neutral programming model that accelerates application integration inside and outside the enterprise.
A Web service is an interface that describes a collection of operations that are network-accessible through standardized XML messaging.
A Web service performs a specific task or a set of tasks and services and is described using a standard, formal XML notation, called its service description, which provides all of the details necessary to interact with the service, including message formats (that detail the operations), transport protocols, and location.
Web service descriptions are expressed in WSDL.
Advantages of web services
- Interoperability among distributed applications that
span diverse hardware and software platforms - Easy, widespread access to applications through
firewalls using Web protocols - A cross-platform, cross-language data model (XML)
that facilitates developing heterogeneous distributed
applications - Use of Standard protocols and specification enables
integration with Other Messaging Systems, Legacy
Systems, etc - Seamless Integration of B2B applications
Web Service Components
1. SOAP - Message Protocol
SOAP provides a simple and lightweight mechanism for exchanging structured and typed information between peers in a decentralized, distributed environment using XML
2. WSDL - Service Description
Web Services Description Language (WSDL) is an XML format for describing Web services. WSDL enables one to separate the description of the abstract functionality offered by a service from concrete details of a service description such as "how" and "where" that functionality is offered.
3. UDDI - Service Registry
The Universal Description, Discovery and Integration (UDDI) specification defines a standard way to describe a Web service; register a Web service in a well-known registry; and discover other registered Web services.
Technologies Used in J2EE
1. JAX-RPC
The Java API for XML-based RPC (JAX-RPC) is a Sun Microsystems specification that defines the client API for invoking a Web service
2. JAXR
The Java API for XML-Registries defines how to publish a Web service in a registry such as a UDDI or ebXML registry, or search a registry for a Web service
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Most Viewed Articles (in EJB ) |
Latest Articles (in EJB) |
Comments