Posts from Rudy De Busscher

Photo of Rudy De Busscher
Rudy De Busscher loves to create web applications using Jakarta EE and MicroProfile. In his role as Product Manager at Payara Services, he writes technical content; contributes to MicroProfile implementations and promotes the Payara Platform. He is a regular speaker at the world’s biggest developer and Java industry events, including JavaLand, ConFoo, jLove and more. He has been active in the IT industry for more than 20 years and during this time has created many applications for customers. He is also a big fan of open source and has helped in various open source projects such as DeltaSpike, PrimeFaces, and Apache MyFaces. Passionate about application security, you can often find him discussing OAuth2, OpenID Connect, and JWT. He maintains the Octopus OpenSource project and is a member of the Jakarta EE Security API team.

Find me on:

Getting Started with Jakarta EE 9: Jakarta Faces (JSF)

With Jakarta Faces, you can build user interfaces for web applications, including UI components, state management, event handing, input validation, page navigation, and support for internationalization and accessibility. It is a server-side framework that allows for rapid development of web applications, mainly administrative applications which are data entry and business logic heavy. The web pages are created by defining the components that are required and the events that are triggered by the user, and the rendering happens in a separate phase that can be customised to your needs.

In this blog, we mention a few features of Jakarta Faces 3.0 as it is one of the largest specifications of Jakarta EE 9.

Getting Started with Jakarta EE 9: Jakarta Persistence API (JPA)

With the Jakarta Persistence API, the system can perform the serialization of Java Objects into the Database or read data into objects. You can use Jakarta JPA to read and write Java instances easily from and to the database.

With the help of annotations on Java classes and instance variables, the mapping is defined between the Java world and the database world. 

In this blog, we cover some of the basic aspects of the JPA specification and how you can use it.  The specification is rather large so make sure you also consult some documentation and other resources to find out all the capabilities of the specification.

Client Certificate Authentication Improvements in Payara Server July and September 2021 Releases

SSL certificates are used for several features within Payara Server. You can configure your custom certificate for the TLS based connections the Payara Server is serving when using a custom domain name. And those certificates can be used for authentication purposes to identify the caller, mainly in a machine to machine communication.

With the July and September 2021 Payara Server releases, we have implemented two new features to improve the usage of these custom SSL certificates.

How and When to Disable Domain Data Grid in Payara Server

Payara Server comes with the Domain Data Grid, a very powerful feature related to the clustering capabilities of the product. If you're deploying the application on the domain server itself and are not using any clustering options, it's possible to disable the Domain Data Grid to slightly reduce Payara Server's start up time - but should you?

The Domain Data Grid can be disabled but be aware that a few other features in Payara Server also depend on the Domain Data Grid.

Monitoring JMX Using the Notification Service

Within Payara Server, the JMX system is used to store all the data that the monitoring service captures of the modules within the runtime.

You can use any tool that can connect to the JMX system to collect these data and monitor the environment. Besides this direct access, the notifier service can send this information to various channels so that the data can be integrated with external systems.  

The Notifier service is modular since October 2020 with version 5.2020.5 so that you can include only those notifiers that you are interested in and use within your environment. These notifiers cover a wide range of channels, from typical destinations like email, JMS Queues, over APM tools like DataDog and NewRelic to communication platforms like Teams, Slack, and Discord.

In this blog, we take a look at enabling JMX Monitoring for the JVM Heap Size, monitoring the process Heap Size, and then sending that information to a Discord channel.

Why Use Alibaba Cloud with Payara Platform?

We are all familiar with Microsoft Azure, Google's GCP, or Amazon's AWS platform for running applications in a public cloud. But there are also other, lesser-known platforms like Alibaba Cloud.  And while many don't know this platform, it is by far the largest one in the Asia Pacific region and even the third largest cloud provider worldwide. Alibaba Cloud has some interesting features.

In this blog, we explore some aspects of the platform and how it can be used with the Payara Platform.

How to Update An Application Using JAXB from JDK 8 to JDK 11

The Java Architecture for XML Binding (JAXB) framework is used to easily convert between XML and Java class instances.  You just have to define some annotations on the Java classes and properties and the framework uses those definitions to convert between them. But is also heavily used within the Java EE specification Java API for XML Web Services (JAX-WS) that implements the support for SOAP messages within Java Enterprise.

Introducing the Payara Kubernetes Operator

When using Kubernetes, for more complex scenarios it is not enough to start the deployment or service. You also need to execute some commands within the containers to perform some configuration or initialization of the environment.

To automate configuration or the process of initializing an environment, you can write a Kubernetes operator.The Payara Kubernetes Operator, released as a Proof of Concept or Minimum Viable Product (MVP) in our June Payara Platform release, helps you to set up a Payara cluster using the Deployment Group feature of the Payara Server.