Completing the EJB implementation for JAX-WS applications

After you have developed the Java™ artifacts necessary to develop a Java API for XML-Based Web Services (JAX-WS) web service, you must complete the Enterprise JavaBeans (EJB) implementation to assemble a Java archive (JAR) file. The resulting JAR file contains the Enterprise JavaBeans implementation and the supported classes created from the tooling.

Before you begin

Generate Java artifacts for JAX-WS applications and optionally generate a WSDL file using the wsgen command-line tool. You can also optionally use deployment descriptors to augment or override binding information contained in annotations for JAX-WS web services.

About this task

For JAX-WS applications, complete the enterprise beans implementation by writing your business application.

Procedure

  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 your enterprise beans implementation to complete your web service application.

What to do next

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