IntelliJ IDEA 14.0.0 Web Help

RESTful WebServices

IntelliJ IDEA lets you develop, debug and test RESTful Web Services. The JSR-311 specification version 1.0 and the Jersey reference implementation are supported.

Because RESTful Web services can be of various types, there is no definite workflow to develop them. In this section we will outline some specific tasks that can be performed when developing a REST application in IntelliJ IDEA.

To develop a RESTful Web service

  • Make sure that the RESTful Web Services plugin is enabled. Create a new project or module for the service development, or enable the RESTful Web Services development support for an existing module. For more information, see Preparing for REST Development.
  • Populate the RESTful Web service module with the necessary classes and methods, possibly using the generated sample class.
  • Configure the artifacts to deploy.
  • Create a run configuration. On the Deployment tab, specify the artifacts to deploy.
  • Deploy the Web service on an HTTP server and start the server.
  • Run the application locally or on a remote host.
  • Test the RESTful Web service.

See Also

Last modified: 12 November 2014
comments powered by Disqus