Generative AI-Driven Application Development with Java

Leveraging Large Language Models in Modern Java Applications

GenerativeAI-DrivenApplicationDevelopment with…SAHU, SATEJ KUMARNO COVER SUPPLIED

PDF · English

Price and availability

PDF eBookUS store

$44.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
PDF
DRM
Not stated by the publisher
Language
English
Publisher
Apress
Published
1 January 2026
ISBN
9798868816093
Subjects
Computer programming / software development, Web programming, Programming & scripting languages: general, Artificial intelligence, Computer programming / software engineering, Programming and scripting languages: general, Artificial intelligence (AI)

About this book

This is the first hands-on guide that takes you from a simple “Hello, LLM” to production-ready microservices, all within the JVM. You’ll integrate hosted models such as OpenAI’s GPT-4o, run alternatives with Ollama or Jlama, and embed them in Spring Boot or Quarkus apps for cloud or on-pre deployment.You’ll learn how prompt-engineering patterns, Retrieval-Augmented Generation (RAG), vector stores such as Pinecone and Milvus, and agentic workflows come together to solve real business problems. Robust test suites, CI/CD pipelines, and security guardrails ensure your AI features reach production safely, while detailed observability playbooks help you catch hallucinations before your users do. You’ll also explore DJL, the future of machine learning in Java. This book delivers runnable examples, clean architectural diagrams, and a GitHub repo you can clone on day one. Whether you’re modernizing a legacy platform or launching a green-field service, you’ll have a roadmap for adding state-of-the-art generative AI without abandoning the language—and ecosystem—you rely on. What You Will LearnEstablish generative AI and LLM foundationsIntegrate hosted or local models using Spring Boot, Quarkus, LangChain4j, Spring AI, OpenAI, Ollama, and JlamaCraft effective prompts and implement RAG with Pinecone or Milvus for context-rich answersBuild secure, observable, scalable AI microservices for cloud or on-prem deploymentTest outputs, add guardrails, and monitor performance of LLMs and applicationsExplore advanced patterns, such as agentic workflows, multimodal LLMs, and practical image-processing use cases Who This Book Is ForJava developers, architects, DevOps engineers, and technical leads who need to add AI features to new or existing enterprise systems. Data scientists and educators will also appreciate the code-first, Java-centric approach.

Bibliographic data © Gardners Books Ltd.