Tech Stack · Java

Spring Boot

Opinionated framework for production-ready Java services with almost no setup.

What it is

Spring Boot builds on the Spring Framework with starters (curated dependency sets), auto-configuration (sensible defaults based on what is on the classpath), and an embedded server, so a service runs with java -jar.

Create a project

Generate one at start.spring.io (choose Java, Gradle or Maven, and dependencies such as Spring Web), or from the terminal:

curl https://start.spring.io/starter.zip \
  -d dependencies=web,actuator -d type=gradle-project -d name=demo -o demo.zip

Everyday commands

Gradle Maven What it does
./gradlew bootRun ./mvnw spring-boot:run Run the app
./gradlew test ./mvnw test Run tests
./gradlew bootJar ./mvnw package Build an executable jar
./gradlew bootBuildImage ./mvnw spring-boot:build-image Build an OCI/Docker image
java -jar build/libs/demo-0.0.1-SNAPSHOT.jar --server.port=9090

Key annotations

Annotation Purpose
@SpringBootApplication Main class: enables auto-configuration and component scanning
@RestController, @GetMapping HTTP endpoints that return JSON
@Service, @Repository, @Component Beans picked up by component scanning
@ConfigurationProperties Bind application.yml values to a typed class

Key concepts

Posts using Spring Boot

Projects • 9 min read Reader level: Intermediate

What you'll learn

  • The difference between typed Java decisions and LLM-generated decisions
  • How to model decisions as typed, first-class domain objects
  • How a hybrid routing service cascades from fast typed rules to an LLM
  • A framework for choosing each approach, backed by benchmarks
Jev: Type-Safe vs LLM in Spring Boot

A practical comparison of type-safe Java design and LLM-assisted code generation in Spring Boot, with guidance on where each approach adds the most value.

#spring-boot#java#llm#type-safety
Projects • 3 min read Reader level: Intermediate

What you'll learn

  • Why and when a paper-trading platform is useful
  • How PaperStock combines deterministic strategy rules with AI risk gating
  • The system architecture behind a hybrid trading engine
  • How the Java backend evaluates a real trade example
Building Smarter Trades: Inside the PaperStock Platform

A practical walkthrough of PaperStock, a hybrid paper-trading platform that combines deterministic strategy rules with explainable AI risk gating.

#Projects#paper-trading#algorithmic-trading#spring-boot
AI/ML • 7 min read Reader level: Advanced

What you'll learn

  • How a Spring Boot app works as an MCP server for log analysis
  • How Splunk settings map into Java configuration
  • How MCP tools are registered and fetch Splunk or local logs on demand
  • The current limitations and what to improve next
Splunk Log Analysis MCP Agent with Spring Boot and Ollama

A complete guide on building and configuring a Spring Boot AI application that acts as an MCP Server for Splunk log analysis.

#spring-boot#ollama#mcp#splunk