The Payara Platform and Docker
Payara provides several Docker container images (download here). These can be used as-is to run your applications on Payara Server or Payara Micro (the Payara Platform). Or you can create your own Docker images based on them. Check out the following resources to learn more about using the Payara Platform with Docker.
Payara Server and Docker
Using Payara Server with Docker
This guide will demonstrate the basic usage of Docker, as well as some example configurations using the Payara Server Docker images.
Clustering Payara Server in Docker
This guide will demonstrate some more advanced aspects of using Payara Server in Docker and how to setup Payara Server and Payara Micro in a clustered architecture.
Payara Server in Docker
Watch video to learn how to use Payara Docker Images and how to run Payara Server inside of a Docker container.
Payara Server in Docker: Custom Docker Image
Watch video to learn how to configure a Payara Server Docker container and how to build a custom Docker image that contains configuration and applications.
Payara Deployment Group on Docker
Watch video to learn some advanced Docker techniques in a demonstration of the Deployment Group feature of Payara Platform with Docker containers.
Payara Domain Data Grid Cluster on Docker
Watch video to learn how to cluster two Domain Data Grids on Payara Platform with Docker.
Introduction to Payara Server Docker Nodes & Instances
This guide details the basic steps required to get a simple application deployed to a Payara domain with a number of Payara Server instances running in Docker containers and assigned to a deployment group.
Payara Micro and Docker
Using Payara Micro with Docker
This guide will demonstrate the basic usage of Docker, as well as some example configurations using the Payara Micro Docker images.
Payara Micro in Docker: Run, Configure, and Build Custom Docker Images
Watch this video to learn how to run Payara Micro inside a Docker container, how to run your applications with it, how to configure it, and how to build your custom Docker image that contains everything you need to run your application.
Payara Micro Cluster on Docker
This video shows advanced Docker techniques and how to cluster with Payara Micro. You can use Payara Micro instances joined automatically with a Domain Data Grid and because Payara Micro is optimized for Docker and Kubernetes, this set up will work right out-of-the-box with no special configuration needed.
Using Payara Platform with Docker on Microsoft Azure
In this user guide, we’ll show you how to deploy your Payara Micro-based application using a Docker Image on the Azure Platform. We focus on the Container as a Service option where the Microsoft Azure Platform provides all the capabilities for running your applications through the usage of a Docker Container in the cloud.
From the Payara Blog
One major issue when developing modern enterprise applications is the "works on my machine" problem: when an application works well on your machine but is not functional in production or even on a colleague's machine. An even more prevalent problem is to maintain the quality of ever-changing applications during development and maintenance. This is especially prevalent when Jakarta EE applications are developed and not properly tested in an isolated and cohesive manner. Proper integration testing helps to avoid both the "works on my machine" problem, and ensures developers can change the application effectively without breaking it. However often teams struggle with it, due to a lack of standardized testing solutions and the unpredictability of real-world conditions. Here, I present an effective method for Jakarta EE integration testing, using Payara Platform and Testcontainers in my example.
Payara Micro 5によるUber JARの作成 18 May 2021
Payara Microでは、Webアプリケーションを自己完結型で簡単に実行することができます。2016年5月のPayara Serverリリースからは、WARファイルの内容とPayara Microを構成するクラスやリソースを束ねる “Uber JAR” を作成する簡単な方法があります。 この “Uber” Jarは、Dockerコンテナ内でアプリケーションを実行するための最良の方法ではないことに注意してください。アプリケーションに小さなコード変更を加えるたびに、バイナリ全体のアップデートが必要になるためです。より良い方法は、Payara Microインスタンスを起動して、インストールが必要なアプリケーションを指定することです。詳細については Payara Micro Docker Image documentation をご覧ください。 (最終更新日 2021/04/06)
14 Docker Tips for the Payara Platform 15 Jan 2021
Creating a Docker image is not that difficult. The Dockerfile script contains a few commands that define and prepare your image that will be run by the engine as a container.
Using Payara Server with Docker 22 Apr 2020
Docker is a platform which makes it easier to create, deploy and run your applications using containers. A container bundles all the software needed to run it. By packaging the required dependencies, it makes it easy to run it on any machine, regardless of small configuration differences. This article will explain more about introducing Docker.
Dockerとは? DockerとPayara Server/Payara Microを一緒に使うには?
Introduction With Container orchestration tools like Kubernetes and Docker Swarm, you can add instances quite easily. Depending on the type of clustering you need or use for your application, some scenarios are easier to implement than others.