Java Weekly, Issue 664
1. Spring and Java >> The Arrival of Java 27! [inside.java] Java 27 is here with a lot of goodies – post-quantum TLS, G1 as the default collector everywhere, compact object headers by default,...
View ArticlePrompt Caching Support in Spring AI with Anthropic Claude
1. Overview When working with large prompts, repeatedly sending the same context to the model can increase both latency and costs. This becomes especially noticeable when applications reuse large...
View ArticleGson Deserialization and the InaccessibleObjectException
1. Overview Starting with version 9, Java places a strong emphasis on encapsulation. The major feature behind this is the Java Platform Module System (JPMS). It controls how our own packages are...
View ArticleResolving Exception: Cannot Deserialize From Object Value (No Delegate- Or...
1. Introduction Jackson is a Java library commonly used to convert between Java objects and JSON. During JSON deserialization, Jackson may throw an InvalidDefinitionException when it can’t determine...
View ArticleJava Weekly, Issue 663
1. Spring and Java >> From Spec-Driven Development to Living Specifications in Java Projects [foojay.io] An interesting Java-focused piece exploreing a more durable model: bringing specifications...
View ArticleWhat’s New in Jackson 3?
1. Overview Jackson has been the most popular JSON processing library in the Java ecosystem for over a decade. After years of incremental updates in the 2.x line, the release of Jackson 3.0 introduces...
View ArticleHTTP/3 Support in HTTP Client API in Java 26
1. Overview Modern applications demand faster, more reliable, and more secure network communication, and HTTP/3 addresses these requirements. Java introduced the modern HttpClient API in Java 11 to...
View ArticleMCP Logging in Spring AI
1. Overview MCP (Model Context Protocol) is an open-source, JSON-RPC-based (JavaScript Object Notation-Remote Procedure Call) protocol. It provides a standardized way for AI (Artificial Intelligence)...
View ArticleJava Weekly, Issue 662
1. Spring and Java >> Project Loom in IntelliJ IDEA: Virtual Threads, Scoped Values, and Structured Concurrency [jetbrains.com] A hands-on tour of the three Loom pillars: virtual threads, scoped...
View ArticleLLM Streaming in the Embabel Agentic AI Framework
1. Overview LLM streaming delivers output token by token as it’s generated. This reduces latency, as users see the first results in the UI within milliseconds instead of waiting seconds for a complete...
View ArticleJava Weekly, Issue 661
1. Spring and Java >> JDK 27 and JDK 28: What We Know So Far [infoq.com] JDK 27 has reached its first RC with compact object headers on by default, G1 as the default collector everywhere, and...
View ArticleHow to Fix Jackson JSON Parse Error Can not construct instance of...
1. Overview When working with JSON in Java, Jackson usually handles Java 8 date and time types without much configuration. Yet, we can still encounter problems such as one of the common deserialization...
View ArticleAPI Mocking and Testing With Microcks
1. Introduction In this tutorial, we’ll look at Microcks, an open-source, Kubernetes-native platform for turning API and microservices contracts into live mocks. We’ll also see how to reuse the same...
View ArticleHTTP Client SSRF Mitigation with InetAddressFilter in Spring Boot
1. Introduction It’s sometimes useful to limit the remote addresses that an HTTP client is permitted to call. It helps prevent applications from connecting to unintended destinations and provides an...
View ArticleDB-Scheduler: A Persistent, Cluster-Friendly Scheduler for Java
1. Introduction In this tutorial, we’ll take a look at db-scheduler, a simpler alternative to Quartz. We’ll see what it is, how to use it and what we can do with it. 2. What Is DB-Scheduler?...
View ArticleJava Weekly, Issue 660
1. Spring and Java >> When @Immutable Made All the Difference: A 3.2x Speedup with Hibernate Second-Level Cache [relation.to] Hibernate’s second-level cache jumps from 286 seconds to 90 seconds...
View ArticleJava Weekly, Issue 659
1. Spring and Java >> Evolving a Java MCP Server During MCP Specification Upgrades [inside.java] A practical guide to evolving a Helidon-based Java MCP server to the stateless. Header-based...
View ArticleJava Weekly, Issue 658
1. Spring and Java >> Virtual Threads after JDK 24: What Changed for Production Java [infoq.com] If you haven’t looked at virtual threads in a while, this is the update you need. Benchmarks,...
View ArticleIntroduction to Google GenAI Chat and Spring AI
1. Introduction The generative AI landscape is evolving rapidly, pushing framework maintainers to rethink how applications connect to diverse large language models (LLMs). With the release of Spring...
View ArticleSpring AI AutoMemoryTools
1. Overview As AI agents become more capable, long-term memory has become just as important as reasoning. While mechanisms such as ChatMemory and Retrieval Augmented Generation (RAG) handle...
View Article