Comparison of several Java-based WebService writes

Source: Internet
Author: User

Java6, axis2, xfire, cxf


1. JWS is an implementation of the WebService in Java language and is used to develop and release services. From the perspective of the service itself, the JWS service has no language boundaries. However, the Java language provides a way for Java developers to conveniently publish and call WebService services. 2. axis2 is a heavyweight WebService framework under Apache. To be precise, axis2 is a Web Services/soap/WSDL engine and a builder of the WebService framework, it can not only create and publish WebService, but also generate Java and other language versions of WebService client and server code. This is its advantage. However, this inevitably leads to the complexity of axis2. All the developers who have used it know that the number and size of packages it depends on are amazing, and it is troublesome to package, deploy, and release, cannot integrate well with existing applications. However, if you want to develop clients in other languages than Java, axis2 provides a wide range of tools that you can choose from. 3. xfire is a high-performance WebService framework. Before Java 6, xfire was even better known than Apache axis2. xfire has the advantage of convenient development and good integration with the existing web, it can be integrated and easy to develop. However, relevant code tools are not provided for languages other than Java. Xfire was later acquired by Apache because it was too good. After the acquisition, with the rise of Java 6 JWS, open-source WebService engines were no longer favored and gradually lost. 4. cxf is a simple SOA framework under the Apache flag. It implements ESB (Enterprise Service Bus ). Cxf comes from the xfire project and is transformed to form, just like the current struts2 comes from webwork. We can see that the fate of xfire will be the same as that of webwork, and will eventually fade out of sight. Cxf is not only a good web services/soap/WSDL engine, but also a good ESB bus. It provides a solution for SOA implementation. Of course, it is not the best, it only implements Part of the SOA architecture.

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.