Some simple examples of Java EE features in Payara. These are designed to demonstrate Payara specific features.
Simple example of Clustered Singleton functionality available in Payara
A simple EJB Timer example
A simple Batchlet JBatch scheduled with a timer EJB
A simple CRUD application that demonstrates using the Java Persistence API (JPA) to access a database.
Payara Server example that demonstrates usage of Hibnernate with in memory H2 Databsase and REST endpoint
An example that hosts an endpoint /hello
, which returns "Hello World!" and prints the endpoint information to the logs.
An example that uses JSF to create an HTML page that contains a string fetched from a REST endpoint at: http://api.${host-name}/hello
.
A simple JPA CRUD example with JAX-RS endpoint
This module contains some samples demonstrating JCache API with Payara Server
An example application to demonstrate using Payara Server realms as Java EE Security Identity Stores.