Spring AI 2.0 in Practice: Adding LLM Features to a Java Web App

Spring AI is Spring's official application framework for AI engineering. It brings the ecosystem's core principles (portability, modularity, dependency injection) to building LLM-powered features in Java. Combined with a UI framework like Vaadin, it turns an LLM API key into a working product feature in an afternoon. In this tutorial we'll build a complete AI assistant inside a Java web app: a real chat view, token-by-token streaming, retrieval-augmented generation (RAG) over your own documentation, and the cost tracking, limits, and failure handling that most tutorials skip.

Subscribe to our newsletter

Be the first to learn about new Vaadin resources and tips

Virsion Studio

Building Secure, AI-Driven Web Apps at Startup Speed: The Virsion Story

For a startup, the gap between a visionary idea and a market-ready product is often bridged by two things: speed and security. This was the exact challenge facing Virsion, a tech startup focused on democratizing generative AI for small-to-medium-sized institutions. When founders Giovanni and ...
Java UI in 2026: A Practical Guide to Desktop and Web Modernization

Java UI in 2026: A Practical Guide to Desktop and Web Modernization

This article is for Java teams that maintain important desktop applications and need to decide what to do next: keep the desktop UI, move parts of the application to the browser, modernize gradually, or rewrite. TL;DR The right answer depends less on the UI framework and more on the application's ...
Spring Boot 4 migration playbook for teams upgrading from 3.5

Spring Boot 3.5 to 4 Migration Playbook: A Step-by-Step Guide for Teams

Upgrading to Spring Boot 4 is about more than changing a version number in your pom.xml. Before you upgrade, it's worth taking stock of your project: your Java version, Spring Cloud release train, JSON serialization, servlet container, Vaadin version, Spring AI dependencies, native-image builds, CI ...
Vaadin 24 Extended Maintenance

Free Maintenance for Vaadin 24  ended on June 16 – What does it mean and what to do?

The free maintenance for Vaadin 24 ended on June 16, 2026. If your application is still on Vaadin 24, it is no longer under the free maintenance window for security patches, browser compatibility fixes, or bug fixes. Your application will continue to run. But "run" and "supported" are no longer the ...

The Definitive Guide to Modernizing Java Swing Applications in 2026

Editor's note: Since this article was originally published, the Swing Modernization Toolkit has been renamed to SwingBridge. Java Swing has been the workhorse of enterprise desktop applications for more than two decades. It powered internal tools, financial platforms, logistics systems, and ERP ...
Vaadin 2026 Community Survey

Vaadin 2026 Community Survey: What Java Developers Told Us

We asked our customers and community how they use Vaadin,, what they value most, and what we need to do better. Here’s what we learned from the 2026 survey, even the parts that made us question what we thought we knew. 691 Respondents 98% Use for Work 71% Are Developers Key Findings at a Nutshell ...
Vaadin 24 Extended Maintenance

Vaadin 24 Free Maintenance Ends June 16 — Choose Your Path Forward

Vaadin 25.1 is now available and makes for a strong, forward-looking upgrade. It is the first big release in the 25-series that makes it an attractive next step for teams building on the Vaadin platform. With the June 16, 2026 maintenance deadline for Vaadin 24 approaching, this is a good moment to ...
10 Best Angular Alternatives in 2026

10 Best Angular Alternatives in 2026: Compared

The best Angular alternatives in 2026 are React, Vue.js, Svelte, SolidJS, Vaadin, Next.js, Qwik, Astro, Ember.js, and Blazor. Each offers distinct advantages over Angular — from React's flexible component model and Svelte's compile-time performance to Vaadin's full-stack Java platform that ...

The Most Popular Java Frameworks in 2026: A Complete Guide

The Java frameworks your team picks determine how fast you ship, how well your systems scale, and how productive your developers are day to day. Here's a comprehensive look at the Java framework landscape in 2026 — and where Vaadin fits in. The Short Answer: Spring Boot Leads, but That's Not the ...