Skip to content
stacks

java

Current stacks and fragments, ordered by name.

Language and other tags

Java CLI (picocli)

Stack · java-cli

A Java command-line tool on picocli, built with Maven and make into one runnable jar. Layered TOML config (file, env, flags), one error table mapped to exit codes, text or JSON output, Logback logs to stderr, Error Prone and NullAway, and tests that run the packaged jar.

76%58–88%, n=30

22% never ran verify

npx @steamfield/stacks new java-cli

passed with codex

A Java library for other JVM code to depend on, built with Maven and make. A JPMS module exporting one package, JSpecify nullness checked by NullAway, Javadoc with doclint and examples that run as tests, generated-input property tests, a consumer project built against the installed jar, a japicmp API check and the sources and Javadoc jars Maven Central requires.

73%71–76%, n=1,220

32% never ran verify

npx @steamfield/stacks new java-library

passed with codex

Quarkus REST API (Java)

Stack · quarkus-api

A Java JSON API on Quarkus with Quarkus REST and Jackson, built with Maven and make. One error envelope for every failure, a validated config mapping, request ids and structured JSON logs, readiness checks, Error Prone and NullAway at compile time, and tests through @QuarkusTest and the packaged application.

72%71–74%, n=3,245

38% never ran verify

npx @steamfield/stacks new quarkus-api

passed with codex

Spring Boot REST API (Java)

Stack · spring-boot-api

A Java JSON API on Spring Boot with Spring MVC and Actuator, built with Maven and make. One error envelope for every failure, validated settings, request ids and structured JSON logs, Error Prone and NullAway at compile time, and tests through Spring's MockMvc and a real server.

73%57–85%, n=35

38% never ran verify

npx @steamfield/stacks new spring-boot-api

passed with codex

A server-rendered Java web app on Spring Boot with Thymeleaf templates and htmx for partial page updates, built with Maven and make, with no JavaScript build. Forms validate on the server and work without JavaScript, Spring Security checks CSRF tokens, error pages come from one table, and tests read the rendered HTML through MockMvc and a browser without JavaScript.

66%64–67%, n=4,340

32% never ran verify

npx @steamfield/stacks new spring-boot-web

passed with codex