GlassFish to Payara Server 4 Migration Guide

GlassFish to Payara Server 4 Migration Guide

If you’re running GlassFish in your production or development environment and are worried about the lack of support from Oracle, infrequent application server releases, lack of bug fixes and patches – Payara Server is an ideal solution for you!

Payara Server Enterprise is an open source application server derived from GlassFish,  supporting reliable and secure deployments of Jakarta EE (Java EE) applications in any environment: on premise, in the cloud or hybrid.

Migrating from GlassFish to Payara Server 4 can be a simple and straightforward process, made even simpler with the help of our ‘GlassFish to Payara Server 4 Migration Guide’.

In this detailed, step-by-step guide, you’ll learn:

  • Why choose Payara Server?
  • Migrating from GlassFish 3.x
  • Migrating from GlassFish 4.x
  • Working with 3rd-party libraries
  • How to deal with Oracle Commercial Features
  • Post-migration considerations

How is Payara Server Enterprise better than GlassFish? 

Optimized for mission critical production systems in any environment, Payara Server (see the data sheet) is compatible with the services you’re already using, container-friendly, and fully supported with a 10-year software lifecycle. Used as a drop in replacement for GlassFish Server Open Source Edition, Payara Server gives you a peace of mind of monthly releases containing bug fixes and patches to ensure the security and stability of your production environment.

Looking for Migration Guide to Payara Server 5?
Click Here!

The Migration & Project Support that I’ve received from the Payara Engineers has been exceptional thus far. They helped me pinpoint an issue that we’ve been having and also referenced me to the GitHub page where another user had a similar issue. Furthermore, they have back-tested the issue that we’d experienced and figured out what the latest version is that we can upgrade to, where our existing code-base would still work. In the meantime, while the Support Team was busy investigating the issue, we migrated from GlassFish to Payara Server on one of our production servers. Thus far, the transition has been seamless and exciting.

Mark Bekker, HelloGroup

Payara Server vs GlassFish

FeatureGlassFish 5.xPayara Server Enterprise 5
LicenseOpen SourceOpen Source
Release FrequencyIrregularMonthly
Releases in 2020312
Security FixesInfrequent
  • Instant emergency and backported fixes for Payara Enterprise customers
  • As soon as possible for community
Production SupportNoYes
Migration & Project SupportNoYes
Component Upgrades (e.g. Tyrus, Mojarra)IrregularAs needed
Supported IDEs
  • Eclipse
  • Netbeans
  • IntelliJ IDEA
  • Eclipse
  • Netbeans
  • IntelliJ IDEA
  • Visual Studio Code
Caching ToolsNoJCache, Domain Data Grid, Payara Scales (additional cost)
Automatic ClusteringNoYes (via Hazelcast)
Asadmin Command RecorderNoYes
Slow SQL LoggingNoYes
Health Check ServiceNoYes
Request TracingNoYes
Monitoring LoggingNoYes
Custom NotifiersNoYes
Microservices DistributionNoYes (Payara Micro)
MicroProfile SupportNoYes
Docker SupportCommunity providedOfficial images
HTTP & HTTPS Port Auto-bindingNoYes (Payara Micro only)
Generate Uber JARNoYes (Payara Micro only)
Production-tuned Domain TemplateNoYes
Upgrade ToolNoYes (Watch demo.)
Jakarta EE CompatibleYesYes
Runs on JDK 11YesYes
Embedded Data GridNoYes (Domain Data Grid)
Back to top