Posts tagged Maven (2)
This blog uses NetBeans 11.1. If you're using an older version, you may need to perform slightly different steps to get the same result.
When testing an app to be run on Payara Server, it can be extremely useful to be able to test your app continuously from your IDE. If you're using NetBeans this is made very easy. Follow the steps in this blog to setup NetBeans to use Payara Server for running your web apps.
As a follow up to our 'Getting Started with Payara Micro Demo', we have another introductory video for you, this time demonstrating the Payara Micro API, using NetBeans and Maven.
Payara Micro allows you to run web applications in a self-contained and easy way. Since the release of the Payara Server in May 2016, there is a simple way to generate an "Uber" JAR that bundles the contents of a WAR file and the classes and resources that compose Payara Micro!
Note that this "Uber" Jar is not the best way to run your application in a Docker container as it requires an update of the entire binary for each small code change you make in the application. A better solution is just to start a Payara Micro Instance and point to the application that needs to be installed. More information can be found on our Payara Micro Docker Image documentation.
(last updated 06/04/2021)
Payara Micro 162 can now deploy your artifacts stored in Maven repositories simply by providing the GAV coordinates. This should provide another option for continuous delivery scripts!