<!--PayaraMicro APi-->
<dependency>
<groupId>fish.payara.extras</groupId>
<artifactId>payara-micro</artifactId>
<version>5.194</version>
</dependency>
<dependency>
<groupId>fish.payara.api</groupId>
<artifactId>payara-api</artifactId>
<version>5.194</version>
<scope>provided</scope>
</dependency>
import fish.payara.micro.BootstrapException;
import fish.payara.micro.PayaraMicro;
/**
*
* @author avbravo
*/
public class EmbeddedPayara {
public static void main(String[] args) throws BootstrapException{
PayaraMicro.getInstance().addDeployment("/home/avbravo/NetBeansProjects/utp/alexis/transporte/target/transporte.war").bootStrap();
}
}