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.

Related Posts

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

Payara promotional graphic showing transition from Spring to Jakarta EE, including technology logos, a code icon and arrows leading from Spring to Jakarta EE. 6 minutes
Jakarta EE

From Spring Boot To Jakarta EE 11: How Payara Starter Eases The Transition

If you’ve been living in the Spring ecosystem, you’re used to fast project setup. Spring Initializr gives you a […]

Promotional graphic for a podcast episode titled “Why Open Source is the Future of Business Innovation - A conversation with Arun Gupta”. The podcast is hosted by Payara Community. The right side features a photo of the speaker, Arun Gupta, labeled as a “VP, Developer Experience at JetBrains”. The design uses dark blue and teal backgrounds with coral and fish illustrations. 2 minutes
Community

Payara Podcast – Why Open Source is the Future of Business Innovation – A Conversation with Arun Gupta

Open source is no longer a developer-only concern — it’s at the heart of how modern businesses innovate, build […]