Web services Framework development and Rest service development

Source: Internet
Author: User
Tags soap wsdl

First, the current popular WebService framework introduced:

①apache Axis2

Apache Axis2 is more efficient, more modular and more XML-oriented than Apache AXIS1, enabling easy plugin modules to extend new features and features, such as security and reliability. Apache Axis2 is based on Apache AXIOM, which is a high performance, pull-based XML object model. Key features of Apache Axis2:

L Parse XML faster. Use your own object model and Stax (streaming API for XML).

l Lower memory consumption.

L Support Hot deployment. New services are added to the system without restarting the service.

L Support Asynchronous WebService,

L more flexible. The engine provides developers with ample freedom to expand customer header information processing, System management,

L more stability.

L support WSDL1.1, WSDL2.0.

L Easy integration of other components (add-ons). Several Web services have been integrated, including: wss4j for Security (Apache Rampart), Sandesha for reliable messaging, kandula which are an Encapsula tion of ws-coordination, ws-atomictransaction and ws-businessactivity.

L Good Extensibility.

②apache Axis2

Apache CXF is an open source service framework. Apache CXF = Celtix + Xfire,apache CXF, formerly known as Apache Celtixfire, has now been formally renamed Apache CXF, hereinafter referred to as CXF. CXF inherits the essence of the Celtix and Xfire two open source projects, such as Jax-WS and JAX-RS, and the main features include:

L Support Web services standards. Includes: SOAP, the WSI Basic profile, WSDL, ws-addressing, Ws-policy, ws-reliablemessaging, Ws-security, Ws-secureconversation and Ws-securitypolicy.

L support Different types of front-end development models . CXF implements JAX-WS APIs to support JAX-RS development.

L easy to use. CXF design is simple and intuitive, with simple APIs to quickly build code-based services, MAVEN plug-ins make tool integration easier, JAX-WS API support, and Spring 2.x XML make configuration easier.

L support binary and legacy protocols. CXF is designed as a pluggable architecture that supports not only XML but also non-XML type bindings, such as JSON and CORBA, in combination with different transport protocols.

③apache Axis2

Dubbo is the Alibaba Open source distributed service framework, and its biggest feature is the layered approach to architecting, which allows for decoupling (or maximum coupling) between layers.

Second, the concept of introduction

①,Web service , also known as XML Web service WebService, is a lightweight, independent communication technology that can receive requests passed from the Internet or other systems on the intranet. is: Software services provided through SOAP on the web, described using WSDL files, and registered through UDDI.

IiSOAP Protocol: Simple Object Access Protocol,The Simple Object Access Protocol is a protocol specification for exchanging data and is a lightweight, simple,XMLthe protocol, it was designed toThe exchange of structured and solidified information on the web. Soapas aWebService three-factor soap,Wsdl,UuidOne,Soap is used to describe the format of passing information, which is used to describe how to access specific interfaces, UDDI for managing, distributing, and querying webservice. SOAP can and many of the existingInternet Protocolin combination with the format, includingHypertextTransport Protocol(HTTP),Simple Mail Transfer Protocol(SMTP),Multi-purpose Internet Mail Expansion protocol(MIME). It also supports themessageSystem toRemote Procedure Call(RPC) and a large number ofApplication. SOAP uses XML-basedData Structureand theHypertextTransport Protocol(HTTP) defines a standard method for using a variety of different operating environments on the InternetDistributed Objects.

 ③, jax-ws specification is a set of XML Web services java API Jax-WS allows developers to choose rpc-oriented or message-oriented to implement their own web services.

in Jax-WS, a remote call can be converted to a protocol based on XML such as SOAP, in the process of using JAX-WS, Developers do not need to write any code that generates and processes SOAP messages. The JAX-WS runtime implementation translates calls from these APIs into corresponding SOAP messages. server end, the user only need to pass java language Defines the interface to be implemented by a remote call sei ( service endpoint interface) and provides related implementations that can be published as WebService interfaces by invoking the Jax-WS service Publishing interface. at the client, the user can pass the JAX-WS API creates a proxy (using local objects instead of remote Of course Jax-WS also provides a set of API calls that operate on underlying messages, which you can dispatch Send requests directly using SOAP messages or XML messages, or use provider to process SOAP or XML messages.

with the interoperability environment provided by the Web service, we can easily interoperate with Jax-WS with other programming environments (. NET, etc.).

Three

Web services Framework development and Rest service development

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.