Completing the EJB implementation for JAX-WS applications
After we have developed the Java artifacts necessary to develop a JAX-WS web service, we must complete the EJB implementation to assemble a JAR file. The resulting JAR file contains the Enterprise 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 enterprise beans implementation by writing the business application.
Tasks
- Write the enterprise beans implementation. The enterprise beans implementation is not generated by JAX-WS tooling.
- Compile all the Java classes.
We have now written your enterprise beans implementation to complete the web service application.
What to do next
After completing the enterprise beans 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 JAR file enabled for web services from an enterprise bean wsimport command for JAX-WS applications wsgen command for JAX-WS applications