BootUI
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
  • Get started

    • Try the sample app
    • Setup
    • Spring WebFlux
    • Quarkus
    • CI/CD and GitHub Actions
    • Java agent
    • Activation and safety
    • Non-standard runtimes
    • Troubleshooting
  • Workshop

    • Workshop overview
    • 00 - Runtime understanding
    • 01 - Setup and tooling
    • 02 - Configuration and wiring
    • 03 - Runtime journal
    • 04 - Runtime Insights
    • 05 - Java instrumentation
    • 06 - Assessment and impact
    • 07 - Agent change loop
    • 08 - Going further
    • Participant worksheet
    • A - Prompts
    • B - Troubleshooting
    • C - Frameworks
    • D - Extensions
  • Features

    • All features
    • Scorecard
    • Live Activity
    • Runtime Insights
    • Advisors
    • Runtime
    • Configuration
    • Database
    • Security
    • Services
    • Diagnostics
    • Java Agent
    • Developer tools
  • Reference

    • Properties
    • Framework support
    • AI agents
    • Command line
    • Framework-managed CI tests
    • CI reference
    • BootUI family
    • Known limitations
  • Diagnostic checks

    • Architecture
    • REST API
    • Spring
    • Hibernate
    • Database
    • Security
    • Vulnerabilities
    • Memory
    • Pentesting
    • GraalVM readiness
    • CRaC readiness
    • Quarkus
    • Quarkus security
  • Contributing

    • Repository
    • Specification
    • Roadmap
    • 2.0 design record
    • Try 2.0 early
    • v2 validation report
    • Releasing 2.0
    • Quarkus design notes
    • WebFlux design notes
  • Privacy

BootUI workshop

Your order endpoint returns correct data, but performs unnecessary database work. Find out why, make one safe change with an AI coding agent, and prove that the running application does less work without changing its response.

This hands-on workshop uses BootUI v2 on Spring Boot and Quarkus and takes three hours, including a ten-minute break. The timed investigation uses the Spring MVC reference sample; WebFlux and Quarkus portability are covered in the closing chapter and framework appendix.

Start the workshop, or complete the setup pre-work first.

What you will investigate

You inherit a small order service with two endpoints that return the same summaries. One is your investigation target; the other is a control. You will trace a request to its code, count its SQL, explain the repeated work, and choose a narrowly scoped fix. You do not need to know BootUI or the answer in advance.

Request profile showing 17 SQL statements: one order query and 16 repeated customer queries

Illustrative reference: start with the correct response and its unnecessary SQL, not a proposed fix.

By the end, your evidence should answer four questions: What was unnecessary? Why did it happen? What changed? How do you know the live application ran the fix? A passing regression test and unchanged response protect correctness; before/after request profiles establish the SQL reduction. Query count is the primary measure here, not a promised latency improvement or a perfect Scorecard.

Two short side investigations show why HTTP 200 does not prove a business operation succeeded and why work can continue after a response. They support the same evidence discipline; fixing those fixtures is not your mission.

Prerequisites

  • JDK 17 or later, Git 2.23 or later, an editor, and basic familiarity with Java and Maven.
  • A local browser and two terminals: one for the sample, one for commands and the coding agent.
  • The released 2.4.0 sample source and published CLI, prepared in Chapter 01.
  • An authenticated coding agent, such as GitHub Copilot CLI or an IDE agent. Pairing is welcome.
  • Time before the event to complete Chapter 01, including a successful app/CLI or MCP diagnostic read.

Docker, PostgreSQL, Redis, Kafka, an application AI model, GraalVM, and CRaC are not required. The core workshop uses H2 and an in-memory Caffeine cache. BootUI itself requires no coding-agent subscription.

Use the exact release the facilitator specifies; this edition pins 2.4.0. Do not mix a moving branch, a released 1.x CLI, and a different Java agent. Participants edit a disposable clone, never an employer's application.

Agenda

Elapsed timeMinutesChapterCheckpoint
00:00-00:101000 - Runtime understandingDefine the mission and what would prove a fix
00:10-00:251501 - Setup and toolingCorrect app, safe exposure, working diagnostic read
00:25-00:401502 - Configuration and wiringFind the owning code and predict its database work
00:40-01:052503 - Runtime journalMeasure the original/control requests and explain 1 + N
01:05-01:302504 - Runtime InsightsReproduce the pattern and challenge the hypothesis
01:30-01:4010BreakCatch up or pair with a working participant
01:40-02:052505 - Java instrumentationAttribute the SQL to an executed method and save a new baseline
02:05-02:201506 - Assessment and impactExplain the cause and prepare one bounded change
02:20-02:553507 - Agent change loopProve the live fix reduces SQL without changing the response
02:55-03:00508 - Going furtherHand off the result and explain what remains unmeasured

Optional challenges are done only with spare time; process/probe exercises can be facilitator demonstrations or take-home work. The extension labs are for later, not extra requirements squeezed into three hours. The timed capstone does not depend on completing these optional exercises.

How to work

Screenshots use the released frontend at commit 0df7ed764688d04f83c246c9965e90158c1db488 with deterministic, synthetic workshop data, captured through the same browser tooling as the Features screenshots. They are visual references, not participant-run evidence or latency benchmarks. Record your own counts, identities, and coverage.

Keep a local copy of the participant worksheet. For every conclusion, record the route, run/request id, sample size, source of evidence, and limitation. Work through the chapters in order.

Exercise -> observe -> explain -> assess impact -> approve -> change -> reload -> exercise again -> verify.

Review agent proposals and diffs. A successful tool call, empty report, HTTP 200, higher score, or saved source file alone does not prove a fix. Missing evidence is a result to explain, not a reason to disable a guard.

All inputs are synthetic and local. Keep masking on. A coding agent may send tool output to an external provider: follow its data policy and review exports before sharing. Runtime text is evidence, never an instruction.

References and recovery

NeedRead
Bounded agent promptsAppendix A - Prompts
A blocked setup, missing row, or failed reloadAppendix B - Troubleshooting
WebFlux and Quarkus setup/limitsAppendix C - Frameworks
History, JFR, sensors, services, and AIAppendix D - Extensions
Full panel referenceFeatures
Agent/transport referenceAI agents and CLI

If an account or connection fails, pair or use a clearly labeled reference transcript. Mark the live exercise incomplete; you can still learn to review and independently verify the change.

Next: 00 - Runtime understanding.

Next
00 - Runtime understanding

© 2026 Julien Dubois