Creating the application

To use Payara Micro, we create a Java web application like we normally would. In NetBeans, we will select File | New Project | Maven | Web Application and click on Next. For the project name, enter monumentum, select the appropriate Project Location, and fix up the Group ID and Package as desired:

The next window will ask us to choose a server, which we can leave blank, and a Java EE version, which we want to set to Java EE 7 Web:

After a few moments, we should have our project created and ready to go. Since we created ...

Get Java 9: Building Robust Modular Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.