IntelliJ IDEA 2024.3 Help

Web applications

The term Web application is usually applied to a hierarchical set of folders with HTML, JSP, JavaScript, and so on. These are 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

  1. Enable Web application development support to get the necessary libraries, the basic folder hierarchy, and the application descriptor.

  2. Populate the Web module: create the required Java classes, configure servlets, filters, listeners, and references.

  3. Configure the required static Web content resources.

  4. Configure Web application deployment.

  5. Deploy and run the application.

Last modified: 09 August 2024