JavaOneJavaOne 2026 SessionsAll Sessions ScheduleFull Schedule TueTuesday, 17th WedWednesday, 18th ThuThursday, 19th

JavaOne 2026 Session

Duke in front of a whiteboard

@Inject AI as Easily as @Inject EntityManager With langchain4j-cdi

Summary

In this hands-on hack session, you'll discover how langchain4j-cdi lets you integrate GenAI capabilities into your Jakarta EE and MicroProfile applications using familiar CDI patterns. Just like injecting an EntityManager, you'll learn how to @Inject AI Services, configure LLM providers, and build AI-powered features—all within your existing enterprise Java stack. Bring your laptop and be ready to code!

Profile

Type: Hack Session (50 min)

Track: Machine Learning and Artificial Intelligence

Audience Level: Beginner

Speakers:

Session: Wednesday, March 18th at 9:30 AM in Duke's Meals