Blog

Subscribe to our weekly blog to learn about new product features, the latest in technology and security updates.

Featured Post

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise
Jakarta EE

How to Run and Scale AI Java Applications in Production: An Overview for Developers with no Machine Learning Expertise

Organizations are increasingly interested in adopting artificial intelligence (AI) and generative AI (GenAI) to improve operations and offer next-generation services to customers and end users. The demand for AI-powered solutions means that developers are tasked […]

See Latest Posts

5 minutes
Uncategorized

Introducing the Payara Kubernetes Operator

When using Kubernetes, for more complex scenarios it is not enough to start the deployment or service. You also […]

6 minutes
Uncategorized

Do You Really Need Kubernetes?

These days, it seems Kubernetes is a topic that is never too far from people’s lips.  The tool, and […]

3 minutes
Uncategorized

Shape The Future of Payara Platform Through GitHub

Payara Platform is an open source middleware platform. This means that we are proud to nurture and grow an […]

6 minutes
Uncategorized

Introduction to New AutoScale Feature Available in Payara Server

Running your application sometimes requires multiple instances to handle the requests of the users. Within the Payara Platform, the […]

3 minutes
Uncategorized

What’s New in the June Payara Platform Release?

The June 2021 Payara Platform release is here!  Payara Enterprise 5.28.1 includes 5 bug fixes and 2 component upgrades […]

No Image 8 minutes
Uncategorized

The Payara Monthly Catch for May 2021

The big community news of this month was the release of Jakarta EE 9.1! The Eclipse Foundation brought out […]

7 minutes
Uncategorized

GlassFish 6.1 Should Not Be Used In Production: Here’s Why

Earlier this week, Jakarta EE 9.1 was released. This is an update to Jakarta EE 9, adding support for JDK […]

3 minutes
Uncategorized

Jakarta EE 9.1 Launches!

Payara Services are celebrating the release of Jakarta EE 9.1 Platform and Web Profile specifications and related TCKs. With […]

3 minutes
Uncategorized

Did You Know? If Payara Server Seems Slow, Try This

The 2021 Payara Platform Survey was completed in April. Our surveys help us shape the future of Payara Server […]

3 minutes
Uncategorized

Payara Micro 5によるUber JARの作成

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) […]

5 minutes
Uncategorized

Payara Server 5における接続プールのご紹介

このブログ記事では、接続プールについて紹介し、ベスト・プラクティスを用いてPayara Serverで接続プールを設定する方法を紹介します。 (最終更新日 2021/04/06) 接続プールとは? 接続プールとは、データベースへの接続とその再利用(最も重要なことです)に使用できるデータベース接続のストアです。 接続プールの必要性 データベース接続は、作成するのにも維持するのにもコストがかかります。その理由は、以下のように様々です。 データベースサーバーへのネットワーク接続の確立 接続文字列情報の解析 ユーザー認証の実行 データベースへの接続の初期化 トランザクションのコンテクストの確立 一人のユーザーが使用するWebアプリケーションの場合、ユーザー・セッションの開始時にデータベース接続を作成し、終了時にデータベース接続を閉じることができます。しかし、これは非常に可能性の低いシナリオです。 さて、より現実的なシナリオとして、あなたのWebアプリケーションに何百人、何千人ものユーザーがアクセスすることを想像してみてください。各ユーザーのセッションでデータベースへの接続が行われると、まず接続が確立されるまでの間、ユーザーには遅延が生じ、次にシステム全体のパフォーマンスが低下します。 つまり、「なぜ必要なのか」という問いに対しては、「システムのパフォーマンスとスケーラビリティの両方を向上させるため」ということになります。 接続プールの働き 接続プールは、必要になるたび新しい接続を作成するのではなく、アプリケーション・サーバーの起動時に作成します。これらの接続は、使用したり再利用したりすることができます。新しい接続が必要になると、プールの中から利用可能な接続を探します。もし利用可能なものがあれば、リクエスターに返されます。利用可能な接続がない場合は、プール内の接続数やプールの構成に応じて、リクエストがキューイングされるか、新しい接続が確立されます。接続が終了すると、接続を閉じるのではなく、接続プールに戻され、次のリクエスターが使用できるようになります。 さて、これで理論的な話は終わりです。では、実際にはどのように機能するのでしょうか? […]

10 minutes
Uncategorized

Getting Started with Jakarta EE 9: Context And Dependency Injection (CDI)

In this series about getting started with Jakarta EE 9, we look at various specifications and how you can […]