Running GlassFish in production? It’s likely you are facing challenges due to the lack of support, lack of automation assistance, inability to quickly browse metrics, and the lack of modern security standards support – among other things! Keep reading to see if you recognize the common problems people experience with GlassFish in their production environments. It’s possible you didn’t think there was an alternative and that these issues were unavoidable. However, if you see yourself and your business in these issues, there is another way! There is a solution to these common GlassFish problems that you maybe haven’t heard of yet.
Payara Vs the CompetitionGlassFish Server Migration
Automation Assistance
GlassFish: No Automation Assistance
Payara: Includes Automation Assistance
Payara Platform Asadmin Recorder Offers Automation Assistance
DevOps is usually one of the most coveted topics for any organisation: The need to automate the integration and delivery of all aspects of your applications and their dependencies is a constant requirement in most projects.
TheAsadmin Recorder is a powerful feature that is available in the Web administration console of Payara Server, and when enabled, allows the server administrator to record all of the operations that change the configuration of an existing domain into a localised script file that can be later used to automate the server configuration without worrying about suddenly making mistakes.
Thanks to the recorder, every time you may want to automate the steps to configure your domain, simply turn it on, proceed to configure all the settings needed, grab the local file and adapt it to run by your DevOps tools (Chef, Ansible, Jenkins, etc.).
You can read more about this feature in the officialPayara Server Community documentation.
Internal Monitoring and Real Time Metrics
GlassFish: Frustrating Configuration
Payara: Includes Real-Time Visualisation and Alerts
Payara InSight Allows Real-Time Visualisation and Alerts for Server and Web App Metrics
When running on Payara Enterprise in production there is no extra installation or configuration needed.
It consists of a server module responsible for collecting a multitude of metrics from all nodes which are accumulated on the DAS to feed data to its frontend which visualises the data as a web-application deployed on the DAS.
The metrics include server metrics from different sources within the server as well as metrics defined in user applications usingMicroProfile Metricsand metrics derived fromMicroProfile Healthchecks.
You can read more about this feature in the official Payara Insight documentation.
Critical Server Event Alerts
GlassFish: No Critical Server Event Alerts and Notifiers
Payara: Includes Internal Alert Systems and Cloud-Friendly Notification Service
Payara Allows Creating and Customising Notifiers and Alerts
Request Tracing in the Payara Platform helps you understand the cause of slow application performance. It’s compatible with the MicroProfile OpenTracing specification so you can use any data generated in any OpenTracing tool (such as Zipkin and Jaeger).
Payara Server provides theHealth Check Service for automatic self-monitoring in order to detect future problems as soon as possible. When enabled, the Health Check Service periodically checks some low level metrics. Whenever it detects that a threshold is not met, it triggers alert notifications that allow to detect undesired behaviour and predict possible failures. All of these automatic checks are very lightweight and run with a negligible impact on performance.
Notification Service works in the background to allow services such as JMX Monitoring, Payara Health Check, and Request Tracing to send messages to the notifiers.
Supported Docker Images
GlassFish: No Supported Docker Images
Payara: Supported Docker Images
Payara Provides Several Optimised and Supported Docker Container Images
These Docker images 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.
Docker images for Payara Platform Community Edition are available onDockerHub, while customers can access Payara Enterprise Docker Images in our Nexus repository under the repo ‘payara-docker’.
Security
GlassFish: Lacks Modern Security Standards
Payara: Includes Built-In Security
Payara: Secures your Applications with Built-in Security Features
The Payara Platform Enterprise is a fully-supported open source software for enterprises offering a strong tool set of security features so you won’t have to implement your own security measures from scratch, enabling reliable and secure deployments of Jakarta EEandMicroProfileapplications on premises, in the cloud, or hybrid environments.
Making the platform secure and providing useful built-in security tools for application developers and production administrators is an essential part of the platform development process and is accomplished with monthly releases, security fixes, critical security patches, and a 10-year software lifecycle. The Payara Platform also provides tools to secure and restrict access to a production system, encrypt communication, and audit security events and configuration changes.
Read more on our Security page.
Payara Platform Enterprise Vs GlassFish Comparison Table
Features & Benefits Comparison
Feature | GlassFish 5.x | Payara Server Enterprise 5 |
---|---|---|
License | Open Source | Open Source |
Release Frequency | Irregular | Monthly |
Releases in 2020 | 3 | 12 |
Security Fixes | Infrequent |
|
Production Support | No | Yes |
Migration & Project Support | No | Yes |
Component Upgrades (e.g. Tyrus, Mojarra) | Irregular | As needed |
Supported IDEs |
|
|
Caching Tools | No | JCache, Domain Data Grid, Payara Scales (additional cost) |
Automatic Clustering | No | Yes (via Hazelcast) |
Asadmin Command Recorder | No | Yes |
Slow SQL Logging | No | Yes |
Health Check Service | No | Yes |
Request Tracing | No | Yes |
Monitoring Logging | No | Yes |
Custom Notifiers | No | Yes |
Microservices Distribution | No | Yes (Payara Micro) |
MicroProfile Support | No | Yes |
Docker Support | Community provided | Official images |
HTTP & HTTPS Port Auto-binding | No | Yes (Payara Micro only) |
Generate Uber JAR | No | Yes (Payara Micro only) |
Production-tuned Domain Template | No | Yes |
Upgrade Tool | No | Yes (Watch demo.) |
Jakarta EE Compatible | Yes | Yes |
Runs on JDK 11 | Yes | Yes |
Embedded Data Grid | No | Yes (Domain Data Grid) |
Learn About Migrating from GlassFish to Payara ServerGlassFish Problems? Try This!
Back to top