+

Search Tips   |   Advanced Search

Complete the EJB implementation for JAX-WS applications

After we have developed the Java artifacts necessary to develop a JAX-WS web service, you 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.

  1. Write the enterprise beans implementation. The enterprise beans implementation is not generated by JAX-WS tooling.

  2. Compile all the Java classes.


Results

You have now written the enterprise beans implementation to complete the web service application.


What to do next

After completing the enterprise beans implementation, assemble the web services application.


Related tasks

  • Implement web services applications with JAX-WS
  • Implement web services applications from existing WSDL files with JAX-WS
  • Generating Java artifacts for JAX-WS applications
  • Assembling web services applications
  • Assembling a JAR file that is enabled for web services from an enterprise bean

  • wsimport command for JAX-WS applications
  • wsgen command for JAX-WS applications