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 Programming Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.