Shaaf's blog

A technical blog about Java, Kubernetes and things that matter

Java + LLMs: A hands-on guide to building LLM Apps in Java with Jakarta

Java is an amazing language to work with. Millions of developers use it for daily work routines, and many mission-critical applications run on Java today. Whether we talk about banks, stock exchanges, or space, Java is prevalent and a language of choice. With the advent of Large Language Models(LLM), new opportunities are at play. While Python has been the dominating language runtime for apparent reasons, there is a misconception that creating applications, agents, or other components for LLMs should also be done in Python.

Embracing the Future of Application Modernization with KAI

Konveyor’s main strength lies in its comprehensive approach to migration and modernization. At the core of Konveyor’s functionality is its powerful analysis engine. This engine performs static source code analysis, identifying anti-patterns and issues that might hinder the application’s operation on a target platform. Utilizing community standards like the Language Server Protocol, Konveyor’s analysis engine uses rules designed to aid in various migration scenarios. Users can also create custom rules to address specific migration needs, enhancing Konveyor’s flexibility and adaptability.

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.

Angular TodoMVC with Spring boot backend, deploy to Kubernetes

This article guides you through building a Spring Boot demo application and deploying it on Kubernetes using the JBoss Web Server Operator. The application uses the TodoMVC Angular front-end, integrated with a Spring Boot backend. The Todo entity is defined with JPA annotations for database mapping. The TodoController handles CRUD operations, and TodoRepository extends JpaRepository for database interactions. The application can be run locally or packaged with Tomcat as an embedded server.