Payara Server

A Jakarta EE application server for running enterprise Java applications and services.

2 min read 3 lesson sections
  • #java
  • #jakarta ee
  • #microprofile
  • #application server
  • #deployment
Payara Server: A Jakarta EE application server for running enterprise Java applications and services.
Concept map

Payara Server is an application server for Java applications built on Jakarta EE and related enterprise standards. It provides a runtime and services that applications can use for tasks such as transactions, security, messaging, and resource management. It is not simply another name for a web server.

The key difference: A web server such as Nginx receives and routes web traffic. An application server such as Payara runs application components that implement business behavior.

Where Payara fits

A browser request may first reach a web server or load balancer, which then forwards application traffic to Payara. Payara runs the Java application and may connect it to databases or messaging services. Apache HTTP Server or Nginx can serve as a front end in some designs; other deployments expose Payara through a managed platform or container environment.

The exact architecture depends on the application and deployment. Keep public traffic, application runtime, and data services as distinct layers so each can be monitored and secured appropriately.

Deploy and operate an application

A typical workflow is to build the Java application, package it in the format expected by the project, configure its required resources, and deploy it to a compatible Payara environment. The application may need a database connection, secrets, memory, and health checks. Keep configuration outside the application package where practical, and use the Payara and Jakarta EE versions supported by the project.

In a learning environment, start with a small sample application and follow the official Payara documentation for deployment. Review startup logs, test a health endpoint, and learn how the application connects to a test database before adding more services.

Is an application server right for the job?

Payara is a fit when an application depends on Jakarta EE APIs or Payara-specific services. A static site may need only a web server, while a different application may use another Java runtime or managed service. Match the platform to the application’s requirements rather than adding an application server without a reason.