What is the advantage of developing a web service using Apache CXF over regular JAX-WS with Java6

Can any body appreciate the benefits of developing a JAX-WS webservice using apache CXF over the regular JAX-WS provided by Java 6.

+4
source share
3 answers

JAX-WS is just api / specification - you need an implementation to use it. It could be something like CXF, Axis, or one provided by the application server (JBoss, Weblogic et ..).

One of the benefits of using CXF is that you have more deployment flexibility. It can be deployed in a web container, or you can use the built-in web container and run it as a standalone application.

CXF also provides integration with other platforms such as spring.

It also provides schema / WSDL tools, etc.

+4
source

Apache CXF is an open source webservice platform that contains JAX-WE and JAX-RS, and also helps integrate with the spring infrastructure

CXF support

1) XML, JSON format

2) JAXB data binding

3) SAOP, REST, HTTP protocol binding

+1
source

I recently completed a web service implementation using JAX-WS using the apache-cxf reference implementation. And I found with CXF - Spring integration is very simple. In addition, it provides various functions, such as:

  • Configure Logging Features
  • Inbound and outbound interceptor
  • Application Level Security
  • Handling Easy Exception using custom error.

For more details, if you want, please view this link: http://predic8.com/axis2-cxf-jax-ws-comparison.htm

And, I read the link above, its usefulness to me.

Thanks!

0
source

Source: https://habr.com/ru/post/1483074/


All Articles