Library Link To Toggle Frames Print Feedback

Chapter 6. Publishing a Service

Summary

When you want to deploy a JAX-WS service as a standalone Java application, you need to write a server mainline. This mainline publishes an endpoint for your service.

Table of Contents

Generating a Server Mainline
Writing a Server Mainline

Celtix Enterprise provides a number of ways to deploy services. How you publish a service depends on the deployment environment you are using. If you are deploying your service into one of the containers supported by Celtix Enterprise you do not need to write any additional code to publish your service. However, if you are going to deploy your service as a stand-alone Java application, you will need to write a main() that publishes the implementation as a running endpoint.