Get Free Shipping on orders over $79
Generative AI-Driven Application Development with Java : Leveraging Large Language Models in Modern Java Applications - Satej Kumar Sahu

Generative AI-Driven Application Development with Java

Leveraging Large Language Models in Modern Java Applications

By: Satej Kumar Sahu

eText | 1 January 2026

At a Glance

eText


$64.99

or 4 interest-free payments of $16.25 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

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 Learn

  • Establish generative AI and LLM foundations
  • Integrate hosted or local models using Spring Boot, Quarkus, LangChain4j, Spring AI, OpenAI, Ollama, and Jlama
  • Craft effective prompts and implement RAG with Pinecone or Milvus for context-rich answers
  • Build secure, observable, scalable AI microservices for cloud or on-prem deployment
  • Test outputs, add guardrails, and monitor performance of LLMs and applications
  • Explore advanced patterns, such as agentic workflows, multimodal LLMs, and practical image-processing use cases

Who This Book Is For

Java 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.

on
Desktop
Tablet
Mobile

More in Artificial Intelligence

AI-Powered Search - Trey Grainger

eBOOK

AI : The End of Human Race - Alex Wood

eBOOK