||
Skip to end of metadata
Go to start of metadata

JAX-WS and JAX-RS services are supported in WSO2 AS by the Apache CXF framework as explained below. To enable this framework, the following feature should be installed in your product. 

Name: WSO2 Carbon - JAX-WS/JAX-RS Webapp Management Feature
Identifier: org.wso2.carbon.jaxws.webapp.mgt.feature.group

Note that this feature is enabled in WSO2 AS by default.

For information on how these services are implemented and deployed in AS, see the following topics: Developing JAX-WS servicesDeveloping JAX-RS services and Deploying Applications in AS.

CXF framework in WSO2 AS

CXF (http://cxf.apache.org) is an open source services framework for developing services using JAX-WS and JAX-RS (including other APIs). There are numerous benefits of using the Apache CXF framework for web service development. In addition to JAX-WS and JAX-RS, Apache CXF also supports Spring integration and a variety of web service specifications, including WS-Addressing, WS-Policy, WS-ReliableMessaging and WS-Security. It also comes with a business-friendly Apache license. 

WSO2 Application Server had the ability to host CXF-based applications in previously releases as well. However, because of the integration that now comes with this feature, there is more flexibility and you can use features of the Carbon platform within CXF applications. Further, this feature enables CXF users to directly deploy their web applications in a running Carbon instance in  a few easy steps. That is, you do not have to provide any CXF libraries since they are already provided by the WSO2 Carbon OSGi environment. The user only has to focus on the business logic of the applications while the Carbon platform takes care of deployment. 

In addition to the significant ease in hosting and managing, CXF-based applications deployed in a Carbon instance automatically inherits all the underlying capabilities of the platform. Some of them are listed below.

  • Ability to use the Carbon user store through CarbonContext.
  • Ability to use WSO2 Registry APIs through CarbonContext.
  • Fine-grained authorization through WSO2 Identity Server features.
  • All benefits inherited from OSGi.
  • User-friendly management console for web application management.
  • Hot-deployment and hot-update of CXF-based web applications.
  • No labels