*Note: This blog is updated for compatibility with Payara Server 5, from our original post created for Payara Server 4:
In this blog series, we will aim to give an overview of the basics of using Payara Server in a production scenario using Apache Web Server (sometimes called httpd) and Ubuntu. Many of the concepts described in these blogs do not rely on the tools we are using here and can be applied to other scenarios.
Our aim is to configure the following:
*Note: This blog post is an update to Load Balancing Across Payara Server Instances with Apache Web Server, which was written for Payara Server 4.
Continuing our introductory blog series (Payara Server 5 Basics), this blog will demonstrate how to add load balancing capability to Apache Web Server and forward to our simple Payara Server cluster.
What is an IDE?
If you're looking to build a Jakarta EE (formerly Java EE) Application, you're going to need a few things to get started. Whether you're building a web application with Java Server Faces (JSF), a web service using REST, an Enterprise Java Beans (EJB) application, or interacting with a database using Java Persistence API (JPA) - you first need Payara Server® or Payara Micro® and an IDE (Integrated Development Environment).
You probably already know what clustering is, but you might not know that Payara Server 5 automatically clusters. If you use Payara Server 4, you have to manually set up clustering. Payara Server 5 introduces a convenient feature called Deployment Groups. Deployment groups do exactly as the name suggests: it allows you to group a collection of instances that will be the targets of your deployment.