Web services
IntelliJ IDEA supports the development, packaging, and deployment of web services according to the following standards:
Install the Jakarta EE: WebServices (JAX-WS) plugin
This functionality relies on the Jakarta EE: WebServices (JAX-WS) plugin, which you need to install and enable.
Press Ctrl+Alt+S to open settings and then select
.Open the Marketplace tab, find the Jakarta EE: WebServices (JAX-WS) plugin, and click Install (restart the IDE if prompted).
IntelliJ IDEA provides the following development and packaging features:
Setting up the relevant module structure and downloading all the necessary resources based on the dedicated web services facet you specify.
Generating the necessary deployment descriptors, mapping and manifest files.
Packaging the web service files, with the EAR file structure following the rules defined by the Enterprise Web Services 1.1 specification.
Develop a web service with IntelliJ IDEA
In a Java module, enable support of the relevant web service.
Populate the module with the necessary classes and methods.
Compile the developed classes and expose them as a web service.
Configure the artifacts to deploy.
Create a run configuration specifying the list of artifacts to deploy, each with the corresponding application context.
Run the application.
View and manage deployed web services in the Deployment console of the Run tool window.