Performance comparison of several popular WebService frameworks.

Source: Internet
Author: User
Tags comparison soap object model wsdl

HTTP://BLOG.CSDN.NET/THUNDER4393/ARTICLE/DETAILS/5787121 WebService Framework test SOAP Apache Server

Directory (?) [+] Summary Framework introduction Apache AXIS1 Apache AXIS2 codehaus XFire Apache CXF Test Preparation Performance test method test Results Analysis Conclusion

Performance Comparison of several popular webservice frames 1 Summary

The development of webservice applications can not be separated from the framework of support, when the OPEN-OPEN site enumerated more than 30 kinds of, this for developers how to choose to bring some doubts. Performance webservice of the key elements, different framework performance has a large difference, and currently on the official website, web materials can be easily found in the respective framework of the introduction, but few for different framework performance test data. This article chooses the comparison popular several frames: Apache Axis1, Apache Axis2, Codehaus XFire, Apache CXF, and so on, using Java as the test case, through both the native and the remote test way, these kinds of frameworks carry on the performance test, The analysis of test results and performance comparison, and the performance of the framework is recommended.

Keywords: Axis1, Axis2, XFire, CXF, Spring, SOAP, StAX, WSDL 2 Framework Introduction 2.1 Apache Axis1

Axis is essentially a soap engine (Apache Axis is a implementation of the soap), providing the basic framework for creating server-side, client-end, and gateway SOAP operations. But axis is not exactly a soap engine, it also includes:

L is a stand-alone SOAP server.

L is a server that embeds a servlet engine (such as Tomcat).

L Support WSDL.

L provide tools to convert WSDL into Java class.

L provide an example program.

L provides TCP/IP packet monitoring tools. 2.2 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 MEP support, flexible support for message Exchange Patterns defined in WSDL 2.0 (MEPs)

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

L more stability.

The transport framework does not rely on specific protocols. For integration and transport protocols (SMTP, FTP, message-oriented middleware, etc) there is a simple and abstract, engine core is completely independent of the specific transport protocol.

L Support WSDL. 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. 2.3 Codehaus XFire

The Xfire core is a lightweight, Stax-based message processing model that interacts with SOAP messages, supporting different types of binding mechanisms, containers, and transport protocols.

Supports WebService standards-SOAP, WSDL, WS-I Basic profile, ws-addressing, ws-security, etc.

L High Performance Soap STACK

L Pluggable Bindings POJOs, XMLBeans, JAXB 1.1, JAXB 2.0, and Castor support

L Use the JSR 181 API Configuration service through Java1.5 and 1.4 (Commons attributes JSR Syntax 181)

L support multi-medium Transfer Protocol-HTTP, JMS, XMPP, IN-JVM, etc.

L Embeddable and Intuitive APIs

L support Spring, Pico, Plexus, and loom

L Support JBI

L Client and server stub code generation

L Support JAX-ws early Access 2.4 Apache CXF

Apache CXF is an open source service framework. CXF can be used in front-end programming APIs development services, such as: Jax-ws and Jax-rs, 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. 3 Test Preparation

Table 1 Testing the basic elements

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.