You will need a web browser to view your web application. For more information about the compatibility between other Tomcat, Java, and Jakarta EE versions, see. This tutorial uses JDK 17, Jakarta EE 10, and Tomcat 10.1. The Tomcat application server version 7 or later. For more information about the compatibility between other GlassFish, Java, and Jakarta EE versions, see. This tutorial uses Oracle OpenJDK 17, Jakarta EE 9.1, and GlassFish 6.2.5. The Web Profile subset should be enough for the purposes of this tutorial. You can get the latest release from the official repository. The GlassFish application server version 4.0 or later. You can get the JDK directly from IntelliJ IDEA as described in Java Development Kit (JDK) or download and install it manually, for example: Oracle JDK or OpenJDK. Java SE Development Kit (JDK) version 1.8 or later Jakarta EE: RESTful Web Services (JAX-RS)įor more information, see Install plugins. If something does not work, make sure that the following plugins are enabled: For more information, see IntelliJ IDEA Ultimate vs IntelliJ IDEA Community Edition Relevant bundled pluginsīy default, all necessary plugins are bundled and enabled in IntelliJ IDEA Ultimate. Java Enterprise development is not supported in the free IntelliJ IDEA Community Edition. Here is what you will need: IntelliJ IDEA Ultimate You will create a new Java Enterprise project, add the necessary Java code, tell IntelliJ IDEA where your GlassFish Tomcat server is located, then use a run configuration to build the artifact, start the server, and deploy the artifact to it. Use the switcher at the top of this page for instructions for a different application server. The service will output Hello, World! when you access a specific URL through the web browser or otherwise send a GET request to this URL. This tutorial describes how to create a simple RESTful web service in IntelliJ IDEA and deploy it to the GlassFish Tomcat application server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |