[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"speaking-post-confoo-2027-context-engineering-java-developers":3,"$f2z6v7vc8d697t":64},{"id":4,"title":5,"body":6,"conference":51,"conferenceUrl":52,"date":53,"description":54,"extension":55,"location":56,"meta":57,"navigation":58,"path":59,"published":58,"seo":60,"slug":61,"stem":62,"__hash__":63},"speaking\u002Fspeaking\u002Fconfoo-2027-context-engineering-java-developers.md","Context Engineering for Java Developers",{"type":7,"value":8,"toc":46},"minimark",[9,13,16,21],[10,11,12],"p",{},"Prompt engineering was only the beginning. Reliable AI applications depend on the context around the prompt: system instructions, memory, retrieved knowledge, tools, and structured output.",[10,14,15],{},"In this live-coding session, we'll use Spring AI to build that context deliberately. We'll load the right information at the right time and avoid overwhelming the model. You'll leave with a practical mental model for building AI applications Java can trust.",[17,18,20],"h2",{"id":19},"what-youll-learn","What You'll Learn",[22,23,24,28,31,34,37,40,43],"ul",{},[25,26,27],"li",{},"Why the context around the prompt, not the prompt itself, decides whether an AI feature is reliable",[25,29,30],{},"System instructions that set the rules for every request",[25,32,33],{},"Chat memory, and how much of it the model actually needs",[25,35,36],{},"Retrieval augmented generation (RAG) that loads the right knowledge at the right time",[25,38,39],{},"Tools that let the model call your Java code",[25,41,42],{},"Structured output that turns responses into Java records",[25,44,45],{},"How to keep the context window focused instead of stuffed",{"title":47,"searchDepth":48,"depth":48,"links":49},"",2,[50],{"id":19,"depth":48,"text":20},"ConFoo 2027","https:\u002F\u002Fconfoo.ca\u002Fen\u002F2027","2027-02-24","A live-coding session on building the context around the prompt with Spring AI: instructions, memory, retrieval, tools, and structured output.","md","Montreal, Canada",{},true,"\u002Fspeaking\u002Fconfoo-2027-context-engineering-java-developers",{"title":5,"description":54},"confoo-2027-context-engineering-java-developers","speaking\u002Fconfoo-2027-context-engineering-java-developers","Q9eB1bvOlqCB8kJZP0LZkkCJ_fq7vKJwX8S9Dz5HbyU",[]]