Payara Micro Apache NetBeans IDE Support

Apache NetBeans has Payara Micro support built into the IDE, so there is no need to install a plugin to integrate and control Payara Micro from Apache NetBeans.

Creating a Payara Micro Project

Apache NetBeans IDE supports Payara Micro out of the box. To create a Payara Micro project, follow these steps:

  1. Create a new project using Payara Micro Application archetype under Java with Maven category.

    New Payara Micro Maven Project
  2. Input the desired project name, project name, artifact id, group id and version.

    netbeans new application payara6
  3. Select the desired Payara Micro version. Make sure that Auto Bind HTTP is left unchecked.

    netbeans new application version payara6

Deploying the Payara Micro project

To deploy the Payara Micro project, simply run the application using the Run Project option from the Run menu. The Payara Micro application will be deployed and the URL will be displayed in the Output window:

netbeans app running payara6

Hot Deploy and Auto Deploy Settings

To enable the Auto Deploy features for Payara Micro on the Apache NetBeans IDE, you must enable the Compile on Save and Deploy on Save features from the Project Properties.

Compile on Save can be found in the Build→Compile submenu of the project properties.

Auto Deploy 1

Deploy on Save can be found in the Run submenu of the project properties.

Auto Deploy 2

To enable the Hot Deploy feature for Payara Micro on the Apache NetBeans IDE, you must enable the Hot Deploy checkbox which can be found in the Payara Micro submenu of the project properties.

Hot Deploy Micro