Upgrade to Pro — share decks privately, control downloads, hide ads and more …

6/12/25 - Boston Java Users ACM - Java & AI: A ...

6/12/25 - Boston Java Users ACM - Java & AI: A real world use case

Avatar for Eric Deandrea

Eric Deandrea

June 12, 2025
Tweet

Video

More Decks by Eric Deandrea

Other Decks in Technology

Transcript

  1. @edeandrea Java & AI A real world use case Eric

    Deandrea, Red Hat (soon to be IBM) Java Champion | Senior Principal Developer Advocate
  2. @edeandrea Read images from filesystem Describe image Create .docx doc

    on filesystem Store .docx doc Add global view sharing perm & get URL Generate QR code Store QR codes on filesystem Add to manifest Store manifest as .xlsx
  3. @edeandrea Model Context Protocol (MCP) Instead of exposing tools from

    your code, discover and use remote services https://modelcontextprotocol.io
  4. @edeandrea Read images from filesystem Describe image Create .docx doc

    on filesystem Store .docx doc Add global view sharing perm & get URL Generate QR code Store QR codes on filesystem Add to manifest Store manifest as .xlsx
  5. @edeandrea Read images from filesystem Describe image Create .docx doc

    on filesystem Store .docx doc Add global view sharing perm & get URL Generate QR code Store QR codes on filesystem Add to manifest Store manifest as .xlsx https://github.com/edeandrea/salem-historical-society-image-classifier
  6. @edeandrea • The model matters • Tell the model what’s

    going on • Keep LLM arguments concise • Don't use JPA entities as tool arguments • Be (overly) descriptive • MCP is like the wild west • Testing is hard • Faster time to market without AI? Lessons learned (or in process of learning)