Payara Micro NetBeans Plugin

Creating new Payara Micro Application

  • Simply start up the NetBeans IDE and then Choose File → New Project from the main menu.

  • On the Choose Project panel, select Maven from Categories, select Payara Micro Application from Projects, and click Next.

Select Payara Micro Application
  • On the Name and Location panel, enter MicroApp as the project name, set the Project Location, set the GAV details, and then click Next.

Enter Application name
  • Select Payara Micro version. Click Finish.

Select Payara Micro version
  • When you click Finish, the IDE creates the following projects from the Payara Micro maven archetype.

Application created
  • Now Simply Run it.

Application running

Override default maven goals

Default maven goals executed by micro application can be customized via Project Actions setting. To override the default goals, open project Properties → Actions → Select action → update Execute Goals.

Convert existing Maven Web Application to Payara Micro Application

  • Choose File → Open Project from the main menu to open the existing Maven Web Application project in NetBeans IDE.

  • Choose File → New File from the main menu.

  • On the Choose File Type panel, select Payara from Categories, select Payara Micro Maven Plugin from File Types, and click Next.

That’s how to convert existing Maven Web Application to Payara Micro application in NetBeans.