Below you will find pages that utilize the taxonomy term “payara”
Javaee
Deployment with Payara Micro
Introduction There are many different frameworks that allow you to develop and deploy microservices. Payara, the team behind the Payara Server have a couple of options for deploying microservices - PayaraMicro and Payara MicroProfile. So, what exactly are PayaraMicro and Payara MicroProfile?
What is Payara Micro? Both PayaraMicro and Payara Microprofile are small .jar files that allow you to deploy .war files from the command line allowing Java EE applications to be easily executed.
Javaee
GlassFish Crib Sheet
I’ve listed below some of the more common uses of the Glassfish asadmin command. Hopfully this is a useful crib sheet showing how to do some of the more common administration/day-to-day tasks in Glassfish.
You can get a complete list of commands by typing asadmin –help
Command Description asadmin start-domain Start a domain asadmin stop-domain Stop a domain asadmin create-domain Create a new domain asadmin backup-domain Backup a domain asadmin list-domains List installed domains asadmin restore-domain Restore a previously backed up domain asadmin start-database Start the embedded Java Database asadmin stop-database Stop the embedded Java Database asadmin create-jdbc-connection-pool Create a new Database connection pool asadmin create-jdbc-resource Create a new JDBC connection asadmin list-jdbc-connection-pools List the database connection pools asadmin list-jdbc-resource List the JDBC connections asadmin deploy Deploy a component asadmin undeploy Undeploy a component asadmin list-components List components (e.
Javaee
Introduction To JSF 2 Using NetBeans And GlassFish
Introduction Using NetBeans 6.8M1 and GlassFish v3, its possible to write Java EE 6 web applications. In this article i’ll be showing what managed beans look like and how they are linked up in Facelets pages. I’ll also show how to localize the application for use with different languages. Finally, I’ll show how the Bean Validation Framework (JSR-303) can be used to add simple validation to POJOs.
To show these features, I’ve written a simple “Hello World” program.
Javaee
Payara Micro Context Path
Introduction When deploying an application to Payara Micro, the default context path for any web resources is defined by the name of the archive.
For example, if I deploy the archive PayaraRest-1.0-SNAPSHOT.war, the context root is defined as /PayaraRest-1.0-SNAPSHOT
$ java -jar payara-micro.jar --deploy PayaraRest-1.0-SNAPSHOT.war ... [Payara Micro 4.1] Loading application [PayaraRest-1.0-SNAPSHOT] at [/PayaraRest-1.0-SNAPSHOT] There are a few techniques however for changing the context of deployed applications in Payara Micro.