Java Weekly, Issue 665
1. Spring and Java >> Just-In-Time Compilation for Java Performance: Recent and Ongoing Improvements [inside.java] The JVM’s JIT compilers keep adapting – a quick survey of recent performance...
View ArticleThe @Find Annotation in Hibernate
1. Introduction In this article, we’re going to look at how to use the @Find annotation in Hibernate. We’ll see what it is, what it’s used for, and how to use it. 2. Setting up Hibernate Before we can...
View ArticlePerformance Improvements in JDK 26
1. Introduction JDK 26 contains multiple resolved issues and over 1,000 enhancements. A major part of this work focuses on performance across the JDK libraries, garbage collectors, compiler, and...
View ArticleA Guide to Structured Output in Spring AI
1. Overview When interacting with chatbots, we’re used to the plain text responses from Large Language Models (LLMs). However, when integrating these LLMs into our application, it becomes a problem to...
View ArticleIntroduction to FitNesse – An Acceptance Testing Framework
1. Overview While unit and integration tests help developers verify that an application behaves as expected, they typically require programming knowledge to write and maintain. Acceptance tests, on the...
View ArticleIntroduction to Triton Java API
1. Introduction We use clever engineering to deploy complex machine learning models into production. While model research, training, and fine-tuning are predominantly performed in Python with...
View ArticleUpgrading Spring Framework Version in Spring Boot
1. Introduction Spring Boot simplifies Java application development through auto-configuration, dependency management, embedded servers, and production-ready features. It builds on the Spring...
View ArticleIntroduction to Solon
1. Overview Solon is an enterprise Java framework built independently of Spring. In this tutorial, we’ll introduce Solon theoretically and in practice. First, we’ll start with a greeting endpoint and...
View ArticleJava 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 Article