Web applications
In this section:
Introduction
The term Web application is usually applied to a hierarchical set of folders with HTML, JSP, JavaScript, and so on. files and resources, that represent the user interface, and Java classes that implement the application functionality. These folders are arranged according to the standard specified for the server where the application is deployed and executed. To ensure successful deployment and accessibility of your Web application, you need to set up its structure in accordance with the target server standard already at the development stage.
Next, most likely you will need to configure Web application elements, set initialization parameters, and define interaction with EJB, WebServices, and so on. You will need various libraries to configure these components and relations and an application descriptor that contains definitions of these components, settings, and constraints.
With IntelliJ IDEA, you can have the basic application structure automatically set up according to the required standard and get extensive coding assistance at all the stages of Web application development.
Developing Web applications
To develop a Web application in IntelliJ IDEA, perform the following general steps:
Enable Web application development support to get the necessary libraries, the basic folder hierarchy, and the application descriptor.
Populate the Web module: create the required Java classes, configure servlets, filters, listeners, and references.
Deploy and run the application.