Pages

Tuesday 13 November 2012

Apache Axis2 VS Apache CXF

I worked on both engine ,such as Apache Axis2 and Apache CXF; both are very powerful product and provide standards for web services.
Apache Axis and Apache CXF both are similar, they have minor differences. There something that can do through CXF easily but in Apache axis2 can’t do easily and vice versa.

In the Performance side, they both perform very well. In Axis2, ADB binding is bit faster than CXF Service, If we use the WS-Security, then CXF is faster than Axis2.
If you are looking the performance in more details b/w CXF vs Axis then you can refer this site

There are some features and differences in Axis2 and CXF;
Apache Axis2 :
  • Apache License 2.0
  • Axis2 support Code First and Contract First service.
  • Axis2 supports multiple language like C,C++ and java
  • Axis2 supports a wide range of data bindings, including Jaxb, JaxME, JaxBRI, XML Beans and ADB (Axis Data Binding).
  • Axis2 is less compatible with Spring Framework .
  • Axis2 supports limited WS-* compliances.
  • Rampart is the Axis2 security module, supporting WS-Security, WS-SecurityPolicy, WS-SecureConversation, and WS-Trust. Apache Rampart is implemented as pair of modules like rampart.mar and rahas.mar. Also, Rampart uses WSS4J to perform the core WS-Security functionality, and provides extended security functionality.
  • Apache Axis2 provides WS-RM functionality by using Apache Sandesha2 ,It is provide the WS-RM Implementation.
  • Axis2 does not have better support of OSGI Framework.
Apache CXF :
  • Apache License 2.0
  • Apache CXF support Code First and Contract first web service.
  • Apache CXF support Java
  • Apache CXF supports limited bindings like JAXB, Aegis, XMLBeans, JiBX and Castor
  • Apache CXF has better integration with spring framework
  • Apache CXF supports WS-Addressing, WS-Policy, WS-RM, WS-Security, and WS-I BasicProfile,WS-SecurityPolicy, WS-SecureConverstation, and WS-Trust (partial).
  • Apache CXF uses WSS4J to perform WS-Security. WSS4J provides an implementation of the WS-Security standards like soap message security, X.509 certification token profile, SAML token profile, Kerberos token profile and basic security profile.
  • Apache CXF provide the WS-RM implementation.
  • Apache CXF provide better support of OSGI Framework

No comments:

Post a Comment