Quantcast
Channel: Java Archives - Java Code Geeks
Browsing latest articles
Browse All 743 View Live

How to Dynamically Ignore Fields in Jackson

Jackson is a popular Java library for JSON processing. Sometimes, we need to ignore fields dynamically at runtime instead of using static annotations like @JsonIgnore. This article explores various...

View Article


Spring Boot Performance with Java Virtual Threads

For years, Java developers have wrestled with the limitations of platform threads—heavyweight, OS-managed resources that make high-concurrency applications expensive to scale. Enter Project Loom and...

View Article


Enabling HTTP/2 in Spring Boot with Tomcat

HTTP/2 is a major revision of the HTTP protocol that improves performance by enabling multiplexed streams, header compression, and server push. Spring Boot, which uses Tomcat as its default embedded...

View Article

Building Predictive APIs with TensorFlow and Spring Boot

1. Why Combine AI/ML with Spring Boot? Modern applications increasingly need smart capabilities – from recommendation engines to fraud detection. While Python dominates ML development, Java teams can...

View Article

How to Handle Generic List Matchers in Mockito

Mockito is a widely used Java library for creating mock objects in unit tests. Mocking enables us to replace the behaviour of an object or class with a simulated version, making it easier to test how...

View Article


Exporting the Maven Version Number to a File

When deploying applications, tracking the correct version is essential for debugging, rollback strategies, and ensuring compatibility with other services. In Maven-based Java projects, the version...

View Article

Temporal.io for Java Microservices Workflows

Temporal.io is an open-source workflow orchestration platform that enables developers to build resilient applications by managing long-running business processes and workflows. In Java-based...

View Article

Nested Loops To Stream Conversion Example

Java developers frequently use nested loops to iterate over collections, but as the complexity increases, it becomes harder to read and maintain. Java Streams API provides a declarative approach that...

View Article


Apache Camel vs Apache Kafka: Understanding the Differences

Apache Camel and Apache Kafka are two prominent technologies that serve distinct purposes in the realm of distributed systems and integration. While both are utilized to handle messaging and data flow,...

View Article


Chaos Engineering for Java: Testing Spring Boot Resilience with Gremlin & Litmus

Modern distributed systems must withstand failures—network delays, crashes, and infrastructure outages. Chaos Engineering proactively tests system resilience by injecting controlled failures in...

View Article
Browsing latest articles
Browse All 743 View Live