Apache CXF

Apache CXF is one of the powerful and popular services engines in the java space because it implements the JaxWS, JAXB and jaxRS standard. So using Apache cxf we can develop both the webservices providers and web services consumers for both soap as well as restful webservices 

CXF comes with a soap and rest engine which at a minimum does two things:

  1. It serializes the xml or json or any other formatted messages requests and responses into Java objects and from Java objects to XML or json. 
  2. It dispatches the incoming requests to the appropriate web service end point. 

Apache CXF implements almost all the Web services standards out there like wssecurity, WS transaction management,ws policy, etc.

CXF also give us plugins for ant and maven build tools, so we can include this wsdl to Java as an task or maven plugin so that we can build our stubs automatically.

And it is also easy to extend and customize cxf using the interceptors or handlers jax-ws handlers if we have to do anything custom for our application which CXF doesn't have.

Apache CXF makes it super easy to create web service applications by supporting the use of spring boot.

Referencias

Comentarios