After you develop the Java class files for your Java API for RESTful Web Services (JAX-RS) web application and edit the web.xml file to enable the JAX-RS servlet, you must assemble the application.
Identify the assembly tool to use to assemble your application. The web application is assembled into a web application archive (WAR) package. You can assemble the WAR package into an enterprise archive (EAR) package if required.
Before assembling the web application, ensure that you have customized the web.xml file to enable the JAX-RS servlet or filter configuration. To learn more, see the information about configuring the web.xml file for the JAX-RS application.
Deploy the web application.