Create a Jakarta EE 8 Web App with Payara Server and Your Favorite IDE

Jakarta EE

 

Payara Server works well with most IDEs, including four of the most commonly used IDEs for Jakarta EE developers: NetBeans, Eclipse IDE, IntelliJ IDEA Ultimate, and Visual Studio Code. Here’s how to use each of the IDEs to create a Jakarta EE 8 Web App with Payara Server:

NetBeans

NetBeans has a project wizard that allows you to create a Java EE 8 application. (Learn how to use NetBeans with Payara Server here). Using that same wizard, you can select Payara Server as the runtime for your application and download and install a Payara Server installation directly from this wizard.

NetBeans also uses the Maven or Gradle build tool, so your application can be built outside the IDE (such as using your CI tool) as that is considered best practice.

Once the project is created and all build tools files are in place, you can immediately start your program and test it out.

{{cta(‘fbb24223-019a-4caf-b0ee-c733301351b5’)}}

Eclipse IDE

Eclipse IDE relies on the Maven Archetype you specify to create a Maven project that is immediately imported into the IDE itself. There are several archetypes available on Maven central, each having some additional initial code and some already include the MicroProfile dependencies that are also supported by Payara Server. (Learn how to create a Jakarta EE application using the Payara Server plugin on the Eclipse IDE here).

Once the project is created, you can run it on Payara Server using the plugin. The plugin allows you to start and stop the application, and also lets you look at the logging and the domain configuration file.

{{cta(‘c642a5fa-1b03-4be0-8313-d12b640cdc35’)}}

IntelliJ IDEA Ultimate

IntelliJ IDEA provides great tooling for developing with Payara Server. (Learn how to create a simple web application that runs on Payara Server with IntelliJ IDEA). By default, IntelliJ IDEA Ultimate comes with the GlassFish plugin installed and enabled which can be used to start, stop and debug Payara Server along with other server functionality. IntelliJ IDEA also includes the Payara Platform Tools plugin, which provides all the features available in the GlassFish plugin, plus additional tooling features available in Payara – like the Hot Deploy functionality. 

IntelliJ IDEA Ultimate has many advanced features that makes development much easier for a Jakarta EE developer and many tools built-in so you don’t need to leave your IDE. 

{{cta(‘b1581d86-a77a-469c-b4d9-e8564b5289ae’)}}

Visual Studio Code

We have created a specific plugin for Payara products that can be used with the IDE. Once the plugin is added to the IDE, you can configure the Payara Server from the plugin so you can run the application directly from within the IDE.(Learn how tocreate a Jakarta EE application with Visual Studio Code using the plugin for the Payara Server here).

You can create a Maven project so that you can also build it outside the IDE, such as in your CI environment, so you can automate your deployments.

{{cta(‘b199ba36-97b9-42d1-82b9-bcdfcbf964cb’)}}

We will create a Maven project so that you can also build it outside the IDE, such as in your CI environment, so you can automate your deployments.

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Blog 15 Step Journey 4 minutes
Jakarta EE

Building a Modern Enterprise App with Payara: A 15-Step Journey 

Learning Jakarta EE can sometimes feel like solving a puzzle. You have JPA, CDI, REST, Security, and Docker... but how do they all fit together in a real-world scenario? 

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 8 minutes
Jakarta EE

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 

Jakarta EE applications can take anywhere from several seconds to over a minute to start, depending on their size […]

Stacked copies of the Payara developer guide “Zero Trust Architecture with Jakarta EE and MicroProfile” on an orange background, showing the dark blue cover design with the Payara logo and a laptop illustration featuring a shield and padlock icon. 4 minutes
Jakarta EE

Implementing Zero Trust Security with Jakarta EE: A Practical Guide

Zero Trust security has moved from buzzword to necessity. The principle is simple: never trust, always verify. But implementing […]