Creating a Remote Service
Developing a GWT service requires creating synchronous and asynchronous interfaces as well as server implementation with the correct names and structure. Also they should be registered in the .xml module descriptor. IntelliJ IDEA can generate all the required parts automatically.
To generate a remote service
In the Project view, right-click the client package.
From the context menu, select.
Specify the name for the service and click OK.