RESTful web services
AppCode provides support for developing, debugging, and testing of Java web services that comply to the representational state transfer (REST) architectural pattern. This includes various assistance features for the following:
Since REST is an architectural pattern, there is no definite workflow to develop RESTful web services. This section outlines some common approaches to developing REST applications in AppCode.
Developing RESTful web services
Make sure to enable the Jakarta EE: RESTful Web Services (JAX-RS) bundled plugin and either create a new Jakarta EE project or module, or enable the RESTful web services development support for an existing module.
Create the necessary classes and methods in the RESTful web service module.
Configure the artifacts to deploy.
Create a run configuration. On the Deployment tab, specify the artifacts to deploy.
Deploy the web service to an HTTP server and start the server.
Run the application locally or on a remote host.
Test the RESTful web service using the built-in HTTP client.