Enterprise Java
-

Handling NaN Values in Java Micrometer Gauges with Prometheus
Micrometer is the de facto metrics instrumentation library for JVM-based applications, and Prometheus is a common backend for collecting and…
Read More » -

Calling Object Methods in Thymeleaf
Thymeleaf is a modern server-side Java template engine commonly used with Spring Boot applications. One of its powerful features is…
Read More » -

Using JTE for Type-Safe Templating in Java
Templating is a key aspect of many Java applications, especially web apps, where dynamically generating HTML is necessary. Let us…
Read More » -

GraphQL vs. REST vs. gRPC: The 2026 API Architecture Decision
A comprehensive comparison from a Java developer’s perspective on choosing the right API style for your next project The API…
Read More » -

How to Set the Content-Length Header in Spring MVC Responses
In Spring MVC, HTTP responses are commonly built using the ResponseEntity class. While Spring automatically handles many HTTP headers for…
Read More » -

Detach & Attach Entities in Spring JPA Example
1. Introduction Spring Data JPA simplifies persistence by abstracting away Hibernate-specific boilerplate code. The org.springframework.data.jpa.repository.JpaRepository interface provides CRUD operations for…
Read More » -

An Introduction to Using simple-openai in Java
Modern Java applications increasingly utilise large language models for tasks such as text generation and structured data extraction; however, provider-specific…
Read More » -

Implementing API Versioning in Spring
APIs must evolve as business requirements change, but breaking existing consumers is rarely acceptable. A clear versioning strategy enables services…
Read More » -

Introduction to Jlama: A Java-Based LLM Framework
Jlama is a lightweight Java library designed to simplify interaction with large language models (LLMs). It provides a clean and…
Read More »






