About this task
Step 4 towards the goal:
Implementing JAX-RS web applications
Procedure
After you develop the Java class
files for your JAX-RS web application and edit the web.xml file to
enable the JAX-RS servlet, you are ready to assemble the application.
Assemble the web application into a web application archive (WAR)
package. You can assemble the WAR package into an enterprise archive
(EAR) package, if required.