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.

Eat All the Cake! Payara Hosts Another Successful Cake Sale for Macmillan Cancer Support

If you are a regular reader of our Fish Food for Thought Blogs, you probably already know that the Payarans can't say no to a cake ;)  So, once again, we decided to turn our love for cake into something useful and last Friday, the 18th of October, we took part in the Macmillan Coffee Morning, selling a huge variety of home-baked cakes!

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.

Flexisaf Uses Payara Platform on the Cloud

Our Payara Enterprise Support Customer, Flexisaf, is using the Payara Platform successfully on the cloud.  Their CTO, Al Amin Ibrahim, explains further details about their deployment architecture and how our support services has helped them with crucial challenges:

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 support subscription helps you maintain compliance.

Payara Services a Finalist in the Worcestershire Apprenticeships Awards

We are thrilled to announce that for the second year running Payara is a finalist in the Worcestershire Apprenticeship Awards in the SME Apprentice Employer of the Year category.

The finalist ‘Black tie’ event will be held at the Tree Tops Pavilion, West Midlands Safari Park on November 14th. This year, Marc Woods, British Paralympic Swimmer and Gold Medallist will be the host.

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.

Payara Services Builds a Stronger Community and Product Through Customer Surveys – You Can, Too

Love it or hate it, the internet has turned media from a one-to-many communication channel to one that can either reach people one-on-one or open the doors to communicating in a many-to-many direction. Social media and messaging apps further increase the opportunities to reach your customers and invite customers to reach you.

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.

Interning at Payara

This week we hosted James Parish who wanted a hands-on experience with infrastructure and to learn more about how a business works. We were happy to oblige! Below are some of his thoughts on how his time with us went.

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サーバーへのログインの基本

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

Improving Our Health and the Environment One Step (Cake?) at a Time!

The importance of business environmental sustainability and social responsibility is growing and we at Payara Services are doing our best to make sure our impact on the environment and our local community is as positive as possible. In the recent months, we’ve been implementing some changes to further improve in those areas. In addition to some environmentally friendly day-to-day behaviours that we take for granted (such as switching the lights off when we leave the office!) we are now taking some proactive steps to improve and make a more positive impact.

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.

 

Payara Week 3.0

Payara hosted its third Payara Week last month – a week-long internal conference for which we fly in our team from around the world for strategy building across the whole company 

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.

MicroProfile in Action on Payara Japan Tour 2019

A lot of things were completely new for me last week: my first time in Japan, first time on a JUG tour, first time within the Japan Java community. And, it was my first time giving a talk which was translated by an interpreter. I also did live coding during my talk for the first time. It was even the first time I went to a Buddhist temple and a Sumo tournament. And all of it was a blast!

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.

Virtual Payara Day: Our Values Through Communication

“Payarans”. That’s the name we have for all team-members, regardless of whether they work in Payara’s brick-and-mortar offices or whether they’re remote, working from their own home-offices that are spread around the world in diverse places that include Japan, the US, Sweden, Colombia, the Netherlands, Portugal – the list goes on. Ensuring that these remote Payarans feel as much part of the team as those sitting in HQ is a fun challenge for Human Resources, and it’s an important one to get right. After all, without proactively promoting engagement, it’s easy for teams and individuals, particularly those who are remote, to become isolated and for a job to become – well, just a job.

 

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. 

Trix IT Runs 70% of their Java Web Solutions on the Payara Platform in Production with High Availability

We are always keen to find out more about how the Payara Platform is being used by companies worldwide. Listening attentively to users allows us to develop a sound understanding about which services are valuable for them and to continuously develop the platform with end users in mind.

 

A recent company we’ve been in touch with is Trix IT, based in Brazil. We have spoken with Marcos Soares, their Executive Director, and he was happy to share further details of their large-scale Payara Platform usage with us and the community.

 

Find out more about their success story in the interview below:

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.

The Top Musical Genres for Programmers and When They are Most Applicable

Being both a programmer and a musician, I find the best way to keep me rolling forward in any situation is to stick the earphones in, smack on a good tune and get lost in the well composed world of (preferably not) spaghetti code and appropriate jams…

 

But what are the appropriate jams?

 

Today, I’ll talk about my favourite genres of music and where I believe them to be applicable in my programming work cycle.

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.

Trix TI executa 70% de suas soluções Java Web na plataforma Payara em produção e com alta disponibilidade

Estamos sempre interessados em saber mais sobre como a Plataforma Payara está sendo utilizada por empresas em todo o mundo. Ouvir atentamente os usuários nos permite desenvolver uma sólida compreensão sobre quais serviços são valiosos para eles e continuar desenvolvendo a plataforma com o usuário final em mente.

Payara Japan Tour 2019

Recently a few of us from the Payara team went on a grand adventure to tour some of the major cities of Japan. Our mission was to team up with our Japanese partner, Yusuke Yamamoto from Samuraism, and run a series of talks at Java User Groups in: Okayama, Nagoya, Osaka, Sapporo and Tokyo. In Tokyo we visited the GlassFish user group and also sponsored and presented at the bi-annual JJUG event, the largest Java conference in Japan. 

International Trading Compliance

As Payara supplies our support both domestically and internationally, I thought it prudent to attend a recent course hosted by the local Chamber of Commerce regarding International Trade Compliance to understand better the requirements of export …..especially in light of the eventual UK exit from Europe!

Happy 21st Birthday Matt Gill!

CONGRATULATIONS and CELEBRATIONS to our Senior Apprentice Matt Gill who is celebrating his 21st birthday. As 21 is still a ‘special’ birthday in the UK, Payara has given Matt a birthday gift and card and even some celebratory balloons for his desk. Matt brought in a tray of birthday cupcakes to share which were very appreciated.  We all wish Matt a very happy birthday and started to think what he can now do in the UK ‘legally’ which include ; 

Best Fuels for Developers

We all have our little aids that keep us ticking along, tapping that keyboard, making the magic runes do the things. This blog will make me sound very British, and may make you hungry, but here are my five best fuels that keep me making sarcastic comments and writing code when I start to lag on the long days:

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 On Tour in Japan!

We are extremely excited to announce that we will be touring Japan in just a few short weeks. We have teamed up with some of the most prominent Java User Groups in the country and will be delivering a range of talks.

Career Fair at The Chase School

Recently I had an opportunity to take part in a career fair hosted by The Chase School. The school is adjacent to our office which has led to the development of a special relationship between the school and our company. We have taken students for work experience and apprenticeships over the past few years.  We are always looking for opportunities to find new talent locally, and the career fair provided exactly that. The fair was attended by students in year 11 - 13. This provided an excellent platform to promote our degree apprenticeship.

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.

HTTP/2 in Payara Platform 5

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.

How I Learned to Stop Worrying and Love Apprenticeships

I started out as any other student doing A-levels, being force-fed the idea that to have any semblance of success in life I have to be looking at universities, which I partly believed. After passing my A-levels and planning to take a gap-year to mull over going to University, worrying about the £40,000+ debt once I finish, then the job hunt, where you are competing with hundreds (if not thousands) of starry-eyed graduates that have the same degree. What I quickly learned about the IT industry, however, is that a degree doesn't tell a employer how good you are at writing code, because in the industry, experience takes precedence.

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.

Supporting Our Community... with Pancakes!

As a company, Payara takes community very seriously and likes to participate in supporting events in the local area. One of the most recent events that I was able to participate in was the Pancake Race held by Malvern Rotary Club this year on (you guessed it!) Pancake Day - Tuesday, the 5th of March. 

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

Being Welcomed As A New Starter

When I started at Payara, the company treated me and the other new starting apprentice to a meal out with the rest of the engineering team.

 

I think most people would agree with me when I say starting at a new job is daunting. And furthermore, I think most would agree that getting to know your new colleagues can be a large factor in that. Honestly, that was how I was feeling about coming into the new role and approaching this meet-the-team opportunity. But in reality? It made the experience much easier and much more comfortable!

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.

Making the World Better - by Wearing a Sweater! Save the Children Christmas Jumper Day

For Christmas 2018 Payarans reveled in a glory of Xmas jumpers. The range and creativity of some of the jumpers were amazing – everyone showing off their talents when it comes to decorations. So, as well as having fun wearing crazy jumpers on a very cold day in the UK, we also managed to raise some funds for a very worthwhile and deserving charity at this time of year – Save the Children.

Securing Payara Server and Payara Micro with a Supported JDK

As you probably already know, Oracle decided to stop providing public updates for Oracle Java Development Kit 8 (JDK 8) in January 2019. Public updates and security fixes will be provided by Oracle only for the latest version of Oracle JDK, for 6 months until the next new version. While personal users will still continue to get updates for Oracle JDK 8 until December 2020, commercial companies that plan to use it after January 2019 will either need to become Oracle customers or switch to a JDK 8 distribution supported by someone else to receive regular updates with critical and security fixes.

 

Payara Server 4 and Payara Micro 4 Are Entering the Maintenance Lifecycle

The Payara Support Lifecycle policy ensures longevity of your Payara Server or Payara Micro (The Payara Platform) investment. We provide 10 years of support and a well-defined lifecycle model to maintain the stability of your production environment.

 

Starting in February 2019, Payara Server 4 and Payara Micro 4 are moving from Full Support to the "Maintenance" stage of the lifecycle. No new features, enhancements, or APIs will be released for the Payara Platform 4 after February. What does this mean for you? Should you upgrade to Payara Platform 5?

10th Anniversary of Java2Days - Payara Services Had to Be There!

I've been to Sofia, Bulgaria, a couple of times already. It all started with the Java2Days organizers inviting the Payara team to give a talk 2 years ago. But this time it was something special. The organizers joined forces with other IT conferences and prepared a special edition for its 10th anniversary in what is probably the largest building in Bulgaria - the National Palace of Culture.

 

How to Install OpenJDK

If you don’t already have a JDK installed, you’ll need to download and install one before you can deploy Payara Server. We recommend Zulu®, an OpenJDK that is fully compliant with the Java SE standard, 100% open source, and can be downloaded and used for free. Also, should you ever purchase support for the Payara Platform, support for Zulu OpenJDK is included.

 

Download Zulu OpenJDK from their website: https://www.azul.com/downloads/zulu/

 

Did You Know? You Can Control Payara Micro from a DAS

You probably know that a DAS, or Domain Administration Server is an instance of Payara Server, but you probably don't know that from the console of Payara Server you can now manage an instance of Payara Micro directly from the DAS. This means from within the admin console you can send your asadmin commands directly to any Payara Micro instance within your cluster.

 

Impressions from the JVM Conference

The JVM Conference is a smaller conference with two tracks. But smaller doesn’t mean it is not worth attending. There is a very broad variety in topics from plain Java SE, backend development, to micro-services and containers in cloud environments with sessions aimed at Java programmers, operators, QA staff and IT architects. You can get up to speed in the latest trends in many areas.

 

New Feature of Payara Platform 5.184: Automated Health Check Checker

There has been a lot of noise around MicroProfile for quite a while now, and one of the specs provided by MicroProfile are Health Checks. The aim of this spec is to allow you to write a number of health checks that will run when you hit a specific endpoint, the intention being that this endpoint can be periodically poked by a container orchestrator to determine if an instance is responsive and healthy.

Understanding Payara Services OpenJDK Support Benefits

Starting this year, customers that come on board with our support services also have access to commercial OpenJDK support included, thanks to the partnership between Payara Services and Azul Systems' Enterprise Support! If you are interested in Payara Enterprise or our Migration & Project Support but are hesitating and have some doubts about what value this service brings to your organization and environment, this article may help dispel them and give you much needed decision-making clarity.

Making Use of Payara Server’s JMX Monitoring Service – Part 1: Setting up the Service

(This is an update of this blog written in 2016: Making Use of Payara Server's Monitoring Service)

 

Payara Server has for a while now included a JMX Monitoring Service which can be used to log information from MBeans to the server log. Using the JMX Monitoring Service, you can monitor information about the JVM runtime such as heap memory usage and threading, as well as more detailed information about the running Payara Server instance. The information is logged as a series of key-value pairs prefixed with the string PAYARA-MONITORING:, making it easy to filter the output using tools such as Logstash or fluentd.

MicroProfile Talks at Devoxx: Videos

Recently we shared a blog about Ondrej's talk prepared for Code One and Devoxx conferences: Be Reactive and Micro with a MicroProfile Stack. Now, we have his video so you can watch the talk as if you were there! We also enjoyed several other MicroProfile related talks at Devoxx and wanted to share some of those as well. See below for a talk about Jakarta EE MicroProfile WebStandards by Adam Bien, a Java EE/Jakarta EE and MicroProfile discussion with Sebastian Daschner, and a talk about Securing Microservices from Emily Jiang.

 

 

Monitoring Payara Server with JConsole

JConsole is a useful tool for monitoring Java processes. You can collect data from a Java process such as: heap memory usage, thread count, CPU usage, classes loaded and MBean data. This allows you to gauge whether any Java process is using too much system resources. This guide will show you how to monitor Payara as a local process (on the same machine), or a remote process. This blog will assume that you've got a valid JDK and Payara install.

Halloween 2018 at Payara UK

It all started with a Halloween party invitation last October.

 

As I haven’t been to a Halloween Party since I was in my early teenage years -many, many years ago!- I got overexcited one evening and purchased a few spooky items online to wear at the party: wig, face painting and some unnerving crazy lenses.

 

Be Reactive and Micro with a MicroProfile Stack at Code One & Devoxx BE

Our goal within the Payara project is to facilitate innovations in Java web and enterprise applications. There are many areas to innovate but one of my favourite is better and simpler support for reactive programming. I've been exploring this area for a while. I have found some clever ways how to use standard APIs and Payara Platform to write reactive applications. This year in one of my session at Oracle Code One and Devoxx Belgium, I will focus on using MicroProfile API to write reactive microservices with simple code.

 

Eclipse GlassFish Nightly Builds

 

The announcement that the Java EE projects would be open-sourced completely came about a year ago now, meaning the Java (EE) community would receive control over it.

Payara Platform on Microsoft Azure: Accessing SQL Databases

Microsoft Azure provides fully managed Cloud SQL databases for use by your Azure hosted cloud services. Payara® Micro is built to be the best runtime for Cloud Native Java EE and MicroProfile applications. Here’s how to rapidly create a REST web service that retrieves data from an Azure SQL Database and returns it as JSON.

From Monoliths to Pragmatic Microservices with Java EE

It seems like Microservices architecture is almost everywhere these days. For a long time, I used to have a feeling that many people talked about it but very few use it. So I decided to find out how to get the most out of Microservices. I've studied this architecture a lot, experimented with the technology created specifically for Microservices and talked to other people who knew more than me. This how I've met some incredible people. And it's also a reason why I've joined forces with Reza Rahman and Ivar Grimstad to create a Hands-on Lab about our findings, which we'll present at Oracle Code One this year.

Learn More about Secure JAX-RS

Introduction

With the rise of the micro-service architecture, we have seen also a shift from SOAP to REST as the means of exchanging data between parties. REST and JAX-RS are gaining a lot of popularity outside the micro-service world, also.

 

Payara Platform on Microsoft Azure: Container Instances

Azure Container Instances allow you to rapidly deploy containers to the Microsoft Azure cloud without having to manage virtual machines and the corresponding infrastructure. Container Instances can be used to rapidly deploy Java EE and MicroProfile applications using Payara Micro as the underlying platform for your Cloud Native applications.

Using Payara Platform to Rapidly Deploy Applications on Microsoft Azure

The Payara Platform is perfect for deploying Jakarta EE and MicroProfile applications on Microsoft Azure. One rapid option for deploying on Azure is to use Azure Application Services, especially Web App for Containers. The WebApp for Containers service allows you to rapidly deploy production Payara Micro applications onto Azure in seconds, allowing both rapid horizontal and vertical scaling on demand.

カスタムSSL証明書を用いたPayara Serverのセキュア構成

Payara Serverの管理タスクで最も多いものの1つは、他のWebサーバーと同様に、HTTPプロトコルやPayara Serverへのリモート・アクセスをセキュアにするための電子証明書のセットアップです。自己署名証明書または信頼できる認証機関の署名入り証明書のいずれかをお持ちでしょうが、どちらの場合も証明書をPayara Serverのドメインに追加してセキュアな通信に用いるのはとても簡単です。

 

How to Store and Retrieve Data from a Database

In the previous guide, we’ve seen how we can configure the Payara Server to connect to a database and use the datasource from an application. This guide walks you through the process of building an application to store and retrieve data from the database.

Payara for Beginners – Payara ServerをEclipse IDEに追加する

Java EEプロジェクトを作成するにあたって、Eclipseにサーバーを定義してアプリケーションをIDE上でテストできるようにしておくことは重要です。生成物をビルドして手動でPayara Serverにデプロイするよりも、作業がずっとスムーズになります。

How to Write Reactive Applications with MicroProfile

Eclipse MicroProfile is a framework that brings innovative technology to enterprise applications. Both Payara Server and Payara Micro provide the most recent MicroProfile version as soon as possible. Along with the aim to simplify development of microservices and cloud deployment, MicroProfile is continually adopting other modern approaches and patterns like reactive programming.

 

Consuming a REST Service

A REST Service in Java EE can be created using JAX-RS. The contents of such service can be consumed using ordinary HTTP requests to a URL. URLs are typically kept simple and have a logical pattern, so it's easy to type them manually in e.g. a browser. This is different from SOAP, which essentially uses HTTP as well, but is designed to be rather complex and therefor making it not so easy to quickly test something in a browser.

 

Securing a REST Service

If you're building a REST service, then that REST service will expose some kind of data or will allow some kind of interactions with a server. For instance, consider a Facebook REST service that allows you to retrieve your chat history. Naturally you don't want just anyone looking at that history, hence the need for security.

 

Create a User Interface with JSF

JSF is a component oriented MVC (Model View Controller) framework that's a part of Java EE. It comes with a small set of basic components (widgets), a templating engine, and facilities for converting and validating input. JSF strongly builds on other APIs in Java EE. Request handling is build on top of the Servlet API, binding UI components to Java code is mostly done via Java EE's Expression Language, with the Java code being (named) CDI beans. Validation is often delegated to Bean Validation.

Session Replication in Payara Server with Hazelcast

*Note: This blog post is an update to Dynamic Clustering and Failover on Payara Server With Hazelcast, which was written for Payara Server 4.

Introduction

This article continues our introductory blog series on setting up a simple deployment group with Payara Server, carrying straight on from our last blog where we configured sticky sessions for Payara Server.

Configuring Sticky Sessions for Payara Server with Apache Web Server

*Note: This blog post is an update to Configuring Stick Sessions for Payara Server with Apache Web Server, which was written for Payara Server 4.

Introduction

This article continues our introductory blog series on setting up a simple deployment group with Payara Server, carrying straight on from our last blog where we set up a load balancer for our deployment group.

Creating a Simple Deployment Group

Note: This blog post is an update to Creating a Simple Cluster, which was written for Payara Server 4.

Introduction

Continuing our introductory blog series, this blog will demonstrate how to set up a simple Hazelcast deployment group containing two instances. Deployment groups were introduced with Payara 5 to replace clusters. They provide a looser way of managing servers, allowing instances to cluster by sharing the same configuration whilst providing a single deployment target for all of them. See here to read more about Deployment Groups.

Forwarding Requests from Apache to Payara Server 5 on Ubuntu

*Note: This blog is updated for compatibility with Payara Server 5, from our original post created for Payara Server 4:

 https://blog.payara.fish/forwarding-requests-from-apache-to-payara-server-on-ubuntu

 

Introduction

In this blog series, we will aim to give an overview of the basics of using Payara Server in a production scenario using Apache Web Server (sometimes called httpd) and Ubuntu. Many of the concepts described in these blogs do not rely on the tools we are using here and can be applied to other scenarios.

Our aim is to configure the following:

CLIによるPayara Server 5の管理

Payara Server 5が既にリリースされていますので、基本的な事柄をブラッシュアップするにはちょうど良い頃でしょう。これから、Payara ServerのCLIでできることをいくつか見てゆきたいと思います。

コマンドライン・インタフェース (CLI) はコマンドライン (またはターミナル) からPayara Serverをコントロールする手段であり、複数の方法でサーバーの起動、停止、編集を行うことができます。管理コンソールでも必要なあらゆる管理操作を実行することはできますが、CLIを用いると、特にヘッドレス・サーバー (GUIを持たないサーバー) を扱う場合において、あらゆる管理タスクをより素早く簡単に実行できる場合があります。

Payara for Beginners - Payara ServerをNetBeansに追加する

Payara Server上でアプリをテストする時、IDEと連携してアプリをテストできるようにしておくと非常に便利です (そもそも、そのためのIDEですが)。もしNetBeansを使用しているのなら非常に簡単に実現できます。このブログではPayara ServerをNetBeansにセットアップしてWebアプリを実行するための手順をご紹介します。

 

We Will See You at W-JAX 2018!

W-JAX is the leading conference for Enterprise Technology, Software Architecture, Agile and Java in Europe.  We are proud to be sponsoring the "Java Enterprise Day" and will be speaking at the event as well.

Appriss Overcomes Migration Problems and Delivers Critical Customer-Facing Web Apps with the Confidence of Payara 24/7 Expert Support

When Appriss tried migrating from GlassFish 3 to Glassfish 4 they encountered problems that prevented a successful migration. Without support from GlassFish, they were simply stuck. Payara engineers assisted Appriss through a Migration & Project Support engagement to resolve all issues and migrate Appriss production GlassFish applications to Payara Server.

Load Balancing Across Payara Server 5 Instances with Apache Web Server

*Note: This blog post is an update to Load Balancing Across Payara Server Instances with Apache Web Server, which was written for Payara Server 4.

Introduction

Continuing our introductory blog series (Payara Server 5 Basics), this blog will demonstrate how to add load balancing capability to Apache Web Server and forward to our simple Payara Server cluster.

How to Choose an IDE

What is an IDE?

If you're looking to build a Jakarta EE (formerly Java EE) Application, you're going to need a few things to get started. Whether you're building a web application with Java Server Faces (JSF), a web service using REST, an Enterprise Java Beans (EJB) application, or interacting with a database using Java Persistence API (JPA) - you first need Payara Server® or Payara Micro® and an IDE (Integrated Development Environment).

5 Open Source Myths

Open source software is becoming so popular most people likely use it daily without even thinking about it. For example, if you’re using Firefox to browse the internet or WordPress to publish your blog – you’re using open source tools. According to the 2017 Open Source 360 Survey conducted by Black Duck Software, 60% of businesses report an increase in their use of open source in the last year. Despite the growth of organizations taking advantage of open source benefits, there are still many misconceptions surrounding open source software. Here are 5 concerns about open source software and why they should be considered myths:

Microservices for Java EE Developers (Japanese)

今日、マイクロサービスのコンセプトは単に新しいだけではなくなっています。DevOpsの登場、コンテナ技術ブーム、デプロイ自動化ツールによって、マイクロサービスは開発者が手掛けるアプリケーションの構造を変えつつあります。マイクロサービスはJava EE開発者にとっていかにして有効な選択肢となり得るのか、そしてPayara Microとそれが提供する完璧なプラットフォームによってどのようなメリットが得られるのかについてみてゆきましょう。

 

Payara para principiantes: Integrando Payara Server con Oracle 11g XE

La mayoría de las aplicaciones web modernas necesitan alguna manera de almacenar datos en una base de datos. Generalmente, Oracle proporciona la mejor solución de RDBMS en lo que respecta a seguridad, soporte y escalabilidad. Oracle XE es la versión más adecuada para desarrolladores para proyectos pequeños o personales, y además debería ser compatible con la versión completa de la base de datos Oracle. Esta guía te adyudará a configurar tanto Oracle XE y Payara Server.

Payara para principiantes: Añadir Payara Server a NetBeans

Cuando estás probando una aplicación para ejecutarla en Payara Server, continuamente probar la aplicación desde tu IDE es extremadamente util (ese es su proposito, despues de todo). Si estás utilizando NetBeans esto es muy sencillo. Sigue los pasos de este blog para configurar Payara Server en NetBeans para ejecutar tus aplicaciones web.

Clustering and Deployment Groups in Payara Server 5

You probably already know what clustering is, but you might not know that Payara Server 5 automatically clusters. If you use Payara Server 4, you have to manually set up clustering. Payara Server 5 introduces a convenient feature called Deployment Groups. Deployment groups do exactly as the name suggests: it allows you to group a collection of instances that will be the targets of your deployment.

Fine Tuning Payara Server in Production (Japanese)

Webアプリケーションを開発する際における最大の挑戦の一つは、商用環境へのリリース時にアプリケーションをどのように調整すべきかを理解することです。これはJavaのエンタープライズ・アプリケーションをPayara Serverへデプロイする場合でも例外ではありません。

 

New Feature in Payara Server & Payara Micro 5.182: MicroProfile OpenTracing

Introduction

The 5.182 release of Payara Server & Payara Micro (Payara Platform) brings in MicroProfile (MP) 1.3. This introduces a couple of updates to some existing MP specifications, and three new ones: OpenTracing, OpenAPI, and Type-safe REST Client. In this blog I’ll be covering our implementation of OpenTracing.

Benefits of Open Source vs Proprietary Software

Open source software offers a number of advantages over proprietary software. Many businesses prefer open source options as it reduces the procurement barrier. A survey conducted by Black Duck Software and North Bridge revealed that 78% of today’s businesses already rely on open-source software for increased security and the lack of licensing fees. It is estimated that the use of open source saves businesses $60 billion (USD) annually.

 

Back to Basics – アプリケーションをPayara Server / GlassFish 4.1にデプロイする方法

このブログはBack to Basics シリーズの第2回です。


Webアプリケーションを実行するには、まずPayara Serverのようなアプリケーション・サーバーにデプロイしなければなりません。Webアプリケーションにおけるデプロイとは、アプリケーションをサーバー上にインストールすることをいいます。これによりリクエストの処理などを行うことができます。このガイドでは、アプリケーションを実行するためのいくつかの異なる方法をご紹介します。

 

 

MicroProfile OpenAPI in the Payara Platform

One of the new features in Payara Platform version 5.182 is full compatibility with MicroProfile 1.3. In this blog post, I will introduce OpenAPI 1.0, a new API in MicroProfile 1.3. This functionality is available in both Payara Server and Payara Micro in version 5.182. It's also available in version 4.1.2.182 for Payara Support customers.

Setting Up Cache JPA Coordination with the Payara Platform using EclipseLink and JMS/Hazelcast

When it comes to clustering and distributed computing performance, some of the challenges you have to overcome involve cache invalidation and coordination. Fortunately, both Payara Server and Payara Micro come with EclipseLink, which supports cache coordination and invalidation out of the box. This blog will explain how to configure this feature for your Payara Data Grid.  We would also like to thank Sven Diedrichsen who is the community member that created the Hazelcast cache coordination.

A Step-by-Step Guide from Traditional Java EE to Reactive Microservice Design

A workshop given at JPrime conference in May 2018.

Have you wondered how you can improve the design of your applications to improve its performance? You probably heard that reactive design can help achieve better response time and make your applications more flexible. But you’re asking: Do I need to rewrite my applications from scratch? Do I need to learn a new framework for all that? The answer is no, especially if your application is built on top of Java EE and Java 8.

How Decisions Are Made: Jakarta EE and Eclipse MicroProfile

Recently I was tasked with preparing a presentation on an update to Jakarta EE and Eclipse MicroProfile® and it got me thinking about the organisation and structure involved in this huge effort to transform Java EE into a truly open source standard under the Eclipse Foundation. While organising my thoughts I put together a picture showing the structure and tensions of this undertaking to help people understand what various groups do and perhaps how better to get involved. The structure and governance is evolving as I write this so I may not get everything right. 

Deploying to Payara Server Using the Maven Cargo Plugin

When creating a Java EE application it is important to deploy and test it on a server that is as close to the target production environment as possible. If you use Maven in your project, it is possible to do so using the Cargo plugin, which allows you to deploy an application to an instance of Payara Server either locally or remotely. A complete example is available at https://github.com/payara/Payara-Examples/blob/master/ecosystem/payara-maven/pom.xml.

Fundamentos de Payara Server Parte 6 - Creando un cluster dinámico con conmutación por fallas en Payara Server con Hazelcast

Avanzando más nuestra serie de blogs de introducción, esta entrada mostrará como puedes escalar de forma dinámica tu cluster, y como Payara Server maneja la conmutación por fallas entre miembros del cluster.

 

See here for the original version in English language.

 

La conmutación por fallas es la habilidad de continuar proporcionando acceso a nuestro sitio web o aplicación en el caso de que un servidor falle. Es una parte importante de un servicio que goza de alta disponibilidad, cuyo objetivo es minimizar los tiempos de inactividad a lo largo de tu infraestructura de servicios.

Software Company Extends Payara Support Services Benefits to Their Customers

One of the concerns businesses commonly have when considering open source software is whether or not support will be available for questions and problems. iTAC Software AG provides internet-enabled information and communication technologies for the manufacturing industry and had been using Oracle GlassFish 2.1 in 2008 for their customers. Over time, they had some issues with customers requesting fixes and security updates for the application server. Unfortunately, the GlassFish Open Source Edition didn’t provide the fixes, so iTAC decided to look for another open source application server option that would include security fixes and support.

Java EE Security API (JSR 375/Soteria) with JWT tokens

Introduction : 

Java EE Security API (JSR 375) :

The Java EE Security API 1.0 is a new spec for Java EE 8 that aims to bridge some of the gaps that have traditionally been left unspecified and provides the new way to define or configure identity stores and authentication mechanisms.  

Stability Stream Releases: Payara 4.1.181 and 5.181

The Payara Platform stability stream releases are available only to our support customers to provide consistency, security, and stability for your production environment. The stability stream releases provide bug and security fixes to the current feature set of 5.181 and 4.181 for 12 months, with no component upgrades or new features that could potentially cause problems. If you’re in need of a secure, stable production environment, consider investing in Payara Support to receive the benefits of our stability stream releases.

The Future of Cloud-Native, Open Source Java with Jakarta EE

It's here! The Eclipse Foundation has announced the future of Java EE with the release of Jakarta EE ; a cloud-native Java and an open source governance model. As enterprises modernize their infrastructure for cloud, microservices and containers, the technological transformation requires a new governance model that provides faster release cycles to keep pace with innovation, along with an open source, community-driven evolution of the platform.

Virtual Servers in Payara Server

 Virtual servers are a common concept to developers familiar with configuring web servers like Apache HTTP or Nginx. A virtual server represents a placeholder for a physical Payara Server instance to be "visualized" as multiple instances at once, allowing to server requests for multiple domain names. Detailed information on virtual servers can be found in the official documentation for Payara Server.

How to Test Applications with Payara® Server & Micro with Arquillian

Before putting any application out for public access, it’s always worth testing that it works how you expect it to (and also how you don’t expect it to!). Effective testing of applications is something you can spend a week being taught, but for this blog I’ll just cover the basics of running JUnit and TestNG tests against Payara® Server & Micro using Arquillian.

Webinar: What's in Store For EE4J, MicroProfile & Payara Server

There are 2 major changes happening in the Java EE world that Payara is heavily involved in: MicroProfile – an industry collaboration to define microservices APIs on top of a subset of Java EE; and EE4J – the migration of Java EE from the JCP to the Eclipse Foundation.  Also, since Payara 5 has been released, it has brought new and exciting capabilities, and the community versions of Payara Server & Payara Micro have switched from 4 to 5.  

In this webinar presented on the 1st of March 2018, Steve Millidge (Payara Founder) and Mike Croft (Payara Head of Support) give an update on MicroProfile and EE4J, explaining the initiatives’ roadmaps, aims and objectives, and show code samples on how to use MicroProfile with Payara Server. They explained the Payara Server 2018 Roadmap and what the switch from Payara Server 4 to 5 means for Payara users.

Payara Tools Unlocks Eclipse For Payara 5

For a long time Payara, a derivative of GlassFish, could be used in Eclipse using the Oracle GlassFish Tools. With the release of Payara 5, a few problems prevented the plug-in from recognizing Payara 5, meaning Payara 5 couldn’t really be used in Eclipse. A new set of tools again makes it possible to use Payara 5 with Eclipse, along with other improvements.

Flexibility first - Payara Docker Images Allow a Completely Custom Start-up Configuration

We work hard to make Payara Server robust, reliable and innovative so that it's perfect for production deployments. But we never forget about the users and developers. For them, we target flexibility and ease of use in every new feature we add and every tool in the ecosystem we maintain. Our Payara Docker images are an example of it and we're happy for the positive feedback from the user community we're receiving, as well as for the constructive suggestions that help us improve user experience in the future.

 

Taking Payara To The Cloud

It may be hard to believe in 2018, but there was once a time before Amazon Web Services. In 2006, Amazon launched what was to become the most dominant platform in cloud computing - the Elastic Compute Cloud (EC2). While there were a lot of early adopters who could see the benefits of "Infrastructure as a Service" (IaaS) style cloud computing - a notable example being Dropbox - there were many who were sceptical of the hype around the "cloud" and prompted stickers like the one pictured.

What's New in Payara Server & Payara Micro 5?

Payara Server 5 and Payara Micro 5 are here! We've already blogged about some improvements in Payara Server & Payara Micro 5, but there are many more. 

We know you'll be excited to find that this release includes several usability improvements making Payara Server & Payara Micro's architecture even more innovative, microservices-ready, cloud-native and optimized for production deployments.

 

 Payara Server & Payara Micro  Download Here 

 

Using MySQL with Payara Server

MySQL is an open-source relational database you may wish to use with Payara Server, that excels at fast reads and is commonly used as storage for a CMS. This blog will show you how to set up MySQL on Ubuntu and connect to it from Payara Server.

New Relic and DataDog notifiers for Payara Server

As part of release 4.1.2.173, new notifier integrations were developed for Payara Server for the New Relic and DataDog application performance monitoring (APM) services. Both services allow the gathering of JVM statistics, HTTP metrics and support the use of notification for critical events in the server lifecycle management. In this era of cloud services, performance monitoring is an integral part of the IT infrastructure for any organization, which is the reason integration with these services has been brought to Payara Server. This article will show how to correctly set up these notifiers to that purpose.

What's Coming in Payara Server 5?

First quarter of 2018 will bring with it our long-awaited Payara 5, fresh out of Beta. Scheduled for a Q1 release (download the Release Candidate here), Payara 5 brings with it a host of improvements to Payara Server and Payara Micro. Bringing long-awaited upgrades to a raft of APIs, as well as a rethinking of the cluster concept, Payara 5 also brings us up to date with Eclipse MicroProfile 1.2 and the core functionality of GlassFish 5.

 

Payara Server 5 Data Sheet 

Payara Platform 5 & Payara Platform 4 - Development Changes

We are very excited about the upcoming release of Payara Platform 5! With the new Data Grid, MicroProfile 1.2 support and incorporation of the Java EE 8 reference implementations it is shaping up to be a great release. 

 

With the release imminent, I thought now is a good time to let people know about some of the changes taking place in Payara Release Streams and Development, and how this affects both customers and users of the community version of Payara.

 

Payara 5, EE4J & MicroProfile Update  ON DEMAND WEBINAR

Jakarta EE marks a new era

It is highly likely that most people involved in the Java EE community are already aware of the open sourcing of Java EE and the move to the Eclipse Foundation. For those unaware, however, here's a quick primer:

Recent Additions in MicroProfile Config 1.1

Configuration is an important aspect of programming. However, a standard approach to it has been missing in Java for a long time. A year ago, the MicroProfile project decided to change that. I'm glad I could be part of it and help design the new API. One year later, a common configuration API aiming to set a standard is a reality, with several released versions and multiple projects that provide it. Payara Server and Payara Micro have supported MicroProfile Config API since version 4.1.2.173. We added support for Config 1.1 in version 4.1.2.174 and completed the support for all Eclipse MicroProfile 1.2 features in version 4.1.2.181. So let's summarize what's new since Config 1.0.

Monitoring JMX Using the Notification Service

Previously in GlassFish and Payara Server, if you wanted to monitor the status of your application's MBeans, you would have to rely mostly on external programs to capture the data. In Payara Server 174, we integrated the JMX Monitoring service with our existing notification service, meaning that you can now remotely receive monitoring data via any of our notifiers, from email to Slack.

Payara and Zulu: The Perfect Open Source Java Combination

Thanks to Sun Microsystems, Java has an open source history dating back over ten years. 

 

In 2006, the OpenJDK project was announced.  It took a while to remove some lingering proprietary components but, with build 53 of OpenJDK 7, we finally had a fully open source version of the JDK.  This also became the source code for the reference implementation of the Java SE standard as of Java SE 7.

Payara Server 5 Beta 2 がリリースされました!

Payara Server 5 の (おそらく) 正式リリース前の最後となるベータ・リリースには、いくつかの大きな変更が含まれており、最終的な製品が (バグがなければ) どのようなものになるのか、お分かりいただけるようなものになっています。

 

Download Payara Server 5 Beta 2

Read this post in English

Domain Data Grid in Payara Server 5

In Payara Server 5 we will be introducing some major changes to the way clustering is working by creating the Domain Data Grid (see documentation for more info). The Domain Data Grid will be easier to use, more scalable, more flexible and ideally suited for cloud environments and cloud-native architectures. All Payara Server instances will join a single domain-wide data grid for sharing of in-memory data like web sessions, JCache, SSO and Stateful EJBs. 

 

Payara Server 5 Data Sheet 

How to Run Payara Micro on Android (No Root Required)

Have you ever wondered how Micro is Payara Micro?

At first, this was a fun experiment installing a terminal app on my Android phone and playing around with some Linux commands. One thing lead to another and I ended up running a Payara Micro instance on my device! In this article, I'm going to show you exactly how to do that.

 

Payara Server Beta 1 がリリースされました!

お楽しみの、喜びの、奉仕の、そして釣りの (違った、最後のは私が付け加えただけです) 季節がやってきました。そして世界中の皆様、このお休みに (訳注: イギリスはクリスマスと翌日が祝日です) Payara Server 5 の最初のベータ・リリースをお届けします。ダウンロードはこちらからどうぞ本当は何が欲しかったのか、私は知っているんですよ。

 

 Read this post in English

 

Kubernetes Native Discovery with Payara Micro

Payara Micro supports Hazelcast out of the box, and can be used for clustering. This allows members in the cluster to distribute data between themselves, amongst other things. By default, Hazelcast comes with multiple ways to discover other members in the same network. A multicast discovery strategy is commonly used for this purpose; a multicast request is sent to all members in a network and the members respond with their IP addresses. Another strategy must be employed if a member cannot or does not wish to provide their IP address.

Speed up Microservice Development with JRebel and Payara Micro

Admitting When You’re Wrong

Just recently, I have had to admit being wrong. Very wrong. Way back at the start of October, I was feeling the familiar sensation of panic and dread that only happens right before I need to give a presentation that includes a demo! In the end, there were major problems with the AV setup in the room I was allocated, so even arriving as early I could to set up didn’t give the techs enough time to hook up my laptop successfully.

Payara Server Basics Part 7 - Creating a simple Payara Server Cluster in Windows with DCOM

Taking our introductory series onwards, this blog will look at how you set up a simple Payara Server cluster on Windows using the native remote control protocol, DCOM. We will set up two instances on Windows 10, controlled by a third Domain Administration Server (DAS) instance on Windows 7 via DCOM, and cluster them together using Hazelcast. Finally, we will deploy our trusty clusterjsp application to demonstrate how the data is being shared across our instances.

Log directly to Logstash from Payara Server

(Guest blog)

When running multiple instances of an application server, it is quite hard to see correlations between events. One of the best tools to enable that is the ELK stack - Elasticsearch for building fulltext index of the log entries, Logstash for managing the inflow the events, and Kibana as a user interface on top of that.

Solutions for Payara Server exist, that use better parseable log format which can be then processed by Logstash Filebeat in order to have these log entries processed by a remote Logstash server.

 

In our project, we chose a different path — we replaced all logging in the server and our applications with Logback, and make use of the logback-logstash-appender to push the events directly to Logstash over a TCP socket. The appender uses LMAX disruptor internally to push the logs, so the processes does not block the application flow. This article will show you how to have this configured for your project as well.

 

AWS Native Discovery with Payara Micro

Both Payara Server and Payara Micro can cluster together and share data using Hazelcast. Out-of-the-box, there is no configuration needed, since Hazelcast uses multicast to discover and join other cluster members. However, when running in cloud environments like AWS, for example, there are a lot of things which can stop discovery being quite so straightforward. The key thing is that Multicast is not available, meaning another discovery strategy is needed; the most common generic alternative is to use TCP, but this assumes that you know at least the intended subnet that your cluster members will be in ahead of time.

 

Eclipse MicroProfile: a quest for a lightweight and modern enterprise Java platform

Do you still think that Java EE is heavy-weight, cumbersome and doesn’t keep up with modern trends? I’ll show you that there are already production-ready enterprise and open source solutions to bring more flexibility than the traditional Java EE servers from the past. They strive to provide lightweight and extensible runtimes to power microservices, cloud deployments and reactive architectures already. Their individual efforts are naturally followed by an open collaboration within the MicroProfile project.

What's new in Payara Server & Payara Micro 174?

Our last release of 2017 - Payara Server/Micro 4.1.2.174 - is now available for download! The final public release for this year contains over 100 bug fixes, 5 new features and 18 improvements including Soteria support, full MBean integration via the JMX Monitoring Service and wider support for environment variable substitution. Check out the full release notes, or read on for a short summary of 174's major features.
 

Payara Server Basics Part 6 - Dynamic Clustering and Failover on Payara Server with Hazelcast

Further developing our introductory blog series, this post will look at how you can dynamically scale your cluster, and how Payara Server handles failover between cluster members.

 

Failover is the ability to continue to provide access to your website or application in the event of a server failing. It is an important part of high availability hosting, which aims to minimise downtime across your server infrastructure.

Welcome to the Team - Kenji Hasunuma

We’re very excited to announce our new Payara Team member - Kenji Hasunuma - who joined us at the beginning of November! If you've been an active Java EE & Payara community member in Japan I'm sure you recongnize his name :) 

Read along to find out more about Kenji and what he’ll be working on at Payara.

 

Payara Server および Payara Micro 174 がリリースされました

2017 年最後のリリースである、Payara Server/Micro 4.1.2.174 がダウンロードできるようになりました。 今年最後のパブリック・リリースでは、100 以上のバグフィックス、5 つの新機能、18 の改良点を含んでいます。改良点には Soteria のサポート、JMX 監視サービス経由の完全な MBean 連携、環境変数置換のサポート範囲拡大などが挙げられます。完全なリリースノートをご確認いただくか、以下に示す 174 の主要機能概要をご覧ください。

Qué novedades trae Payara Server & Payara Micro 174?

Nuestra última publicación de 2017 - Payara Server/Micro 4.1.2.174 - está ahora disponible  para descarga ! La última versión pública para este año contiene más de 100 bugs corregidos, 5 nuevas funcionalidades y 18 mejoras incluyendo soporte para Soteria, Integración completa con MBean a través del Servicio de Monitorización JMX y un soporte más amplio para la sustitución de variables de entorno. Revisa las notas  completas de publicación , o sigue leyendo para un pequeño resumen de las caracterísiticas más imortantes de la versión 174.
 

Payara Server Basics Part 5 - Configuring Sticky Sessions for Payara Server with Apache Web Server

This article continues our introductory blog series on setting up a simple cluster with Payara Server, carrying straight on from our last blog where we set up load balancer on our cluster.

 

By clustering our Payara Servers together and balancing traffic between them with Apache Web Server we keep the benefits of having our application accessible from a single URL and gain the resilience and expansion prospects from having our application deployed across multiple instances.

Fundamentos de Payara Server Parte 5 - Configurando Sesiones Persistentes para Payara Server con Servidor Web Apache

Este artículo continúa nuestra serie de blogs de introducción para configurar un cluster con Payara Server, continuando desde nuestro último articulo donde configuramos un balanceador de carga para nuestro cluster.

Using HotswapAgent to Speed up Development

As a Java EE developer, I sometimes envy how fast it’s possible to see the result of a code change in a running application with interpreted languages like PHP or JavaScript. With Java, it’s always necessary to rebuild the source code in bytecode, which can be then safely updated only by restarting the whole application. And all developers know that restoring the desired state of the application after a fresh restart takes time and is tedious.

Improvements to SQL Logging in Payara Server 173

A crucial component in many web applications is the use of a database. The chances of using JDBC directly or indirectly to access a relational database (through JPA or other ORM frameworks) on these applications are quite high. A common problem when dealing with relational databases is dealing with SQL queries or statements that take too much time to resolve, thus causing your application to be considered slow in producing results to the user. It's usually better to detect these issues preemptively, before sub-par performance damages your application, and Payara Server has you covered!

 

New Arquillian Container for Payara Server

One of the core steps in every continuous integration process is running integration tests for your application. Unlike vanilla unit tests, integration tests allow you to assess the state of your applications or systems by testing all of its components together (modules, databases, messaging, etc.) and verifying that they work correctly as a whole unit. Needless to say, integration tests are more complex that simple unit tests, have a larger footprint, take more time and are usually saved to test full releases or major changes to implementations.

Introducing the Stuck Threads HealthCheck in Payara Server 173

Since being introduced in the 163 release, the Request Tracing Service has allowed you to see which requests are taking a long time. However, this service will only tell you about requests once they have completed. If a thread is stuck and unable to complete you will not know about it. To resolve that problem, we added the Stuck Threads HealthCheck to Payara Server, which checks for requests that have not finished and outputs their stack trace.

Expanded Request Tracing Service in Payara Micro

As previously reported on this blog, the Request Tracing Service was improved drastically in release 4.1.1.171 and implemented the configuration of a historic trace record storing for increased productivity purposes. In addition to these changes, we also made the configuration on the Request Tracing Service in Payara Micro for the same release. These changes to Payara Micro make it simpler to configure the Request Tracing Service when starting a new instance!

 

MicroProfile Panel - One Year On

Just a little over a year ago, the MicroProfile initiative was born. The community first heard about it at the DevNation conference in San Francisco on the 27th June last year. During the keynote panel, the five founding members (Red Hat, IBM, Tomitribe, LJC, and Payara) announced their collaboration and their main goal - to make it easier for developers to use familiar Java EE technologies and APIs for building microservice applications.

Payara Micro in Docker

The Payara Micro 173 release had a few changes which will make the lives of Docker users easier. This blog will cover the changes which affect Payara Micro in Docker,  demonstrating the following:

  • Using the new Payara Micro 5 Docker image, which provides Java EE 8 features.

  • Deploying applications without the targetted database being present.

  • Adding library JARs from the command line.

'5 ways to improve your Java EE applications in reactive way' - Ondrej Mihalyi at GeeCON 2017

Have you ever wondered how you can improve the performance of your applications under high load? You've probably heard that reactive design can help meet better response time and make your applications more flexible. In this presentation, I will show that you don’t need to rewrite your Java EE applications from scratch to achieve that!

 

REST Monitoring in Payara Server

The Payara Server 173 release includes a technical preview of an upcoming REST Monitoring Service, which is a new service which exposes JMX monitoring MBeans over HTTP. One big problem with JMX is that JMX monitoring uses RMI (Remote Method Invocation), which can lead to a few nightmares if, for example, you have a firewall which blocks connections over RMI ports. The REST monitoring service in Payara Server now provides a service which will be very familiar to users of Jolokia in that it makes this monitoring data available over HTTP, making the data available in a more standard format (JSON) and accessible over a standard HTTP connection.

What's new in Payara Server & Payara Micro 173?

Payara Server and Payara Micro 4.1.2.173 are now available for download! With  58 bug fixes, 30 improvements, 2 security fixes and 5 component upgrades (  see the release notes  for more), t his release sees a number of new features focused on making your life easier, whether you're in development or operations. 
 

What's new in Payara Server & Payara Micro 173?

Payara Server および Payara Micro 4.1.2.173 が ダウンロード できるようになりました。58 のバグフィックス、30 のエンハンス、2 つのセキュリティー・フィックス、5 つのコンポーネントのアップグレードを含んでいます (詳しくは リリースノート をご覧ください)。このリリースでは開発と運用の双方で便利になる機能に焦点を当てています。
 
 

Qué novedades trae Payara Server & Payara Micro 173?

Payara Server y Payara Micro 4.1.2.173 están ahora disponibles para descarga! Con 58 bugs corregidos, 30 mejoras, 2 correcciones de seguridad y 5 actualizaciones de componentes (ver las notas de publicación para más detalles), esta publicación comprende un número de nuevas características enfocadas en hacerte la vida más fácil, ya sea que seas desarrollador o pertenezcas al personal de operaciones.

 

Securing a Payara Server Cluster using NGINX

In order to make a cluster of servers appear as one server, you need to introduce a load balancer. A load balancer will accept a request, and redirect it to one of the members of the cluster depending on a given configuration. A web server such as NGINX or Apache can act as this load balancer as well as a reverse proxy, which allows the web server to load balance requests across the cluster, act as a termination point for SSL connections to reduce strain on the cluster, as well as cache server content for quicker access. In this blog, we will set up NGINX as a reverse proxy and secure it using SSL.

 

Using the Payara Micro Maven Plugin

Back in May, we announced the 172 release of Payara Server and mentioned a preview of our Maven plugin for Payara Micro, available on GitHub. Since then, we have released the plugin to Maven Central so, to illustrate it's use, I'll be revisiting my earlier blog on another feature of Payara Micro 172 - the ability to use Payara Micro as a JMS consumer.

 

Nadando río arriba: Avanzando con Eclipse MicroProfile y JDK8

Eclipse MicroProfile es una especificación para un conjunto de APIs diseñadas para construir MicroServicios. Este proyecto ha existido desde hace más de un año y es algo con lo que Payara está altamente comprometido. Los lectores a los que les gusta estar al día con las noticias desde a comunidad de Java probablemente serán conscientes de como el proyecto ha progresado a grandes saltos últimamente. Está siendo un camino largo y arduo desde la versión 1.0 a la versión 1.1 de la especificación pero, en este momento, mucho ha sido desarrollado y hay multitud de APIs actualmente en desarrollo.

See here for the original version in English language.  

Swimming Upstream: Moving Forward with Eclipse MicroProfile and JDK 8

The Eclipse MicroProfile is a specification for a set of APIs appropriate to building MicroServices. The project has existed for over a year now and is something that Payara is highly committed to. Readers who like to keep up-to-date with news from the Java community will probably already be aware of how the project has progressed in leaps and bounds lately. It's been a long road from version 1.0 to version 1.1 of the specification but, in that time, a lot has developed and there are multiple APIs currently being worked on.

Read this post in Spanish.

 

Payara Server Basics Part 4 - Load Balancing Across Payara Server Instances with Apache Web Server

Continuing our introductory blog series, this blog will demonstrate how to add load balancing capability to Apache Web Server and forward to our simple Payara Server cluster. 

A load balancer can redirect requests to multiple instances, primarily for the purpose of distributing incoming requests between cluster members based on pre-determined rules. This could be a simple "round-robin" algorithm, where the workload is distributed to each instance in turn, or a weighted algorithm where requests are delivered based on a pre-determined weight for each cluster member.

Fundamentos de Payara Server Parte 4 - Balanceo de Carga a través de Instancias de Payara Server con Servidor Web Apache

Continuando con nuestra serie de blogs de introducción, este blog va a demostrar como añadir la capacidades de balanceo de carga a un Servidor Web Apache y asi re-enviar las peticiones HTTP a nuestro cluster de Payara Server.

Resolving Library Conflicts with Class Whitelisting

Many applications, especially complex legacy ones that are packaged with a large number of libraries, may contain libraries that are also shipped with Payara Server (like Google Guava or Jackson for example). These types of conflicts can be very hard to track down and solve. Starting from the  171 release of Payara Server, there is now another solution in the toolbox which can help with resolving these dependency conflicts.

Security Auditing in Payara Server - Part 1

Security is always a concern you must have when implementing applications that will run in production environments. Both the JVM and Payara Server have a strong tool set of security implementations for most use cases in the industry, so you won’t have to worry about implementing your own security measures from scratch.

Using Hibernate 5 on Payara Server

Hibernate is the object/relational mapping tool that handles mapping of Java classes to relational tables and Java types to SQL data type. It’s a well-known framework in the Enterprise Java eco-system since it’s being actively developed for the last 16 years.

With this article, I’m going to show the ways of using Hibernate inside a sample application – source code available here – and deploy it onto Payara Server. I will be using the latest version of Hibernate, which is 5.2.10.Final at the time of writing.

 

Cloud Connectors in Payara Micro

Payara Micro 172 brings with it support for JCA adapters, meaning it can be used as a client for Java Messaging Service (JMS) brokers. JMS is a Java EE API which provides a common interface for standard communication protocols. This means that you can send and receive messages between systems in a platform and language independent way. With Payara Micro now supporting JMS, you can setup your Micro instance as a JMS client with Message Driven Beans (MDBs) to listen and respond to messages from other systems through a message broker.

 

Oracle Code Prague - Impressions & Videos

At the end of April I had a pleasure to speak at the Oracle Code event in Prague. 

Oracle Code is a new series of free events, hosted in different locations around the world and aimed at Java developers, giving them an opportunity to learn about the latest dev technologies, practices and trends.

What's New in Payara Server 172?

This spring's silver lining, Payara Server 4.1.2.172, a highly cloud-focused release, is now available!

Focusing on enhancing Payara Server and Payara Micro's ease-of-use in cloud environments, we've brought in new features to make working with Docker more seamless and secure, native support for SaaS monitoring solutions and a huge increase in messaging capabilities for Payara Micro! Inside this quarter's release you will find 54 fewer bugs, a host of ecosystem and cloud improvements, and an update to match GlassFish 4.1.2. Carry on reading for a summary of this quarter's changes, or check out the full release notes for a complete list of changes.

Using the JMS Notifier with Payara Micro

Payara Server 171 was a huge release with lots of new features and improvements on many others. We've already written about improvements to the Request Tracing service and had a guest blog about using the email notifier.

The email notifier is just one of a whole host of notifiers we now have available. A lot were added in the 171 release and more are on their way in the imminent 172 release!

Taking a Thread Dump of Payara Server

Thread dumps are a useful tool for debugging an application that's running slowly, or is otherwise causing problems. A thread dump is a snapshot of what each running thread is doing at a particular moment. It allows you to see if a thread is running, waiting, or stalling. This two-part guide will show you how to take a thread dump of Payara Server, and how to get useful information from it.

 

Enhanced EJB Pool Controls in Payara Server

In prior releases of Payara Server, it was not possible to control the maximum number of concurrent Stateless EJB instances in Payara Server. It was, however, possible to control the number of pooled Stateless EJB instances, as well as concurrent MDB instances. These features were available in Oracle GlassFish Server 3.1 and earlier but not in the GlassFish Open Source editions (3.1.2.x and 4.x).

In the current release of Payara Server (171), it is now possible to limit concurrent Stateless EJB instances that are dispatched, allowing fine-grained control of resources, limiting surface area for DDOS attacks and making applications run more smoothly and efficiently.

 

Payara Micro 171 - New Features Demo

This quick vlog shows off a few of the recent features and changes we added to Payara Micro in the 171 release. In it, we’ll cover sending asadmin commands to Micro instances from the DAS, how config changes in a pre-existing Payara Micro domain now get packaged up when creating an Uber JAR, as well as a couple of quality of life changes we’ve added.

 

Payara Server Basics Part 3 - Creating a Simple Cluster

Continuing our introductory blog series, this blog will demonstrate how to set up a simple Hazelcast cluster of two instances.

 

In contrast to a development environment, where a single server is enough to act as a "proof of concept", in production it is usually necessary to look at reliably hosting your application across multiple redundant hosts to guarantee a reliable service and allow for future scaling. With Payara Server, it is possible to easily create and add instances to clusters using Hazelcast, making configuration of a distributed application a breeze.

 

Payara for Beginners: Integrating Payara Server with Oracle 11g XE

Most modern-day web applications need some way to store data in a database. Oracle arguably gives you the best RDBMS solution when it comes to security, support, and scalability. Oracle XE is the version that is most suitable for developers for small or personal projects, and should also be compatible with the full version of Oracle database. This guide will walk through the configuration of Oracle XE, and how to configure Payara Server to use it.

Welcome to the Team - Arjan & Gaurav

We’re very excited to announce two new Payara Team members - Arjan Tijms and Gaurav Gupta, who joined us last week!

 I'm sure some of you recognise their names - both Arjan and Gaurav are passionate Java EE advocates and community contributors. Arjan is a member of the JCP, Founder of the OmniFaces project and the zeef.com website; while Gaurav is a NetBeans Dream Team member and a creator of Jeddict ( formerly known as JPA Modeler).

 

Read along to find out more about Arjan and Gaurav and what they’ll be working on at Payara.

 

Payara Server 171 - Expanded Request Tracing

Since being introduced as a technical preview, the Request Tracing Service has been improved and polished to meet production quality requirements. In the latest Payara Server version 171, it was extended to allow tracing of more request types and more events that happen during the requests. It can also remember traces of the slowest 20 requests for viewing them later, though the number stored can be increased or decreased.

Payara for Beginners - Adding Payara Server to IntelliJ IDEA

When testing an app to be run on Payara Server, it can be extremely useful to be able to test your app continuously in your IDE (after all, that’s what it’s there for). If you're using IntelliJ IDEA, this is made very easy. Follow the steps in this blog to setup the Payara Server in IntelliJ for running your web apps. Note: Java EE support is only included in IntelliJ Ultimate Edition, so this blog will assume you are not using the Community Edition.

 

Payara for Beginners - All You Need to Know About Nodes

When developing an application on Payara Server, it is very common to deploy directly to a local Domain Admin Server (DAS) instance, since this is the easiest and most straightforward way to test some code quickly from an IDE. When taking an application further towards production, however, it is highly likely that a domain with several standalone or clustered instances will be used across remote hosts. In this case, it will be very hard to ignore an aspect of Payara Server that may not have been obvious before this point - the concept of nodes.

 

This blog post will cover both what a node is and the types of nodes available with Payara Server.

 

Payara para Principiantes - Todo lo que necesitas saber acerca de los nodos

Cuando se desarrolla una aplicación en Payara Server, es muy común desplegar directamente en la instancia local del Servidor de Administrador de Dominios (DAS), ya que esta es la forma más sencilla y directa para probar rápidamente las aplicaciones desplegadas en su desarrollo. Al llevar una aplicación a producción, sin embargo, es muy probable que se utilice un dominio con varias instancias independientes o en cluster que residen en múltiples servidores remotos. En este caso, sería muy difícil ignorar un aspecto de Payara Server que puede no haber sido obvio hasta ahora - el concepto de nodos.

How to Configure the Email Notifier with Payara Server 171 & Gmail

The latest version of Payara Server extends the Notification Service with many ways how to process notifications and send them to external services.  Sending notifications as email messages to an SMTP server is now provided out of the box. It is even possible to use an account on a public email server, such as Gmail. In this guest blog, Alessio Gennari - a member of the Payara open source community - explains to you exactly how it can be done.

 

'Demystifying Microservices for Java EE Developers' - new guide now available!

Lately there has been a lot of talk about microservices - a new way to develop and design enterprise applications. In this document, written by David Heffelfinger - an independent Java EE expert - we aim to cut through the hype, explaining microservices in terms that make sense to Java EE developers. 

 

Microservices for Jakarta EE Developers  Download the Guide

 

Payara for Beginners - Adding Payara Server to NetBeans

This blog uses NetBeans 11.1. If you're using an older version, you may need to perform slightly different steps to get the same result.

When testing an app to be run on Payara Server, it can be extremely useful to be able to test your app continuously from your IDE. If you're using NetBeans this is made very easy. Follow the steps in this blog to setup NetBeans to use Payara Server for running your web apps.

What's new in Payara Micro 171?

In case you missed the news earlier this week - we are pleased to announce a new release of Payara Micro and Payara MicroProfile 171 to start the new year with a bang! With this new release, we have implemented substantial changes that are meant to improve the stability and usability of both 'regular' and MicroProfile version of Payara Micro. As is usual with our releases, keep special attention to our blog in the following weeks to read detailed articles on these changes and features to take full advantage of them!

 

For Payara support customers, LTSLong Term Support - has been introduced for both Payara Micro and Payara MicroProfile so you can expect a full year of patch releases which only include fixes - great news for users who value stability over new features (find out more about the support services here)! 

 

All new changes and features introduced in this release are also included in Payara MicroProfile unless explicitly stated.

 

What's new in Payara Server 171?

Kick-starting yet another year, we are pleased to announce our largest release yet - Payara Server 4.1.1.171. Building on a year's worth of updates and improvements, in this release, you can find 18 brand new features and over 60 new fixes and enhancements for Payara Server & Payara Micro! Given the size of the additions, look out for detailed blogs in the near future. For now, check out below for a summary of the changes in 171 release, and have a look at the full release notes.

 

 Download Payara Server 

2016 Tech Conferences - Java EE & Microservices

Throughout the last year, the Payara team were tracking all the important activities related to Java and Java EE. We attended many conferences, actively participated in lots of community activities, and we helped to found a completely new MicroProfile initiative, with the aim to facilitate innovation in the enterprise Java space.

 

With this article I'd like to look back at 2016 to share my impressions from the past year with you and outline what we at Payara expect to happen in the Java world in 2017.

 

Payara Server Basics Part 2 - Forwarding Requests from Apache to Payara Server on Ubuntu

In the first blog of this series, we configured our Apache Web Server. Our next step will be to set up request forwarding to send traffic to Payara Server. If you need guidance on installing Payara Server on Ubuntu, we already have a blog post covering the installation of a JDK and Payara Server which we would recommend you read before continuing with this blog.

 

A Curious Case of Java EE – 2016 Recap

Let’s rewind to the first half of the year

2016 - what a year it was for Java EE! As most of you probably remember, around spring time, some worrying rumours started spreading in the Java community about Oracle abandoning Java EE. To make things worse, crucial members of the Oracle Java EE team were leaving, including Cameron Purdy, Reza Rahman, Mark Heckler and John Clingan.

Payara Server Basics Part 1 - Installing Apache on Ubuntu

In this blog series, we will aim to give an overview of the basics of using Payara Server in a production scenario using Apache Web Server (sometimes called httpd) and Ubuntu 16.04. Many of the concepts described in these blogs do not rely on the tools we are using here and can be applied to other scenarios.

Fundamentos de Payara Server Parte 1 - Instalando Apache en Ubuntu

En esta serie de blogs, intentaremos dar una visión general de los fundamentos de utilizar Payara Server en un entorno de producción utilizando Apache Web Server ( comúnmente conocido como httpd) y Ubuntu 16.04. Muchos de los conceptos descritos en estos blogs no se basan en las herramientas que estamos usando aquí y se pueden aplicar a otros escenarios.

See here for the original version in English language. 

Payara Conference Presentations - 2016 Summary

 

2016 was a great year for us - the Payara Team was extremely busy attending and speaking at the various events and conferences, especially in the last couple of months. We went to JavaOne in San Francisco, Devoxx in Antwerp, W-JAX in Munich, GeeCon in Prague, JDD Conference in Krakow - and that's just to name a few!

 

Below you will find a selection of the recorded talks ( in English, Spanish & Czech language) from some of the events we've had a pleasure to present at in 2016.

 

Java EE claimed obsolete by Gartner. Is that really true?

As a long-term Java EE developer, consultant and lecturer, over the years I've seen Java EE evolving into a solid, carefully thought out, flexible platform, and one of the most lightweight enterprise frameworks. Therefore I was very surprised to read so many negative and incorrect claims about Java EE in the recent Gartner report "Market Guide for Application Platforms", written by analysts Anne Thomas and Aashish Gupta. The report claims that Java EE is not lightweight, has become obsolete and hasn't kept pace with modern architectural trends. These statements are made very confidently, yet are rather surprising, especially coming from such a well-known advisory company!

 

Mike Croft for TechTarget -Configuration JSR, microservices & Docker

In his second interview for TechTarget, Mike Croft - Payara's Support Engineer - talks about the benefits of having a configuration standard as part of Java and Java EE. Mike is also sharing his views on how container-based technology is changing the way application servers are developed, along with how microservices are being deployed.

 

CDI Scanning in Payara Server

The capability to disable implicit CDI scanning was already added to the previous Payara Server releases but the default admin console setting was to enable it at deploy time. We have now made a change so that the value added to the deployment descriptor is the overriding setting and the admin console setting will be ignored.

 

For even more control, we have added the ability to explicitly include or exclude JARs within an Application Deployment from CDI scanning. You can now, for example, include all JARs by default and exclude some named ones, or do the opposite and exclude all by default and only include some named ones.

 

The MicroProfile at Devoxx: Learning Our Way Forward

2016 has been a bit of a wild ride, to say the least. Lots of major things have happened politically and in popular culture. Considering the world of Java and its related ecosystems, we've seen a lot of activity too, with announcements about the delay of Java 9, the concerns raised by the Java EE Guardians (shared by many), and a largely unprecedented move in the establishment of the MicroProfile initiative.

 

Payara Server LDAP Integration - Part 3: Extracting User Information

In this three-parts article series I'm illustrating the implementation of the LDAP integration using a sample scenario: integrate Payara Server with a LDAP user directory and manage the authentication and authorization of a sample web application.

 

In Part 1, I showed you how to start the LDAP Server, while in Part 2  we configured the LDAP realm. Now you are probably wondering how to get the user’s information (first and last name, email address, etc.) that resides in the LDAP server. Unfortunately, the JAAS API doesn’t offer any standard mechanisms to access this user attributes in the directory tree. But there are other options available:

 

What's new in Payara Server 164?

Another quarter, another release! After an eventful 2016, November brings with it the final release of the year for Payara Server. This year, we've seen new services like Request Tracing and Health Check added, as well as the Slow SQL logger and SQL Trace Listeners. Revisiting the version of the documentation from 1 year ago and comparing the amount we have added since then is, frankly, astonishing!

Despite a bumper year for both new features and bug fixes, work continues apace! Below is a short summary of some of the things to look out for in a release that caps an incredible 12 months.

 

 Download Payara Server 

 

Payara Server LDAP Integration - Part 1: Configuring the LDAP Server

If you work in an organization with a robust IT department, it's very likely that you are using a LDAP server to handle your user directory information. You probably have to follow some general guidelines dictating that all web applications deployed within the organization’s infrastructure must access this user directory; and must authenticate and authorize the users that will interact with them. This is a very common scenario nowadays.

Java EE Presentations at the JavaOne Conference

JavaOne 2016 might be a thing of the past now but the talks presented there are still very relevant! Luckily for those who couldn't make it to the conference in San Francisco in September, a lot of the presentations were recorded and are now available to watch on-line (see a full list here).

Here's our selection of the most interesting, recorded JavaOne 2016 talks that focus on Java EE. 

 

How to Set Advanced Payara Server HTTP Listener Options

In order to fine tune a HTTP listener, the Payara Server administration console provides the means to configure a wide range of options. Besides the basic configuration available for a HTTP listener in the HTTP service section, it is also possible to set low-level configuration details in the HTTP tab of the same network listener in the Network-Config section.

 

How to Contribute to Payara Server

As you probably know, Payara Server was created as an effort to fill the gaps that Oracle left when they dropped commercial support offerings for Glassfish Open Source Edition 4.x versions. However, our goal at Payara Services is not only to fill these gaps in support, but to strengthen the Community around Payara and GlassFish as well. For this to happen, we encourage all Payara Server & Payara Micro users to contribute to the Community - and there are a couple of ways to do so.

Using Payara Embedded as an Arquillian Container Inside IntelliJ IDEA

With this article, I'm going to integrate Payara Embedded with Arquillian by having it defined inside a sample Maven based application - source code available here - which employs an integration test implemented by the Arquillian framework.  You can also find our previous post about Arquillian and the Payara Server available here, but this time I’ll take it one step further and move onto the IDE side. In this example, I will execute tests just like any JUnit test; meaning the test will be executed directly through the IDE with help of a right-click. I will also configure Payara Embedded as the Arquillian container inside the IDE.

 

Payara MicroProfile 1.0 Released

Back in June we announced MicroProfile with RedHat, IBM, Tomitribe, LJC and SouJava and Microprofile.io was launched as a location for community collaboration on Enterprise Java Microservices. In the announcement each of the vendors promised to have a MicroProfile runtime ready and available in time for JavaOne. Well  after much beavering away here in the Payara Engineering team we have just pushed onto Maven Central our 1.0 release of Payara MicroProfile.

 

Request Tracing Service in Payara Server & Payara Micro

Have you ever wondered whether your application is slow to respond to requests? Which requests take the longest to respond to? And what you can do about it? Payara Server aims to provide the best tooling you would need to identify performance issues, identify their causes and help you solve them. One part of this tooling is the new Request Tracing service, available in Payara Server and Payara Micro from version 163 as a technical preview.

 

Payara Server Rolling Upgrades

Any project, large or small, would ultimately like to follow industry best practices, such as continuous deployment.  In order to support this, applications must be deployed early and often.  This, in turn, triggers downtime and the users get affected by it because they could be logged out of the website, or worse, their work gets lost because the application's intermediate state is not saved - never mind the actual downtime during the application deployment process.

 

Rolling upgrades solve this problem in an efficient way!

 

Payara Server in Production - Quick Tip

TIP: Don't deploy any apps to the DAS in production!

Why?

As is the case with all my stories, this one began at a customer site. They had an old app they were migrating from GlassFish 3.1.2 to the latest version of Payara Blue. They'd called me in because they wanted to benchmark performance of the new version of Payara Blue on AIX against their existing GlassFish 3.1.2, also on AIX, as well as against a recent version of JBoss (I'm unsure of the version, though I know it was deployed on Windows).

Persistent EJB Timers in Payara Micro

Payara Micro is packed with a lot of the APIs that come with Payara Server Full Profile, and even more features targeted at clustered deployments. Now, since version 163, it is also possible to use persistent EJB Timers, which are stored across your micro instances inside the distributed Hazelcast cache.

 

 

 

Making Use of Payara Server's Monitoring Service - Part 3: Using Kibana to Visualise the Data

 

When Payara Server has been logging monitoring data to the server log for a short while, the metrics that Logstash outputs to Elasticsearch can be visualised using Kibana. In this blog post, we will create a date histogram displaying used heap memory as a percentage of the maximum heap memory.

 

See Part 1: Setting up the Service

See Part 2: Integrating with Logstash and Elasticsearch

 

Making Use of Payara Server's Monitoring Service - Part 2: Integrating with Logstash and Elasticsearch

 Following the first part of this series of blog posts, you should now have a Payara Server installation which monitors the HeapMemoryUsage MBean and logs the used, max, init and committed values to the server.log file.  As mentioned in the introduction of the previous post, the Monitoring Service logs metrics in a way which allows for fairly hassle-free integration with tools such as Logstash and fluentd.

 

Often, you might find it useful to store your monitoring data in a search engine such as Elasticsearch or a time series database such as InfluxDB. One way of getting the monitoring data from your server.log into one of these datastores is to use Logstash.

This blog post covers how to get monitoring data from your server.log file and store it in Elasticsearch using Logstash.

 

Making Use of Payara Server's Monitoring Service - Part 1: Setting up the Service

(note: there is an updated version of this blog post available here https://blog.payara.fish/making-use-of-payara-servers-jmx-monitoring-service-part-1-setting-up-the-service)

 

 With the release of version 4.1.1.163, Payara Server includes a JMX Monitoring Service (technical preview) which can be used to log information from MBeans to the server log. Using the Monitoring Service, you can monitor information about the JVM runtime such as heap memory usage and threading, as well as more detailed information about the running Payara Server instance. The information is logged as a series of key-value pairs prefixed with the string PAYARA-MONITORING:, making it easy to filter the output using tools such as Logstash or fluentd. 

 

In this blog series we're going to show you exactly how to use the new Payara Server Monitoring Service. First, we'll take a look at setting up the service - let's get started!

 

What's new in Payara Server 163?

As we enter the third quarter of the year, that can only mean one thing: Payara Server 163 is here! With this release, we’ve managed to cram in 44 bug fixes, 34 enhancements, 6 new features and 6 component upgrades. One of these new features is the tech preview of our new Request Tracing service, which I’ll explain in more detail below.

 

Steve Millidge for Java Magazine - Custom Servlet Authentication Using JASPIC

The new Java Magazine is out now, featuring a lot of useful articles about enterprise Java - not so much Java EE as a platform, but individual services that can be useful as part of a larger solution. See below for an introduction to my article on Custom Servlet Authentication Using JASPIC, also featured in the magazine. 

 

ForgeRock Integration with Payara Server - Part 2: Access, Deploy & Test

Click here to see part 1 (Installation)

 

Access Configuration

Now that the ForgeRock tools have been installed, we will configure them with some basic access configuration. First, proceed to login to the OpenAM application (context /openam) with the amadmin user, and the application will show you the current realm configuration for your domain:

 

Payara Team Q&A

The recording of the Payara Team Q&A session, broadcasted live on Wednesday the 20th of July, is now available to watch on YouTube!  Payara Engineering and Development Team answered questions from the community (listed below) and discussed Payara Server, Payara Micro, future releases, upcoming features, best practices, use cases and more.

 

Payara Server 162 - New Features Recap

In this short video recap, Ondrej Mihalyi ( @OMihalyi )- Payara Support Engineer – gives you an overview of the Payara Server 162 Release Notes. Tune in to find out more about the most useful developer and operations features in Payara Server and Payara Micro 162, Payara Documentation update, new Docker images, new demos, how to contribute and more.

 

ForgeRock Integration with Payara Server - Part 1: Installation

Click here to see Part 2 (Access, Deploy & Test)

Introduction

Today, one of the most important concerns for enterprise applications is to implement robust security mechanisms that allow developers and operation staff to easily integrate applications in a stable infrastructure and allow their users to interact with them in a seamless way. While many developers prefer to implement their own security mechanisms or use third-party libraries, a good alternative is to use already established products that handle authentication, authorization, confidentiality, identity, and entitlement on behalf of already developed applications.

 

Join the Payara Team Live Q&A - 20th July, 4pm BST

Do you want to find out more about Payara Server, Payara Micro, future releases, upcoming features, bug fixes, our view on the latest industry trends, use cases or customer stories? Just post your questions in the comments below - our Payara Engineers' Panel including Mike Croft ( @croft), Ondrej Mihalyi (@Omihalyi), Fabio Turizo, Andrew Pielage ( @Pandrex247 ) and Dominika Tasarz ( @Dominislawa - event host) - will answer them during the 1-hour live Google Hangouts session!

 

Flexible Clustering with Payara Server

Application server clustering provides a means to make application infrastructure more robust and perform better. However, it is often very inflexible and even a small change in the cluster topology can involve serious maintenance costs. Payara Server supports a new way of clustering based on Hazelcast, which brings much more flexibility, decreases maintenance costs and adds the benefit of JCache support out of the box.

 

Payara Collaborates with Red Hat, IBM, Tomitribe & LJC to Bring Microservices to Enterprise Java

Today at the DevNation conference in San Francisco, Payara’s Mike Croft appeared onstage during the Keynote, joined by Mark Little from Red Hat, Alasdair Nottingham from IBM, Theresa Nguyen from Tomitribe and Martijn Verburg from the London Java User Group to announce a new community collaboration called MicroProfile

 

The goal of the MicroProfile initiative is to make it easier for developers to use familiar Java EE technologies and APIs for building microservice applications.

 

     Eclipse MicroProfile       Find out more

 

The HealthCheck Service In-Depth - Payara Micro

The HealthCheck Service provides automatic self-monitoring in order to detect future problems as soon as possible. The HealthCheck Service was introduced in Payara Server and Payara Micro version 161 and some new metrics have been added in version 162.

All the functionality of the HealthCheck Service that is available in Payara Server is also included in Payara Micro. However, as Payara Micro differs in some concepts from Payara Server, the usage and configuration of the HealthCheck Service is slightly different. In this post, we will focus on how to use it in Payara Micro.

 

Payara Docker Images - Update

A year ago, we brought you our first Docker images. Today, we have updated them with a few changes and refinements.

 

Payara Docker Images

 

For those already familiar with Docker, here are the key points:

How to Upgrade Payara Server

Since Payara Server is on a regular and frequent release cycle, we get a lot of questions on how to upgrade to the latest version while maintaining existing domain configurations.

 

The answer to the question of “how do I upgrade?” is always “it depends”, because everyone’s situation is going to be slightly different. This blog will cover some of the most straightforward ways which should apply in the majority of cases.

 

Piyara - Payara Micro on Raspberry Pi Demo

If you've read my interview with JAXenter, you already know  that I very much disagree with labelling Java EE as heavyweight - simply because it is not true! The latest servers from most of the Java EE vendors have been re-architected to be very light-weight on resources including memory, cpu and disc footprint. We recently did some testing of microservices implementations and many of those come in at under 50MB of RAM to run Java EE based microservices. Also, installation and configuration has been streamlined and many of the microservices versions of the products require no installation.

Steve Millidge for JAXenter - 'Java EE’s heavyweight label is just mythology'

In this interview for JAXenter.com , Steve Millidge, the Founder of Payara and speaker at JAX 2016, talks about how to use CDI annotations in your Java EE applications, when to use which annotations, and what is automagically happening under the covers.

Steve also tells us exactly how heavyweight Java EE really is, explaining the repercussions and solutions.

 

JSF 2.3 - The WebSocket Quickstart under Payara Server

Guest blog by Anghel Leonard ( @anghelleonard ).

 

Starting with JSF 2.3-m05 we can take advantage of a brand new feature - register a WebSocket push connection in client side. Thanks to the JSF team (especially to Bauke Scholtz (aka BalusC)) this feature is available in today milestone via <f:websocket/> tag.

 

In this post, let's see a minimal usage of <f:websocket/> tag.

 

Asadmin Recorder - New Payara Server Feature Demo

One of the most exciting new features in the Payara Server 162 release is the Asadmin Recorder - a tool especially useful for the Operations Teams! 

Asadmin Recorder allows you to create runnable scripts of asadmin commands that mirror configuration done in the administration console.  Have a look at our video walkthrough below for a quick overview of this new Payara Server feature.

 

Using Payara Server in Production - Guide

Once you have developed applications on Payara Server and moved these applications into a production environment, control will pass over to your Operations Teams. This guide will introduce some features of Payara Server that you may not know about, which are especially useful for the operations teams.

 

Automating Production in Payara Server

Taking an environment from development through to production is often an afterthought and can all too often be too far down the list of priorities. Initially, there may not be any obvious problems or issues with manually configuring a new production environment to match an existing one in development or test. As some customers I have visited have found, however, this will only lead to bigger and bigger inconsistency between platforms with ad-hoc changes causing different environments to diverge.

 

Java EE Microservices Platforms & High Performance Java EE with JCache– jDays 2016

Recently I attended as a speaker at my second jDays, a great conference in a great venue in Gothenburg. jDays is a fantastic conference as it is small enough to easily meet people and network and discuss tech, while at the same time big enough to run multiple tracks so there is always a session on that you’ll be interested in. 

 

Deploying Multiple Application Versions on Payara Server

Payara Server makes it possible to deploy multiple versions of the same application at the same time. While only one of the deployed versions can be enabled and running, all the other versions remain on the server and you may enable them at any time to immediately switch the running versions.

 

Securing Payara Server with Custom SSL Certificate

One of the most common administration tasks with Payara Server, as well as with any web server, is to set up certificates to secure either HTTP protocol or remote access to Payara Server administration interface. You might have a self-signed certificate or a certificate signed by a trusted authority. In both cases it is pretty easy to add them to a Payara Server domain and use them to secure communication channels. 

 

How to use the OpenMQ Broker separately to Payara Server

Payara Server comes bundled with OpenMQ, which implements the Java Message Service (JMS) standard.

For simple messaging scenarios, it is convenient to use embedded OpenMQ broker, which is available by default. However, this embedded OpenMQ is running inside the JVM instance of Payara Server. This implies that whenever one of them needs to be restarted, the other one gets restarted too.

What's New in Payara Server 161 ?

Opening our new Payara Updates video series, Mike Croft (@croft) - Payara Support Engineer – gives an overview of the Payara Server 161 Release Notes, highlighting a couple of great community contributions to this release. Mike also mentions some of our plans for the future update videos, so tune in if you want to find out more!

 

Flexible HA & Scalability Architectures with Payara Server


One of the lesser known features and key benefits of Payara Server is that it provides huge flexibility when architecting topologies for High Availability and Scalability. Utilising the embedded Hazelcast Data Grid for web session and JCache clustering brings the potential of many different topologies for scale out.

 

Arbitrary File Read Exploit Hotfix

This hot fix removes an arbitrary file read exploit that allows an attacker to read the content of any file on the server hosting the DAS. This exploit attacks the administration console with a specific string, bypassing secure administration and any required login details. Therefore, if the administration console is not publicly accessible, and Payara Server is running under a restricted user (as per best practice), then the risk is minimised.

 

Payara Blue - Testing on IBM AIX

Payara Blue is a version of Payara Server designed for use on the IBM JDK. Payara Blue gives the IBM JDK users full support for running Java EE 7 applications on Payara Server on any platform supported by the IBM JDK 7 or JDK 8. This article will describe how we use IBM PDP services to test Payara Blue on IBM platforms.

 

New features for Ops Teams in Payara Server

When we founded Payara and started development on Payara Server, one of our key goals was to make Payara Server the best application server for production work loads. Operations Teams will be happy to hear that the February 161 release adds Slow SQL Logging and in-built Server HealthChecks as new capabilities for managing production workloads!

 

Payara for Beginners - a Simple JBatch Schedule

Both Payara Server and Payara Micro support Batch Applications for the Java Platform (JSR 352) for the implementation of batch jobs needing no direct user interaction. This article will describe a single step batch application that appends the current datatime to a file every 30 seconds to demonstrate the setup of a simple timer scheduled batch job. 

 

Disabling OpenMQ in Payara Server

Many of our customers often use a different JMS provider in their organisation than the embedded JMS broker shipped with Payara Server, for example IBM MQSeries or ActiveMQ. Doing this often caused problems for our customers because the unconfigured OpenMQ broker could cause start up problems or delays, as well as delays in XA recovery. From Payara Server 4.1.154 onwards we've added functionality to disable the embedded OpenMQ broker. In this blog we'll talk through how to disable OpenMQ across the whole domain.

Java EE Microservices - the Payara Way

Microservices are the latest new-but-not-really-new thing that developers are talking about, and the Java EE world is no exception. In this Devoxx 2015 talk, Mike is using some new features of Payara Server that bring the power of Hazelcast to Java EE microservices, while still keeping the overall footprint incredibly low.

 

 

 

Devoxx 2015 - 20 Years of Java

November 2015 saw another sold out Devoxx, this year themed around the 20th anniversary of Java. Despite a theme looking to the past, there were a lot of talks around things coming to Java in the future, particularly with Java 9 and project Jigsaw

 

Bootiful Enterprise Applications powered by Spring Boot & hosted on Payara Micro

We have already introduced Spring Boot to Payara Micro, the new fish on the block!, by implementing Spring Boot based RESTful web services and hosted on Payara Micro. While implementing it, we didn’t deal with any of the XML configurations or dependency management needed for the Spring framework with the help of  the Spring Boot

 

 

Payara Micro - Demo

'Running Java EE 7 Based Applications Using Payara Micro'. In this short demo David Winters, Payara Support Engineer, will show you how to start Payara Micro, how to run web applications on it and how you can use Payara Micro API to launch Payara Micro server instances from within your own Java applications and projects.

 

 

What's new in Payara Server 154 ?

As we move into November, the time has come for a new release of Payara Server. We had a focus on fixing bugs and adding the little features that make your life easier over any new big features for this release, but do not worry, we are not running short on big ideas to implement - just time!

Back to Basics - How to Deploy an Application on Payara Server / GlassFish 4.1

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.

Introducing Payara Blue

One of the new features of our Payara Server 4.1.153 is Payara Blue. Payara Blue is our code name for support for Payara Server and Payara Micro on the IBM JDK. Payara Blue gives the IBM JDK users full support for running Java EE 7 applications on Payara on any platform supported by the IBM JDK 7 or JDK 8.

A Vagrantfile for Payara Server

This is a preview of a personal project I've been working on which I'm sharing (through Payara) with the community, hence it's not exactly polished and there's still plenty more I'd like to do with it - although I could probably say that about most of the things I
work on in my spare time.

Working with GlassFish & Payara Server Dotted Names

Many of you will know of some of the common asadmin commands, such as start-domain, create-cluster, and change-admin-password, some of which I covered in a previous blog written for GlassFish (which still holds true for Payara Server).

Unfortunately, there is not a specific asadmin command for every configurable attribute in GlassFish or Payara Server. This is where dotted names, and the get, set, and list commands come in. 

How Micro is Payara Micro?

Elastic Middleware describes middleware capable of expanding and contracting quickly on demand. A common example is the ability for an application server cluster to quickly expand the number of cluster nodes to meet an unpredicted surge in the level of traffic.

What's new in Payara Server 152?

As we move into the second quarter of the year, the next release of Payara Server emerges from the depths - version 4.1.152. Read on for an overview of what's gone into this release.

Elastic Middleware & Payara Server

Elastic Middleware describes middleware capable of expanding and contracting quickly on demand. A common example is the ability for an application server cluster to quickly expand the number of cluster nodes to meet an unpredicted surge in the level of traffic.

Payara Server Testing

Testing is a big part of development; projects would likely fall apart at first implementation without any testing. Because of this, some of you may be wondering if the Payara team have a formal testing procedure, and what it is.

Una introducción a los pools de conexiones en Payara Server

En este articulo vamos a realizar una introducción general a los pools de conexiones y las mejores practicas de configuración para Payara Server.

 

Qué es un pool de conexiones?

Un pool de conexiones es un almacén de conexiones de bases de datos relacionales que se pueden utilizar y, más importante, reutilizar para conectar a una base de datos relacional.

 

See here for the original version in English language. 

 

What's new in GlassFish 4.1 ?

GlassFish 4.1 was released a couple of months ago now, bringing with it a large number of welcome bug fixes and improvements. As the Payara Open Source project was born from it, it would be remiss of us not give all of you who maintain an interest in GlassFish a brief overview of some of the things that have changed or been updated since 4.0.

The New Fish on the Block

Payara server continues where Oracle left off

Launched in October 2014, Payara is a new technical support service that delivers software updates, bug fixes and 24/7 support for Oracle’s GlassFish application server. The organisation formed to fill the space left by Oracle’s own announcement that it would no longer release Oracle GlassFish Server with commercial support from November 2013.

JBatch on Payara Server 151 now supports 5 different database types

In this blog, we provide you with an overview of the extended JBatch features available in the upcoming release of Payara 4.1.151. We will firstly present what JBatch on Payara 4.1.151 has to offer, if one could not guess by the title, and then provide a brief overview on how to configure JBatch on Payara.