Shaaf's blog

A technical blog about Java, Kubernetes and things that matter

Building a Resilient Cart Service with Quarkus and Infinispan Cache: A Step-by-Step Guide

The article is a comprehensive guide on creating, deploying, and managing the coolstore cart service using Quarkus and Infinispan. The guide details building the cart-service with Quarkus, packaging it, and deploying it to OpenShift. It covers single-site deployment with Infinispan cache configuration and extends to cross-site clustering for data replication and fault tolerance across multiple data centers. The article also addresses schema management and implementing fault tolerance with Smallrye Fault Tolerance for fallback mechanisms acorss multiple site deployments.

Ensure Secure and Up-to-date Projects with the Outdated Maven Plugin

It’s not an early Sunday morning. Sipping some Coffee and going through my feed and I find this gem that @Markus Eisele just posted. Well at first I saw the post as “Outdated Maven Plugin”, and I am like what does that mean? Anyways going into the git repo I see its a new project by Giovanni van der Schelde. Stay up-to-date and secure with The Outdated Maven Plugin! The Outdated Maven Plugin is a tool designed to help developers identify outdated dependencies in their Maven projects.

Java monitoring: Exploring Cryostat 2.4 features on OpenShift

Orignally posted at Red Hat Developers Red Hat’s latest build of Cryostat 2.4, designed specifically for the Red Hat OpenShift Container Platform, brings a wealth of features and enhancements that cater to various monitoring needs for Java applications. At its core, Cryostat 2.4 excels in comprehensive Java Flight Recorder (JFR) data management. Users can effortlessly start, stop, retrieve, archive, import, and export JFR data, all through an intuitive web console or an accessible HTTP API.

Whats New for developers in JDK 21

Orignally posted at Red Hat Developers In an exciting development for Java developers, this September 19th marked the release of JDK 21. This release contains many new capabilities that benefit the Java ecosystem, including virtual threads, record patterns, and sequenced collections. There are also some interesting features in the preview for JDK 21, such as string templates, scoped values, and structured concurrency. This article highlights six new features in this release.

error: --enable-preview must be used with either -source or --release

The JDK 21 release is well underway likely to drop around September 19th, and its not GA yet. further more it provides preview features. It was time for downloading one of the releases and giving it a try. Well I have given it a try some weeks ago so I already had it installed. e.g. openjdk version "21-ea" 2023-09-19 OpenJDK Runtime Environment (build 21-ea+26-2328) OpenJDK 64-Bit Server VM (build 21-ea+26-2328, mixed mode, sharing) The fun thing though is that there are couple of very cool features that are still in preview.