With the JAVA6, still need Axis2, XFire, cxf? __java

Source: Internet
Author: User
Tags soap wsdl
First of all, I have used the above open source framework and JWS.   Looking at the previous series of Java6 JWs, it is clear that Java6 JWs is the easiest in terms of both development and deployment. We can not help but recall: with the JAVA6, still need Axis2, XFire, cxf it.   To answer this question, you need to compare the implementation of several JWS and other functions to make it clear.   1, JWS is an implementation of the Java language for WebService services, which is used to develop and publish services. From the point of view of service itself, there is no language limit for JWS service. But the Java language provides a way for Java developers to easily publish and invoke WebService services.   2, Axis2 is a heavyweight webservice framework under Apache, exactly it is a web services/soap/wsdl engine, is the WebService framework of the synthesizer, It can not only produce and publish WebService, but also generate Java and other language versions WebService client and server-side code. This is where it has an advantage. However, this inevitably led to the complexity of the AXIS2, the use of the developers know that it depends on the number and size of the package is very amazing, packaged deployment release is more cumbersome, not very good with the existing application integration. But if you want to develop a language client outside of Java, the rich tools provided by AXIS2 will be your choice.   3, Xfire is a high-performance WebService framework, before JAVA6, its popularity even more than Apache Axis2,xfire Advantage is the development of convenient, and the existing Web integration is good, can be integrated, and development is also very convenient. However, there are no related code tools available for languages other than Java. Xfire later was acquired by Apache, because it is too good, after the acquisition, with the rise of Java6 JWs, open source WebService engine has no longer been bullish, gradually have been down.   4, CXF is a heavy SOA simple framework for Apache, which implements the ESB (Enterprise service Bus). The CXF came from the Xfire project, which was transformed and formed, just as the current Struts2 came from WebWork. It can be seen that the fate of Xfire and WebWork fate, will eventually fade out of sight. CXF is not only an excellent web services/soap/wsdl engine, but also a good ESB bus, providing a choice for SOA implementation, of course he is not the best, it only implements part of the SOA architecture.   Based on the above understanding, we can learn that, although there are Java6, but we can also choose Axis2, XFire, CXF and so on. We cannot expect to have JAVA6 JWS to implement SOA in a whimsical way. If you want to interact with other languages, maybe we still depend on Axis2 and so on, which, of course, is not the only option, but a choice. Also, at present many enterprise's application still is based on Java5, and the JAVA5 project does not have the instantaneous upgrade to the JAVA6, if wants to expand in the old project, we also depend on other open source WS engine.

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.