Streaming LLM Responses End-to-End: A Spring Boot SSE Backend and a Next.js Frontend

 Streaming LLM Responses End-to-End: A Spring Boot SSE Backend and a Next.js Frontend

Streaming an LLM token-by-token is easy to demo and hard to ship. Here’s the whole path — a Spring Boot SSE backend and a Next.js frontend — with the four things the demos skip solved: heartbeats, Last-Event-ID resume, upstream cancellation, and defeating proxy buffering.

Spring Boot HTMX Tutorial

HTMX with Spring Boot and Thymeleaf: A Production-Grade Guide Beyond the To-Do App

Stop wrestling with React build pipelines. Your Spring Boot backend can deliver SPA-like responsiveness with 14 KB of JavaScript and zero npm dependencies. What you’ll learn: Fragment rendering with @HxRequest, Out-of-Band swaps with FragmentsRendering, CSRF token integration with Spring Security, error handling with the response-targets extension, the htmx.process() fix for dynamic content, and production patterns […]

Build a Microservices CRM with Spring Boot Kotlin and React

How to build a Microservices CRM with Spring Boot, Kotlin and React.

In this tutorial, we will build a fully functional CRM based on a typical microservice architecture. The languages and frameworks used are Java 17, Kotlin, Spring Boot 3, and React 18 for the front-end application. It is intended that you can follow through from start to finish without prior knowledge of microservices but it would […]

Spring Boot OpenAI Embeddings Tutorial Header

Semantic Search tutorial with Spring Boot and OpenAI Embeddings.

The goal of this tutorial is twofold. First, we aim to give readers a solid grasp of embeddings in the realm of Artificial Intelligence. Next, we guide you through building a semantic search example using Spring Boot and OpenAI embeddings, free of extra dependencies. In software engineering’s vast world, AI’s rise, and techniques like embeddings […]