Skip to content

Modern Java for AI engineering

A Java service that calls a large language model inherits every problem Chapter 1 solved for Python — the call is slow, it fails transiently, and the JSON that comes back is a liability until something turns it into a type the compiler can reason about — plus one problem specific to the JVM: for twenty-five years, "handle a request" meant "block an OS thread for the duration," and OS threads are the one resource on a JVM that has never been cheap. A servlet container blocking a thread on a 30 ms database call was always a defensible trade; a service blocking a thread on a 2.5-second LLM round-trip, at any real request volume, is not — the pool that trade needs is either too small to keep up or too large to fit in memory. …

🔒 La suite est en accès freemium

Tu lis ici l'aperçu libre. Avec un compte gratuit (30 secondes, sans carte), tu lis en entier les chapitres de base : l'introduction à la pile agentique, Python moderne pour l'IA, Java moderne pour l'IA et la boucle d'agent. Les LLM de l'intérieur, le RAG, les outils et MCP, la mémoire, le multi-agents, les frameworks, la production, les exercices, les quiz corrigés et les solutions font partie du manuel complet.

Créer un compte gratuit Se connecter