Completing the JavaBeans implementation for JAX-WS applications
After we have developed the Java artifacts necessary to develop a JAX-WS web service, we must complete the JavaBeans implementation to assemble a web application archive (WAR) file. The resulting WAR file contains the JavaBeans implementation and the supported classes created from the tooling.
Generate Java artifacts for JAX-WS applications and optionally generate a WSDL file using the wsgen command-line tool. We can also optionally use deployment descriptors to augment or override binding information contained in annotations for JAX-WS web services.
For JAX-WS applications, complete the JavaBeans implementation by writing the business application.
Tasks
- Write the JavaBeans implementation. The JavaBeans implementation is not generated by JAX-WS tooling.
- Compile all the Java classes.
We have now written your JavaBeans implementation to complete the web service application.
What to do next
After completing the JavaBeans implementation, assemble the web services application.
Implement web services applications with JAX-WS Implement web services applications from existing WSDL files with JAX-WS Generate Java artifacts for JAX-WS applications Assembling web services applications Assembling a WAR file enabled for web services from Java code wsimport command for JAX-WS applications wsgen command for JAX-WS applications