To use the run-as feature to publish your application to the server your project needs to have an implementation class annotated with the @Path, that is packaged with a servlet specified in the web.xml deployment descriptor.
To use run-as with your project:
Navigate to the Implementation Class, right-click and choose Run-as >Run On Server. This publishes the application to the server. Upon successful deployment, the Browser is launched with a url specified to target the application.wadl that corresponds to this packaged resource.
The targeted browser can be controlled by selecting from Eclipse Workbench: Window>Preferences>General>Web Browser.
Note: Advanced packaging through the application subclass is not supported, as well as the. @Path REST resources specified on super types.