Web Service Section content Brief (1)

Source: Internet
Author: User
Tags soap

1. What is Web services (Web service)
WB Service is a development model that can be used to solve the problem of cross-network application integration, is a network-based, distributed modular component that performs specific tasks to comply with specific technical specifications that enable the Web service to interoperate with the other most tolerant components. Several key principles to be grasped when designing Web services: Loosely coupled, well-defined interfaces, appropriate granularity, and the three roles of the Web services architecture: Service providers, service agents, service users
2. What are the advantages of WEB services?

1) Encapsulation:

A Web service is a component that is deployed on a Web application and is well encapsulated. To the user, only see the service description, and the specific implementation of the service, running platform is through the month, the caller does not need to care, and can not care. Web services serve as a whole

2) loose coupling:

When the implementation of a Web service changes, the caller is unable to feel the change. As far as the caller is concerned, as long as the interfaces implemented by the service do not change, the specific implementation changes completely transparently.

Use standard protocols:

All public protocols for Web services are described in the standard protocol and are identical. Transfer and exchange. These standard protocols are on various platforms

3) ability to integrate highly:

Because Web services use a simple, easy-to-understand standard Web protocol as a communication protocol, the difference between different platforms is completely shielded.
, either CORBA, DOM, or EJB, can interoperate through this standard protocol to achieve the highest possible integration of the system.

4) a high degree of openness:  

Web services can interact with other Web services, have language and peace tables, support various component standards such as corba,ejb,dcom, and support a variety of communication protocols such as HTTP, SMTP, and RMI.

3. How does the XFIRE framework create and publish Web services?

I) Add the Xfire library.
2) Add Xfire-1.2.6.jar Package
3) Create a service interface and implementation class
4) Configure the Web. XML with the Services.xml file
5) Publishing Web Services
6) Create a client program to access the Web service

4. How does the XFIRE framework invoke Web services?
1) Create a service interface template
2) Create an agent factory
3) Define Web service address
4) Return service class based on interface template and Web service address
5) Depending on the calling method and returning the result
5, the WEB SERVICE noun explanation. Introduction to the JSWDL Development kit. Explanation of JAXP, JAX m. SOAP, uddi,wsdl interpretation.
  Web Service is a network-based, distributed, modular component that performs specific tasks in compliance with specific technical specifications that enable WEB service to interoperate with other compatible components.
  JAXP (Java API for XML parsing) defines a common interface for using DOM,SAX,XSLT in Java. So in your program you just use these generic interfaces, and you don't need to modify the code when you need to change the specific implementation.

  JAXM (Java API for XML Messaging) is an API that provides access methods and transport mechanisms for soap communication.

  WSD L is an XML format used to describe a network service as a set of endpoints that operate on messages that contain document-oriented information or process-oriented information. This format first abstracts operations and messages, and then binds them to specific network protocols and message formats to define endpoints. The associated specific endpoints are combined into abstract endpoints (services).

  SOAP is a Simple Object Access Protocol (PROTOCOL), which is a lightweight protocol for exchanging XML encoded information.

  The purpose of UDDI is to establish standards for e-commerce : UDDI is a web-based, distributed, Web service-provided implementation standard specification for information registries, as well as a set of Web-enabled enterprises to provide themselves Service registration to enable other enterprises to discover the implementation criteria of the Access Protocol.

Web Service Section content Brief (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.