Lao Li share: Web Services features 1

Source: Internet
Author: User

Poptest is the only training institute for developing Test and development engineers in China, aiming at the ability of the trainees to be competent in automated testing, performance testing and testing tools development. If you are interested in the course, please consult qq:908821478, call 010-84505200.

Web Service has the following special behavioral characteristics:

Based on XML

Web Service uses XML at the data presentation and data transfer tiers. Using XML avoids binding to any network, operating system, or platform. Web Service-based applications are highly interoperable at their core level.

Loose coupling

The consumer of a Web service is not bound directly to the Web service. The Web service interface can be changed at any time without impacting client and service interaction capabilities. A tightly coupled system means that the client and server logic are closely tied to each other, meaning that if one interface changes, others must update. Adopting a loosely coupled architecture makes software systems easier to manage and allows for simple integration between different systems.

Coarse grain size

Object-oriented technologies such as Java expose services through an individual approach. The meticulous operation of the individual approach brings about any useful capabilities available to the enterprise level. Building a Java program from scratch requires creating multiple fine-grained (fine-grained) methods and then combining them into a coarse-grained (coarse-grained) service that is invoked by the client or other service.
The interface that the business exposes should be coarse-grained. Web Service technology provides a natural way to define coarse-grained services to access the right amount of business logic.

Ability to synchronize or asynchronously

Synchronization (synchronicity) is the binding of the execution of the client and the service. When a synchronous call is made, the client is blocked, and it waits for the service to complete its operation before continuing to do other things. Asynchronous (asynchronous) operations allow the client to invoke a service and then perform other functional operations.
Asynchronous clients retrieve their execution results at a later point in time, and synchronous clients receive their execution results only after the service has completed. having asynchrony is a key element in supporting loosely coupled systems .

Remote Procedure Call (RPC) support

Web service allows clients to invoke procedures, functions, and methods on remote objects using XML-based protocols. The remote procedure exposes the input and output parameters that a Web service must support.
Component development using EJB and. NET components has increasingly become a part of enterprise architecture and deployment over the past few years. Both of these technologies are distributed and accessible through a variety of RPC mechanisms.
A Web service supports RPC by providing its own services, which is equivalent to traditional components, or by converting incoming calls into a call to an EJB or. NET component.

Support for document exchange

One of the main advantages of XML technology is its universal tagging, not just for data, but also for complex documents. These documents can be as simple as representing a current address, or as complex as representing an entire book or inquiry form (RFQ). Web Service supports transparent document exchange that facilitates business integration.

Lao Li share: Web Services features 1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.