Show Table of Contents
Chapter 29. Publishing a Service
Abstract
When you want to deploy a JAX-WS service as a standalone Java application, you must explicitly implement the code that publishes the service provider.
29.1. When to Publish a Service
Apache CXF provides a number of ways to publish a service as a service provider. How you publish a service depends on the deployment environment you are using. Many of the containers supported by Apache CXF do not require writing logic for publishing endpoints. There are two exceptions:
- deploying a server as a standalone Java application
- deploying a server into an OSGi container without Blueprint
For detailed information in deploying applications into the supported containers see Part IV, “Configuring Web Service Endpoints”.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.