Benefits of Using Payara Micro in the Cloud

Microservices architecture allows developers to apply best practices for larger systems learned over time with containerized Jakarta EE (Java EE) application deployments in any environment: on premise, in the cloud, or hybrid.  Using Payara Micro in the cloud offers benefits ranging from reduced expenses, seamless integration with cloud platforms and tools for management and automation, to automatic and elastic clustering. 

How To Bring Your Java Microservices To The Cloud

All companies are software companies, and businesses will always experience the challenge of keeping integrations between users and applications scalable, productive, fast, and of high quality. To combat this, cloud, microservices, and other modern solutions come up more and more in architectural decisions.

Here is the question: Is Java prepared to deal with these diverse concepts in a corporate environment?

Yes, and to demonstrate how Jakarta EE and Eclipse MicroProfile work very well and in the cloud, the Payara and Platform.sh will work together on this webinar. Watch and make your conclusions.

GlassFish to Payara Server Migration Resources

Payara Server was created in 2014 as a fully-supported drop-in replacement for GlassFish. As Payara Server developed, its popularity has grown quickly among the community due to an open and responsive development team, a regular release cycle, and the introduction of crucial production enhancements that were never available in GlassFish. Migrating from GlassFish to Payara Server can be simple and straightforward - and we make it even easier with migration guides and a growing library of migration resources.

The Payara Monthly Catch for August 2020

 

I hope you enjoy this month's catch. You may notice I made an effort to try and search for content by authors we had not featured before (and are a little less known), as well as including a few of our prolific favourites. There was also a slight lean towards Kubernetes themed content this month as well.

In this blog you will find a curated list of some of the most interesting news, articles and videos from the last month. Can't wait until the end of the month? Visitour Twitter page where we post all these articles as we find them! 

Payara Enterprise Connectors

Payara Platform Enterprise Edition is designed to run mission-critical Jakarta EE applications in production environments with increased stability and security. Payara Enterprise is fully supported and offers access to production-oriented features and developer tools - including a wide range of supported IDE extensions, build tool plugins, test containers and connectors available under the Payara Enterprises repository.

Monitoring Console Update in Payara Server Community 2020.4 Allows Quick View of Domain Health

We have been busy bringing new functionality to the monitoring console. The newest Domain RAG Status feature coming in the August 2020 release offers better integration of the Eclipse MicroProfile Health checks. This article will go into the details of the integration and showcase how it can be utilised in the monitoring console.

New Feature: Remote EJB Tracing in Payara Server Community 5.2020.4

New in the Payara Server 5.2020.4 release (August 2020), RMI calls to an EJB hosted on Payara Server from a Java SE client will now have the active Span Context automatically propagated to the server, with a counterpart server-side span being created as a child of this client call. This fills in a gap in our existing Request Tracing service, and comes with the added benefit of allowing a user to propagate key:value pairs from a Java SE client to Payara Server (or simply from server to server) in a request as OpenTracing baggage items - of particular interest to those who utilise Context Propagation or similar features in other application servers.

What's New in the Payara Platform August Release?

We're happy to announce that Payara Platform Community 5.2020.4 (direct download here) and Payara Platform Enterprise 5.21.1 (request here) Editions are out today!

With this patch release of Payara Platform Enterprise, we focus on stability and consolidation of the software components delivering value around your Enterprise subscription. Meanwhile, the Payara Community Edition introduces some security, stability, and monitoring improvements of features for testing, such as Remote EJB Tracing and Monitoring Console Domain RAG Status & Developer Metrics. Read more below to find out the details!

6 Reasons to Choose Payara Server Instead of WebLogic Server

Both Payara Server and Oracle WebLogic servers can be considered classic application servers, but in addition to running classic Enterprise applications on Payara Server, it also complies with more recent trends in the industry. In this blog, we'll cover 6 technical reasons why you should choose Payara Server over WebLogic:

Benefits of Migrating from GlassFish to Payara Server Enterprise 5

Payara Server Enterprise 5 is a cloud-native middleware application platform supporting mission critical production systems with reliable and secure deployments of Jakarta EE (Java EE) applications on premise, in the cloud, or hybrid environments. If you’ve been running GlassFish in production but are struggling with a lack of support and infrequent application server releases, bug fixes, and patches - or you want to run on JDK 11, you’ll benefit from migrating from GlassFish to Payara Server. 

The Payara Monthly Catch for July 2020

I hope you enjoy the article and news round up this month, as usual their was a lot to talk about in the Jakarta EE & MicroProfile space, as well as Java as a whole. You may notice a slight shift in emphasis towards Security themed articles this month which I hope you find useful.

In this blog you will find a curated list of some of the most interesting news, articles and videos from the last month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Protecting Critical Ecommerce Infrastructure During Times of Crisis

With an estimated third of the global population under “lockdown” during the peak of COVID-19, organizations were forced to rapidly shift to remote working environments - prepared or not. The unplanned change in operations put significant pressures on existing systems and tested business continuity plans.Check out this whitepaper with the results of a recent survey of the community to learn about COVID-19 business challenges and how open source technology has helped. 

Payara Platform 5 Community Edition Supports HTTP/2 on All JDK Versions

Payara Platform 5 brought with it an implementation of Servlet 4.0, which itself contains support for the HTTP/2 standard. HTTP/2 support in Java has been fairly obscure for JDK 8 users, causing issues for many depending on their JDK minor version. This blog hopes to clarify the state of HTTP/2 in Payara Platform 5.

If you just want a quick answer to which Payara versions support HTTP/2 on which JDK version, jump ahead to Does Payara Server Support HTTP/2?

What's New in Payara Platform July Release?

We're happy to announce that Payara Platform Community (5.2020.3) and Payara Platform Enterprise (5.21.0) Editions are out today!

The Enterprise Release (request here) features 13 improvements, 11 bug fixes & 1 component upgrade, while the Community Release (direct download here) includes 11 bug fixes, 9 improvements and 1 component upgrade. 

Here's some detail of what's new in the Community & Enterprise Editions:

Coming soon in Payara Platform Community 5.2020.3 Release: OpenAPI Refactor

 

The Payara Platform 5.2020.3 release (coming soon!) introduces major refactoring and architectural changes to the underlying implementation of MicroProfile OpenAPI 1.1.2.

The goal of the OpenAPI specification is to provide a standard format for documenting REST API services which is extremely useful, as it follows a standard and it can be used in a range of tools such as those provided by the Swagger suite. These let you do all sorts of things such as design, edit, and test a REST API documented by an OpenAPI document.

Payara Platform 7月リリースの新着情報

本日、Payara Platform Community (5.2020.3) および Payara Platform Enterprise (5.21.0) Editionsのリリースをお知らせできることを嬉しく思います。

Enterpriseリリース (こちらからお問い合わせください) は13の改善、11のバグ修正、1コンポーネントのアップグレードを含みます。また、Communityリリース (こちらから直接ダウンロードできます) は11のバグ修正、9の改善、1コンポーネントのアップグレードを含みます。

では、Community & Enterprise Editionsの最新情報について、いくつか詳しくお伝えします。

Securing Your Applications Running on Payara Platform (JAX-RS Endpoints)

Securing your application is a very important aspect of the development of your application. You not only need to make sure that the application has the intended functionality but also that this functionality can only be executed by the appropriate people. You not only need to make sure that updates to data are restricted to the correct people, but it is also important that end users only see data they are allowed to see. And in case of sensitive data, this is even more important.

Authentication and Authorization Stores in Payara Platform

Securing your application is a very important aspect of development. You not only need to make sure that the application has the intended functionality but also that this functionality can only be executed by the appropriate people. It is critical to ensure that updates to data are restricted to the correct people, and that end users only see data they are allowed to see. And in case of sensitive data, this is even more important.

The Payara Monthly Catch for June 2020

As usual, it was a busy month. With some big announcements from Microsoft and Oracle (see News section), the Jakarta EE 9 release, as well as Developer Survey results published by JetBrains, Eclipse and Snyk. We also had a major release ourselves. Sifting through the content I had a sense of renewed optimism and progress in the Java community. 

Below you will find a curated list of some of the most interesting news, articles and videos from the last month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Payara's Involvement in the Jakarta EE 9 Milestone Release

As a leading contributor to Jakarta EE, we're happy to announce the Eclipse Foundation Jakarta EE 9 Milestone Release and the results of their 2020 Jakarta EE Developer Survey. 

The Jakarta EE 9 Milestone Release demonstrates the significant progress made toward the final release later this year, and offers an opportunity for the industry to try the new namespace and start migrating their frameworks. 

The 2020 Jakarta EE Developer Survey features responses from thousands of enterprise Java developers around the world, with results showing significant growth of Jakarta EE 8 use and interest in cloud-native Java.  The 2020 Jakarta EE Developer Survey results can be downloaded in their entirety here.

 

Payara Platformの新しいリリースです!

本日、Payara Platform CommunityおよびEnterprise Editionの出荷をアナウンスできることをうれしく思います。Communityリリース (5.2020.2) には26個のバグ修正、13個の改善、2個の新機能、そして5コンポーネントのアップグレードが含まれます。こちらからダウンロード可能です。

5.2020.2リリースに含まれる機能の詳細をいくつかご紹介します。

The Payara Monthly Catch for May 2020

 

Alot went down in May! notably Java's 25th anniversary and a whole swathe of articles, webinars and podcasts that went with it! It felt like there was a webinar everyday!

Below you will find a curated list of some of the most interesting news, articles and videos from the last month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Opening the Payara Platform Roadmap to the Community

We are continuing to change and improve the way we build and report our future platform releases through the introduction of the Open Roadmap.

As part of the new Payara Reef Community Growth Programme initiative, the Open Roadmap aims to collate user feedback clearly and effectively by allowing individuals to comment on any issues via a GitHub project board.

Connect Payara Micro to External JMS Broker by Deploying a RAR file

Payara Micro is a lightweight middleware platform for containerized Jakarta EE application deployments, but it still provides a lot of APIs and functionality for developers. On top of all Jakarta EE Web Profile APIs, Payara Micro also supports a additional Jakarta EE APIs, and it also provides the same MicroProfile, Payara, and JCache APIs as our complete application platform, Payara Server. In this article, we’ll show you how to make use of Jakarta Messaging (JMS) in Payara Micro to send and receive messages to and from a JMS broker.

Payara Micro Download

Considerations When Migrating from Wildfly to Payara Server

Migrating applications from WildFly to Payara Server can be a simple and straightforward process because both servers rely on the Jakarta EE (Java EE) specifications. However, there are differences in many areas because many Java EE APIs in WildFly and Payara Server are implemented by different components. Moreover, the configuration of certain aspects like external resources, high-availability and deployment is not covered by any specification and is, in fact, very different in both servers. Although Payara Server offers similar features as WildFly, they are often based on different technologies and concepts, and often also use different terminology. Therefore, before going into migration from WildFly to Payara Server, we’ll provide you with an overview of similar features and concepts that exist in both WildFly and Payara Server.

The Payara Monthly Catch for April 2020

 

With the lock downs raging on, more events are being cancelled and postponed. The upside is many have also pivoted to being virtual and many advocates are now pumping out interesting webinars and videos. The quality of content has also certainly not diminished, so read on dear reader!

Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Our Documentation Has Moved!

We wanted to let you know that we've decided to self-host our documentation due to the shutdown of legacy Gitbook. There are a few minor changes you'll want to know regarding how you access and read the Payara Platform Documentation.

Easy ways to bring your Java Microservices to the Cloud

All companies are software companies, and businesses will always experience the challenge of keeping integrations between users and applications scalable, productive, fast, and of high quality. To combat this, cloud, microservices, and other modern solutions come up more and more in architectural decisions. Here is the question: Is Java prepared to deal with these diverse concepts in a corporate environment?

Utilising MicroProfile Healthchecks in a Cloud Environment

MicroProfile Health is an API designed specifically for use in cloud and containerized environments, where you want to quickly determine if an instance of an application is unhealthy and restart it. How exactly do you use it though? In this session, I’ll run through how to add some health checks to your application, and how to configure a number of cloud providers and containers to effectively use them to restart your application instances.

Securing Microservices with Auth0 and MicroProfile in Kubernetes without a hassle

In this day and age, securing enterprise platforms is a challenge that developers and consultants tackle in an uninformed manner, producing subpar solutions in most cases. To combat this pattern, third-party security services such as Auth0 have been devised to externalize the security of services, and they focus on stable implementations of common enterprise use cases (identity management, OAuth compatibility, and so on), and platforms such as Eclipse MicroProfile allow for their easy integration with enterprise Java microservices. Moreover, in combination with Kubernetes, MicroProfile is a very powerful tool to simplify securing microservices, monitoring them and creating reproducible deployments.

Hot Deploy Feature in Payara Platform 5.201

Being productive gives developers a sense of satisfaction and fulfillment. That's why increasing developer productivity is always our priority and we are consistently working towards improving the Payara Platform developer tools and the developer experience.


In this blog, we will show you how to configure a Project in the Apache NetBeans IDE to enable Auto Deploy and Hot Deploy mode.

The Auto Deploy and Hot Deploy mode are helpful for developers to run and test an application immediately after making changes to its sources without restarting the Server or manual redeployment to maximize your productivity where Auto Deploy is the feature of Apache NetBeans IDE and Hot Deploy is the feature of Payara Server. Hot Deploy mode is currently only supported in Apache NetBeans IDE as an experimental feature.

Payara Platform Supports TLS 1.3 on JDK 8

Transport Layer Security (TLS) was introduced as a replacement for Secure Sockets Layer (SSL). TLS is a cryptographic protocol which provides secure communication between a client and a server. It also provides a mechanism by which information is not tampered with, falsified or read by anyone other than the intended receiver. TLS 1.3 was released in August 2018 to replace the widely used TLS 1.2. TLS 1.3 comes with stronger cryptographic algorithms and brings in major improvements in performance, security and privacy, which will be discussed in this blog.

Payara Platform Roadmap Planning for 2020

Starting with the latest Payara Platform 201 release, we've made changes to how we build and report our future platform roadmap. We recently introduced the Payara Reef initiative to enhance our communication with the Payara community, and as part of the Reef initiative, we are also introducing the Open Roadmap for the Payara Platform.

The Payara Monthly Catch for Feb 2020

It's been a little while since the last update. Your humble author has been on the road, most recently DevNexus in Atlanta where we met many awesome people and had a great time. We also just published our latest release Payara Platform 5.201.  We wont lament further, as usual we have kept our eyes open and have been squirrelling away some great content.

Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

JakartaOne Livestream Japan 2020 (Japanese)

このイベントは、昨年9月に開催されたJakartaOne Livestreamに感銘を受けた日本のJavaコミュニティ有志が企画したバーチャル・カンファレンスです。私もこのカンファレンスのプログラム委員の一員として、カンファレンスの事前準備や当日の運営に携わりました。このようなイベントは日本ではまだ例がなく私たちも(当日のカンファレンス進行中でさえ)試行錯誤しましたが、日本のJavaコミュニティに広くJakarta EEMicroProfileをご紹介しようと最善を尽くしました。

Interview with the First Java Champion in the Czech Republic - Ondrej Mihalyi

How do you feel about being a Java Champion?

I have to admit I was genuinely surprised because I didn't see it coming. I knew there was no Java champion in Czech Republic, but I never thought that I would become the first one. It's an honour for me. Especially because I'd already met many Java champions and became very good friends with some of them. And now I'm part of the gang of all those people that are making so much for the Java community.

Community Features Added to Stability Stream in Payara Platform 5.201 Release

The first release of the Payara Platform in 2020 syncs the Stability and Community streams.  For those not in the know, the Community stream is what we call our quarterly public releases, and the Stability stream is what we call our monthly bug fix-only releases for those with the supported version of Payara Platform Enterprise, (see here for more info on the release streams).

Coming Soon: Data Grid Encryption Tech Preview in Payara Server 5.201

Encryption of the data stored within the data grid of Hazelcast (the technology underpinning our deployment groups and clustering in Payara Platform 5) has until now required a Hazelcast Enterprise subscription (see Payara Scales). While this remains an option for those who would like the additional features it provides (such as WAN replication), we’ve begun introducing this particular feature into Payara Server itself to provide it to you without needing an additional subscription.

How to Deploy an Application on Payara Server 5

This is Part 2 of our Payara Server - Back to Basics series, see Part 1 - Installing Payara Server on Ubuntu here.

In order for a web application to run, it must be first deployed on an application server such as Payara Server. Deployment in the context of web applications is the act of installing the application on a server. It allows requests to be handled and so on. This guide will provide you with a few different ways to get your application running.

Payara Platform 201 Release - More Updates to Monitoring Console

In Payara Platform 5.194 we introduced the monitoring console. The upcoming 5.201 release now offers numerous improvements and additions. We continued to followed our vision of a monitoring tool that users can configure to their needs, ranging from new tools such as watches and alerts, to new colour themes and settings users can tweak to match their individual preferences.

MicroProfile and Jakarta EE Technical Alignment

The transition of Java EE to the Eclipse Foundation is now complete with the release of the Jakarta EE 8 Platform Specification and the compatible implementations, including Payara Server. The release plan for Jakarta EE 9 is also approved, and will move all the Java EE APIs to the jakarta namespace - providing a future platform for Jakarta EE 10 and beyond.

Faster Payara Micro Startup Times with OpenJ9

One of the performance metrics that are frequently compared  by developers are startup times. Payara Server is designed to be manageable at runtime, with a central management server (DAS - domain administration server) and multiple instances, and as such is not optimized for extremely fast startup time. Payara Micro on the other hand, is optimized to run predefined workloads with a stable configuration at runtime, and is therefore a better fit for for comparing start up time metrics.

In this blog, let's take a look at how you can configure Payara Micro for fast startup time by utilizing the class data sharing feature of Eclipse OpenJ9.

Payara Platform 2019 Community Survey Results

We're proud to announce that our 2019 Community Survey results are now available! We conducted a survey between September and November 2019 to determine how organizations are using the Payara Platform and what ecosystem components are most commonly used with the platform. Thank you for contributing and helping us gain insight into which features and enhancements the community would most like to see in future releases of the Payara Platform.

How to Join Payara Micro Instances to the Data Grid in the Admin Console (Japanese Language)

Payara Microインスタンスは自動的にクラスタを構成することができます。また、Payara Serverのスタンドアロン・インスタンスと同様にドメイン・データ・グリッドに参加させることもできます。このブログでは、管理コンソールを使用してPayara Microインスタンスをデータ・グリッドへ参加させる方法についてご説明します。

Integration Testing using MicroProfile Testing and Payara Micro

 

Integration testing is perceived as difficult, time-consuming and requiring complex setup of 3rd party systems. There are different types of integration testing, such as system, acceptance and release testing, but all types of testing share the need to integrate several units of your application or other systems in your test.

The Payara Monthly Catch for Nov/Dec 2019

For the festive season we decided to change it up abit and create a mega bumper edition of the month catch by combining November and December and serve it to you before many head off for their Christmas holidays. 

Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Payara Platform and Amazon Corretto

Amazon Corretto is a distribution of the Open Java Development Kit (OpenJDK) provided by Amazon. It's free to use, comes with long-term support, is production-ready and supported in multiple platforms, which means that it can run in the cloud, on-premise, and on your local machine. With Corretto, you can run Payara on popular operating systems, including Linux, Windows and macOS. It is certified using Java Technical Compatibility Kit (TCK) to meet Java SE standard and can be used as a drop-in replacement for most JDK distributions. 

JDK 11 Support Available in Payara Platform 5.194

As you may have heard, Payara Platform 5.194 is now released! And with a boatload of new features, improvements and bug fixes, it also marks JDK 11 support coming out of tech preview! With much excitement from users, JDK 11 support has been in technical preview since 5.192.

What's New in Payara Server 5.194?

皆様に大きなお知らせです。Payara Serverの新しいバージョンが、多数のバグ修正と安定した新機能とともにリリースされました。それらについて以下をご覧ください。

What's New in Payara Platform 5.194?

Great news for everyone! Today we released a new version of the Payara Platform (5.194) with many exciting new features including production-ready JDK 11 support, Monitoring Console and MicroProfile 3.2 support. This release introduces 50 bug fixes, 13 new features, 20 improvements and 4 component upgrades.

 Payara Platform  Download Here 

The Payara Monthly Catch for October 2019

Apologies for the late edition this month! Your humble author has been on the road with recent conferences in Europe. But I hope I can make it up to you!

Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

The Present and Future of Java at the GeeCon Conference 2019

Each year, there's one special Java conference for me. It's GeeCon in Prague because Prague is my home city where I work and live and where I know so many great people in the Java community. This year, I had the opportunity to be a part of GeeCon again as a speaker. As is true every year, GeeCon was well organized, with a lot of interesting international and local speakers and a huge crowd of passionate attendees. All of this made the conference exceptional and worth attending.

The Health Check Service In-Depth - Payara Server 5

This is an updated blog of the original which was published in May 2016

Payara Server provides the Health 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 behavior and predict possible failures. All of these automatic checks are very lightweight and run with a negligible impact on performance.

Relationship between Payara Platform, MicroProfile and Java EE/Jakarta EE

Maybe you've already heard about Eclipse MicroProfile, or maybe you don't know what benefits it offers you in your current project. Perhaps you don't see the relationship with Java EE/Jakarta EE - or how you can use it with Payara Server or Payara Micro.

In this blog, I'll give you a short overview of all of the above questions so that you can start using MicroProfile in your next project on the Payara Platform.

How Rakuten Card is Driving Innovation with Payara Platform in a Traditionally Conservative Japanese Tech Culture

Arshal Ameen, the application architect atRakuten Card - the number one credit card issuer in Japan- recently spoke at the 2019 Kafka Summit. His talk focused on how Rakuten Card is driving innovation in a traditionally conservative Japanese tech culture and how Payara Enterprise Support is helping out on this journey. He also shares further information about the company’s future plans for its Payara environment.

The Payara Monthly Catch for September 2019

This month we had Oracle Code One dominate the lions share of everyone's attention with talks and announcements. So you will notice I have included more than my usual amount of videos, that feature some of the talks and panels from the event. Shortly afterwards was the first Jakarta One Virtual conference that finally announced Jakarta EE 8! Which explains the a large rise in Jakarta EE and MicroProfile content. 

Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Payara Services at Oracle Code One 2019

This year marked the second edition of the Oracle Code One conference, which was formerly known as Java One. The conference is one of the most important Java conferences in the world and rightly so for many reasons! Which means that we at Payara couldn't miss being there. We were extraordinary busy at the conference, so we want to share with you a short summary of what happened, what it meant for Payara and for the whole Java community in general.

Prevent Command Execution Failures using Dynamic Instance Naming

When creating instances, it can sometimes be a chore remembering what names are already in use or even coming up with a name to use in the first place!  The Dynamic Instance Naming feature, sometimes called auto-naming, introduces a new option to the create-instance & create-local-instance commands that, when enabled, will resolve any name conflicts or generate a name for you.

How to Run and Debug your Payara Micro Application with IntelliJ IDEA

If you want to run and debug your application from within an IDE using Payara Micro, you need to take different steps and use a different configuration then when you run the application with Payara Server. With Payara Micro, you can start the runtime from a jar file with no previous installation step. In this blog, I'll show you the steps to use IntelliJ IDEA with Payara Micro and how you can perform a hot reload of the application.

管理コンソールによるPayara Serverのモニタリング

モニタリングとは?ロギングとの違いは?

モニタリングとは、サーバーのコンポーネントやサービスの実行時の状態をチェックすることをいいます。

 

サーバーの状態をチェックする方法としては他にロギングも存在しますが、ロギングはサーバーが自身の状態を記録し外部へ伝えるのに対して、モニタリングは外部からサーバー内部の状態を計測する点が異なります。

簡単なデプロイメント・グループの作成 はじめに

 

入門ブログシリーズの続きとして、 このブログでは2インスタンスからなるシンプルなHazelcastデプロイメント・グループをどのようにセットアップするのかを実演します。デプロイメント・グループはクラスタを代替するためにPayara 5で導入されました。デプロイメント・グループはサーバーを管理し、単一のデプロイ対象について、インスタンスが同一構成を共有するクラスタリングを可能とする、より柔軟な方法を提供します。デプロイメント・グループの詳細についてはこちらをご覧ください

Payara Enterprise Support Success Story: JDBC Connection Pool Behaviour

As part of the Payara Enterprise Support services that we deliver to customers on a daily basis, giving expert advice and clarifying how the internals of the products of the Payara Platform work is one of the most common scenarios we encounter. Here's' a story about the advice we gave to one of our customers regarding the behavior of JDBC Connection Pools in Payara Server.

Jakarta EE 8 Specifications Released by The Eclipse Foundation, Payara Platform Compatibility Coming Soon

The Jakarta EE 8 Full Platform, Web Profile specifications and related TCKs have been officially released today (September 10th, 2019). This release completes the transition of Java EE to an open and vendor-neutral process and provides a foundation for migrating mission-critical Java EE applications to a standard enterprise Java stack for a cloud native world. 

Help Maintain PCI Compliance with Payara Support

If your business processes branded credit card data (such as Visa, MasterCard, American Express, and Discover), you must comply with the Payment Card Industry Data Security Standard (PCI DSS). The requirements were developed and are maintained by the Payment Card Industry Security Standards to reduce credit card fraud and implement increased controls around cardholder information. For companies using the Payara Platform, having a Payara Enterprise subscription helps you maintain compliance.

The Payara Monthly Catch for August 2019

August felt a little bit quieter than previous months, with many people gearing up for the busy conference season. However there were still plenty of juicy pieces of content to be found.

 

Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

Rolling Application Upgrades with Payara Micro and Kubernetes

Introduction

Application updates are required as part of the normal maintenance process of your application lifecycle management. These updates should be as smooth as possible, and especially for a micro-services environment, performed with zero-downtime of your Payara Micro application. The Kubernetes Rolling Upgrades feature can help you with this.

Request Tracing in Payara Platform 5.192

Request tracing has been a feature in Payara Platform for a number of years now, and over time it has evolved and changed in a number of ways. The crux of what the feature is remains the same, however: tracing requests through various parts of your applications and the Payara Platform to provide details about their travels.

Certificate Realm Changes in Payara Server 5.192

What is a Security Realm?

A security realm in Payara Server is a component used to authenticate users. Despite all the complicated terminology used in Java EE security, which is not helped by different application servers having their own terminology to describe the same thing, that's fundamentally all it is. The 'certificate' realm is a Payara Platform-specific component used to authenticate users using a certificate store. This will be used, for example, in client certificate authentication.

The Payara Monthly Catch for July 2019

Another great month in the bag. There were awards, conferences, out of incubation releases, competitions, surveys and lots more going on.  Below you will find a curated list of some of the most interesting news, articles and videos from this month. Cant wait until the end of the month? then visit our twitter page where we post all these articles as we find them! 

My JConf Colombia 2019 Impressions

Last week, the Colombian chapter of the Latin American JConf Conferences was held in the beautiful city of Medellin, Antioquia. There were multiple Java related talks across the 5th and 6th of July in two tracks:

Using Jakarta Security on Tomcat and the Payara Platform

Java EE Security API is one of the new APIs in Java EE 8. With Java EE currently being transferred and rebranded to Jakarta EE, this API will soon be rebranded to Jakarta Security, which is the term we'll use in this article. Jakarta Security is part of the Jakarta APIs, included and active in the Payara Platform by default with no configuration required in order to use it. With some effort, Jakarta Security can be used with Tomcat, as well.  

Payaraサーバーへのログインの基本

ロギングはアプリケーションを上手く動作させる鍵となるコンセプトのひとつです。ログはアプリケーションとサーバーが何をしているのかを示してくれます。そして当然のことながら、ログは何かおかしなことが起こったとき、最初に見るべきところとなります。

Business Benefits of Using Kubernetes with Payara Micro

The term “Kubernetes” comes from the Greek “kubernan,” which means to steer or guide. You can think of Kubernetes like a pilot for apps that are stored and run together in containers and other forms of workload distribution software. The Greek “kubernan” was transformed over the years to relate to the term “Govern”, which is another helpful comparison when trying to understand the full capacity of Kubernetes.

 

Work Experience at Payara

This week we were happy to host  William and Imogen who joined us in the Malvern Office for a work experience placement. As an organisation we have been dedicated to involving ourselves and providing educational opportunities for young students. Including our apprenticeship program, work experience placements, speaking at schools and events. Below is a summary from William and Imogen on how they felt about the experience.

Eclipse MicroProfile Fault Tolerance 2.0

On the surface, the changes between Fault Tolerance 1.1 and 2.0 are straightforward. The main new feature is allowing use of the @Asynchronous annotation on methods returning CompletionStage which allows for more elegant composition of asynchronous computation.

 

Tips for Building Cloud-Native Applications

An increasing number of organisations have moved, or are planning to move, to cloud-based hosting and are developing their applications to run in the cloud. However, once it's decided that your next application is going to run in the cloud, there are still a lot of architectural choices ahead of you. Besides obvious benefits like cost reduction, scalability and easier administration, cloud environments bring their own disadvantages and potential risks. In this blog, I'll share with you some tips on how to take care of the most important disadvantages and risks when you decide to build your applications for the cloud.

We will look at the various options for running your application:

Deploy Docker Containers On Azure

 

Several Cloud Providers have the possibility to run your Payara Platform Docker Images on their infrastructure. In this blog, I will describe to you how you can run your application on Microsoft Azure using a Docker Container. All the steps required to perform this are described using the Azure Portal (web-based application) and the Azure Command line.

What Is Kubernetes and How Does It Relate to Docker?

Kubernetes is most commonly used with Docker managed containers, although it doesn't strictly depend on it. Kubernetes defines a Container Runtime Interface (CRI) that container platforms must implement in order to be compatible. These implementations are colloquially known as "shims". This makes Kubernetes platform agnostic so that instead of Docker you're free to use other platforms with corresponding shims, such as CRI-O or KataContainers.

HK2: The Hundred Kilobyte Kernel

HK2 is a rather old dependency injection (DI) framework and is used as the core of Payara Server. Created in 2007 by Kohsuke Kawaguchi (who is also the creator of the Hudson project, now Jenkins) at Sun Microsystems, it followed JSR 330 closely, which was the JSR that introduced the @Inject, @Named and @Qualifier annotations, the very annotations which are also heavily used in CDI.

Swisscom Relied on Payara Support Services to Migrate from GlassFish to Payara Server

When a leading telecoms company in Switzerland, Swisscom, transitioned to Payara Server from GlassFish for their mission critical applications, they found the migration easy and without problems. In fact, having Payara Enterprise Support meant Swisscom had access to a customer-only build which shortened the time to getting a fix to test by two months and 24x7 access to Payara engineers.

Fine Tuning Payara Server 5 in Production

One of the biggest challenges when developing applications for the web is to understand how they need to be fine-tuned when releasing them into a production environment. This is no exception for Java Enterprise applications deployed on a Payara Server installation. 

 

Running a Payara Server setup is simple: download the current distribution suited for your needs (full, web); head to the /bin folder and start the default domain (domain1)! However, keep in mind that this default domain is tailored for development purposes (a trait inherited from GlassFish Server Open Source). When developing a web application, it’s better to quickly code features, deploy them quickly, test it, un-deploy (or redeploy) it and continue with the next set of features until a stable state is reached. 

Scaling Payara Micro Applications with Kubernetes

When using Docker images as the way to deploy your application, many organizations use Kubernetes to manage the containerized version of their application. This blog gives you a short overview of Kubernetes and how to run your Payara Micro application in a scaled fashion by either defining the scaling manually, or automatically by the Horizontal Pod scaler.

Jakarta EE 8 and Beyond

Today the Eclipse Foundation have announced an Update on Jakarta EE Rights to Java Trademarks which has dramatic implications for the future of Java EE and Jakarta EE. The Payara team have only recently learned about this - so we thought we would blog about how we feel this impacts customers and users of the Payara Platform. We'll also give our thoughts on how Jakarta EE should evolve given the constraints outlined in Mike Milinkovich's blog from the Eclipse Foundation.

Microservices for Java EE Developers

Nowadays, the concept of microservices is more than a simple novelty. With the advent of DevOps and the boom of container technologies and deployment automation tools, microservices are changing the way developers structure their applications. With this article, our intention is to illustrate that microservices are a valid option for Java/Jakarta EE developers and how Payara Micro is a robust platform to reach that goal. 

EE Security in Relation to JASPIC, JACC and LoginModules/Realms

Java EE 8 introduced a new API called the Java EE Security API (see JSR 375) or "EE Security" in short.

 

This new API, perhaps unsurprisingly given its name, deals with security in Java EE.  Security in Java EE is obviously not a new thing though, and in various ways it has been part of the platform since its inception.

 

So what is exactly the difference between EE Security and the existing security facilities in Java EE? In this article we'll take a look at that exact question.

 

Payara Server管理コンソールの基礎 - #1 概要とコンセプト

これから数回にわたって、Payara Serverの管理コンソールの基本的な使い方について解説してゆきたいと思います。第1回目は、Payara Serverの管理コンソールの概要と、管理コンソールを使用する上で理解しておきたいPayara Serverのコンセプトについてご説明します。

Specs, RIs, APIs - What Does it all Mean?

There are many acronyms in the Java world. Here's a list of some commonly used acronyms and what they mean.

 

JCP - Java Community Process

The Java Community Process is simply the process by which Java EE was developed. It's an open process that anyone can apply to become a part of. To find out more about the JCP, visit their website: https://www.jcp.org

Behind the Scenes of Payara Server

You might already know that Payara Server originated out of a Glassfish fork. Glassfish being the reference implementation server of Java EE. Let's take a closer look at the components and modules that make up Payara Server.

The Future of the Payara Platform

Goals of the Payara Platform

Four years ago when I made the first pull request into the Payara repository the team had a number of goals in creating Payara Server. The first was to build a robust, reliable and supported open source application server that could be deployed into production environments and the second was to evolve the Payara Platform to enable Java EE developers to embrace new architectural models and new deployment infrastructure like cloud, IOT and containers. We have achieved many of these goals and driven forward others, and they are still our primary focus as we look towards Payara Platform 6.

6 of the Weirdest, Most Obscure Programming Languages

So, I recently dove into the world of esolang and weirdlang programming languages, where the creators try to take the idea of a programming language to the limit with over the top minimalism or weirdness. Here are 6 programming languages I thought were interesting – and some of the weirdest or most obscure!

Java 11 Support in Payara Server Coming Soon

The world is moving in fast forward and the Java ecosystem is no exception. In 2017, the release of Java 9 disrupted the Java ecosystem with the introduction of Java modules. Soon after, the new six months Java release cycle caused another disruption, with three new Java major versions released since then. The Payara team have been working hard to keep up with this new, faster velocity. Although the latest Payara Server version 5.191 doesn’t run on Java 11 yet, we’re very close and can confidently say the next version of Payara Server will run on Java 11.

8 Movies Featuring Coding and Technology That Only Works in Hollywood

In many films that feature computer technology, the film makers often find it necessary to apply some artistic license to its portrayal or force the audience to suspend belief for the sake of the plot. However, sometimes they simply ask too much from an educated audience! Here is a list of some of the worst offenders!

Why Use Docker with Payara Platform? Benefits for your Business

There's a lot of noise revolving around Docker at the moment, and with the current industry focus on the cloud, there's a good reason for that.

 

I hope you would already know why you might want to use Payara Platform in your business, so in this blog I'm going to focus more on why you'd specifically want to use it with Docker in a "business" context. For a start, if you're unfamiliar with Docker, please refer back to our introductory blog: What is Docker and How is it Used with the Payara Platform for a primer.

Help Us Shape Your Journey to the Cloud!

One of our key goals for the Payara Platform is to enable developers to use the Java EE skills they have honed over many years to take advantage of new infrastructure, architectures and programming models. We fundamentally believe that a managed runtime platform combined with industry standard APIs like Java EE and in the future Jakarta EE is a perfect fit for cloud and containerized infrastructure. Java EE has always separated the development of applications from the construction and management of the infrastructure to run those applications using the concept of deployment artifacts. This has a natural fit to cloud and container platforms including in the future serverless models.

 

What's New in Payara Platform 191?

A change in the year means a change in our version number! Slightly later than our usual release month of February, we've tried to include some more changes in the release than a simple number change to make the wait worthwhile: read on to find out more!

 

191 Release Overview Webinar - Watch On Demand

 

Migration from Oracle WebLogic to Payara Server

Migrating from Oracle WebLogic Server to Payara Server can be a simple and straightforward process because both servers rely on the Java EE specifications. Check out our guide for some useful advice on how to migrate!

 

Download the Migration Guide

MicroProfile Starter Launched

MicroProfile

For those who did not come across Eclipse MicroProfile yet, let me give you a quick introduction. In 2016, a group of vendors and individuals started an initiative to optimize Enterprise Java for a microservices architecture.

Benefits of Proactive Support Through Payara Enterprise vs. Reactive Support

Have you ever been in a situation where something not-so-good happened, and you looked back and said “man, I wish I had….” Most of us can think of a time in our lives when we had the opportunity to prevent an undesirable outcome by acting – and didn’t. For example, have you ever planned a trip and declined the purchase of travel insurance, only to find out you have to cancel the trip? You wished you had paid the extra expense to get the insurance, right? Many businesses find themselves in a similar situation when they take a reactive approach to their IT support needs, waiting until a problem presents itself before finding the resources to solve it. Unfortunately, this reactive response to support ends up costing you more in downtime, resources, efficiency and money in the long run.

What is our Degree Apprenticeship all about?

This short video introduces two of our apprentices who are currently also studying for a degree in Technology.  They talk about what they are learning, the challenges they face, their future plans, what they enjoy and what they are currently working on. If you are currently considering a Degree Apprenticeship we hope this may prove helpful. 

The Basics of Logging in Payara Server

Logging is one of the key concepts for successfully running your applications. It tells you what your application and server is doing. And of course, logging is the first place you should look when things go wrong.

 

In this getting started blog around logging, I will explain you the basic concepts of the Payara Server logging module. This should help you get started in the logging journey. (Click here to read the rest of our Getting Started blog posts).

OpenJDK Support FAQs

As of this month, there will no longer be any public JDK 8 releases. This means that security fixes won't be publicly accessible. A Payara support contract lets you take advantage of Payara's partnership with Azul, providing you with access to Zulu Enterprise. This means that you will have access to all future JDK 8 security fixes. Below are some common questions we receive regarding Zulu Enterprise and how it works with a Payara support contract.

 

Jakarta EE 9 - 2019 Outlook

As presumably well known by now, Java EE is in progress of being transferred to the Eclipse Foundation. A lot of work, partially behind the scenes, has been done to make his happen. This work included discussions between vendors and other interested individuals, the vetting of the code in the Java EE repo at GitHub, actually transferring the code from the Java EE repo to the Eclipse repo, and most recently the preparation of the transferred code to be buildable on Eclipse Foundation infrastructure and changing the Maven coordinates over from javax.* to jakarta.*

 

A Presentation about Payara Platform and MicroProfile in Warsaw

In November, my friend Milen Dyankov started it all by inviting me to come to Warsaw to give a talk at a local developer meetup (sponsored by Liferay, Milen's employer). After attending several big conferences during the year, coming to talk at a much smaller event sounded quite relaxing! Visiting Warsaw for the first time was also tempting so I agreed to attend.

 

Did You Know? Asynchronous REST Requests and Responses with Java EE and MicroProfile

Java EE 8 fully supports asynchronous handling of REST requests and responses, on both client and server side. This is useful to optimize throughput of an application or even when adopting reactive principles. MicroProfile type-safe REST client API also supports this concept to allow you to call REST services asynchronously with a much more straightforward way with plain Java interfaces.

Expose JMX Bean Values through MicroProfile Metrics

Payara Server provides many metrics within JMX beans. The most interesting metrics are the statistics around pools for HTTP threads and JDBC Connection pooling.

 

On the other hand, Payara Server also implements the MicroProfile Metrics specification. The retrieval of useful metrics from the running instance in the areas of CPU, memory, Class loading, and other MicroProfile specifications (like Fault Tolerance), are possible through the implementation of the MicroProfile Metrics in Payara Server.