Current location - Health Preservation Learning Network - Slimming men and women - Java webservice, what is a webservice?
Java webservice, what is a webservice?
We use cxf to realize webService in the project, and there are three ways to realize webService.

Axis2——Xfire——cxf

Why use cxf to implement webService? I know that cxf is an upgraded version of xfire, which is suitable for the java language.

The performance of xfire/cxf is higher than that of axis2, which is convenient for integration with spring. Axis2 supports more languages, but its performance is lower than cxf, so cxf is adopted to realize data transfer between two projects. In order to ensure the security of webservice, we adopt security verification based on WS-Security standard (using CXF callback function).