Part 3: Distributed Tracing in Spring Boot with OpenTelemetry and Jaeger

In Part 1, we added metrics with Spring Boot Actuator, Prometheus, and Grafana. In Part 2, we centralized structured application logs using Filebeat, Logstash, Elasticsearch, and Kibana. In this final part, we will add distributed tracing. Distributed tracing helps answer an important question: When one user request travels through multiple services, where did time get spent and where did it…

Part 2: Centralized Logging in Spring Boot with ELK Stack — Filebeat, Logstash, Elasticsearch, and Kibana

In the first part of this workshop, we added metrics to our Employee Management API using Spring Boot Actuator, Micrometer, Prometheus, and Grafana. Metrics answer questions such as: How many requests does the application receive? What is the API error rate? Is JVM heap memory increasing? Is p95 response time above the expected limit? But metrics do not explain the…

Spring Boot Observability Workshop: Metrics, Logs, and Traces with Actuator, Prometheus, Grafana, ELK, and Jaeger

Production applications should not be treated as black boxes. When an API slows down, fails, or consumes too much memory, teams need answers quickly: Is the application healthy? Which API is slow? Is the JVM running out of memory? Which request failed? Which downstream service caused the delay? This is where observability helps. Observability is the ability to understand the…

Part 42: The Java 8 → Java 21 Journey – Building Modern Enterprise Microservices and Looking Ahead to Java 26

Introduction Congratulations! If you've followed this series from the beginning, you've travelled through one of the most remarkable evolutions in programming language history. This wasn't simply a journey from one Java version to another. It was the evolution of how enterprise software is designed. When Java 8 was released in 2014, most enterprise applications looked like this: Browser ↓ Monolithic…

Part 37: Java 21 – Virtual Threads – Revolutionizing Spring Boot Microservices and Enterprise Banking Applications

Introduction If Java 8 gave us Streams and CompletableFuture, then Java 21 gives us something even more fundamental: A completely new way of thinking about concurrency. For over twenty years, Java developers learned the same rules: Threads are expensive. Never create one thread per request. Always use thread pools. Reuse threads. Asynchronous programming scales better. Reactive programming solves thread scalability.…

Part 41: Java 21 – Vector API – Unlocking Modern CPU Performance for Banking, AI and Analytics

Introduction Most enterprise developers spend their days writing: Spring Boot REST APIs Database queries Kafka consumers REST clients Business validations Authentication Authorization Very little of this work is CPU intensive. Most enterprise applications spend their time waiting for: Database responses Network calls Cache lookups Message brokers So why did Oracle introduce the Vector API? The answer lies in a different…

Part 40: Java 21 – Foreign Function & Memory API (Project Panama) – The Future of Native Integration for Enterprise Applications

Introduction If you've spent your career developing Spring Boot microservices, you may never have written a single line of C or C++. Yet every day your Java applications depend on native code. Think about a modern banking platform. Internet Banking │ ▼ API Gateway (Spring Boot) │ ┌──────────────────┼──────────────────┐ ▼ ▼ ▼ Account Service Payment Service Customer Service │ │ │…

Part 39: Java 21 – Sequenced Collections – Bringing Consistency to the Java Collections Framework

Introduction The Java Collections Framework has been one of Java's greatest strengths since Java 1.2. Enterprise developers use collections everywhere: REST APIs Spring Boot applications Database queries Cache implementations Message processing Batch jobs Data transformation Stream processing Despite its maturity, the Collections Framework had one long-standing inconsistency. Some collections maintained insertion order. Others maintained sorted order. Others had no defined…

Part 38: Java 18, 19 & 20 – The Journey to Java 21 – Why These Releases Matter More Than You Think

Introduction If you've followed this series from Java 8 to Java 17, you may have noticed something unusual. After Java 17, we suddenly started discussing Java 21. Naturally, many developers ask: What happened to Java 18? Was Java 19 skipped? Did Java 20 introduce anything important? Why do most companies migrate directly from Java 17 to Java 21? The answer…