Blog

Java modernization, Spring Boot, and enterprise engineering. Written by someone who does the work.

  1. Best Practices

    Does a Generated Test Prove Anything? Check What Makes It Fail

    How I checked agent-written Petclinic tests: reject generic assertions, read writes back over HTTP, remove saves, and run the project's build.

    Oct 28, 2026 • 5 min read
  2. Best Practices

    Mocked Tests Missed Five Broken Saves in Spring Boot

    Petclinic's mocked controller tests missed five removed saves. HTTP tests caught every one on Spring Boot 2.7.3 and 4.1.2.

    Oct 28, 2026 • 6 min read
  3. Spring Boot

    The Spring Boot 2.7 to 4.1 Upgrade Path That Ran Green Three Times

    The 11-step Petclinic upgrade from Spring Boot 2.7.3 to 4.1.2, with recorded timings, tests first, and separate commits for the risky jumps.

    Oct 28, 2026 • 5 min read
  4. Spring Boot

    Spring Boot 4 Test Errors: Moved Imports and Duplicate Caches

    The test errors from Petclinic's Boot 3.5 to 4.0 upgrade, with verified import moves, the duplicate vets cache fix, and redirect settings.

    Oct 28, 2026 • 5 min read
  5. Java

    Life After saveOrUpdate: Preparing for Hibernate 7

    Replace Hibernate saveOrUpdate with persist, merge, and dirty checking without losing entity identity, cascade behavior, or Envers audit revisions.

    Oct 5, 2026 • 11 min read
  6. Architecture

    How I Built an AI Chief of Staff with Spring Boot and Slack

    I built a chief of staff with Spring Boot and Claude to pull together my tickets and PR reviews. The important part was getting it to do something useful.

    Sep 8, 2026 • 17 min read
  7. Spring Boot

    Flyway vs Liquibase: Which Database Migration Tool for Spring Boot?

    Flyway vs Liquibase for Spring Boot: how each works, what's behind paid tiers, and how to pick one for your team and database setup.

    Jul 22, 2026 • 14 min read
  8. Java

    JUnit 4 to JUnit 5 Migration: The Complete Guide

    Migrate JUnit 4 tests to JUnit 5: annotation mapping table, runner replacements, Vintage engine strategy, and OpenRewrite automation.

    Jul 22, 2026 • 17 min read
  9. Spring Boot

    OpenTelemetry with Spring Boot: A Practical Observability Guide

    Wire OpenTelemetry into Spring Boot with Micrometer Tracing or the Java agent. Traces, metrics, log correlation, and the pitfalls that bite.

    Jul 22, 2026 • 17 min read
  10. Spring Boot

    Spring Boot 4: What Actually Changed and Whether to Upgrade Yet

    Spring Boot 4 brings Jackson 3, JSpecify, and built-in API versioning. Boot 3.5 support has ended. Here's how to decide when to move.

    Jul 22, 2026 • 13 min read
  11. Spring Boot

    Spring Cloud Gateway: Routing, Filters, and Migrating Off Zuul

    Practical Spring Cloud Gateway guide: routes, filters, rate limiting, circuit breakers, and migrating off Netflix Zuul with working code.

    Jul 22, 2026 • 15 min read
  12. Java

    Migrating from WebLogic to Spring Boot: A Practical Roadmap

    Practical roadmap for moving WebLogic apps to Spring Boot: EJB mapping, JNDI datasources, JTA transactions, and a phased strangler-fig strategy.

    Jul 22, 2026 • 15 min read
  13. Spring Boot

    Hibernate 5 to 6 Migration with Spring Boot 3: The Gotchas That Matter

    What actually breaks when Spring Boot 3 pulls in Hibernate 6: dialects, ID generation, timezone storage, @Type annotations, and query behavior changes.

    Jul 2, 2026 • 6 min read
  14. Spring Boot

    Spring Boot 2.7 to 3.x Migration Guide: A Step-by-Step Upgrade Path

    A practical guide to migrating from Spring Boot 2.7 to 3.x, covering Java 17, the jakarta namespace change, Spring Security 6, and automation with OpenRewrite.

    Jul 2, 2026 • 8 min read
  15. Spring Boot

    Spring Security 5 to 6 Migration: Life After WebSecurityConfigurerAdapter

    How to migrate Spring Security 5 config to 6: replacing WebSecurityConfigurerAdapter with SecurityFilterChain, the lambda DSL, and method security changes.

    Jul 2, 2026 • 7 min read
  16. Java

    The Business Case for Java Modernization: An ROI Framework for Engineering Leaders

    Build a CFO-ready business case for Java modernization with this ROI framework covering cost of inaction, measurable outcomes, and timeline expectations.

    Apr 11, 2026 • 12 min read
  17. Spring Boot

    Spring AI with Amazon Bedrock: Production Architecture for Enterprise Java

    Build production-grade AI features in Java with Spring AI and Amazon Bedrock. Covers Converse API, function calling, observability, cost governance, and RAG.

    Apr 11, 2026 • 16 min read
  18. Spring Boot

    Jakarta EE Migration: From javax to jakarta in Spring Boot 3

    Practical guide to migrating javax to jakarta namespaces in Spring Boot 3. Step-by-step process, OpenRewrite automation, and common pitfalls.

    Apr 9, 2026 • 14 min read
  19. Java

    Java 26 New Features: What Enterprise Teams Actually Need to Know

    Java 26 ships HTTP/3, G1 GC throughput gains, AOT caching for any collector, and post-quantum cryptography. Here is what matters for production.

    Apr 7, 2026 • 12 min read
  20. Spring Boot

    Spring Boot 3 to 4 Migration Guide: What Changed and How to Upgrade

    Migrate Spring Boot 3.5 to 4.0, check breaking changes in starters, Jackson and Security, then upgrade to 4.1 with a practical checklist.

    Apr 4, 2026 • 15 min read
  21. Java

    How to Migrate from Java 8 to Java 21: The Enterprise Guide

    Step-by-step guide for migrating Java 8 apps to Java 21. Virtual threads, breaking changes, OpenRewrite recipes, and a tested migration strategy.

    Apr 2, 2026 • 15 min read
  22. Java

    Oracle Java Licensing in 2026: How to Cut Costs by Migrating to OpenJDK

    Oracle's per-employee Java licensing is costing enterprises 3x-10x more. Here's how to migrate to OpenJDK and what to tell your CFO.

    Mar 31, 2026 • 12 min read
  23. Spring Boot

    AI-Generated Tests for Spring Boot: JUnit 5, Mockito, and WireMock

    Use AI to generate JUnit 5, Mockito, and WireMock tests for Spring Boot. Real prompting workflows for unit tests, integration tests, and finding coverage gaps.

    Mar 5, 2026 • 12 min read
  24. Best Practices

    AI Code Review for Java Teams: A Practical Workflow

    How Java developers use AI tools like Claude to catch anti-patterns, address PR feedback faster, and review architecture decisions before merging.

    Mar 5, 2026 • 10 min read
  25. Java

    AI-Assisted Java Development: A Practical Guide to Claude Code and AI Pair Programming

    Claude Code for Java development: setup, CLAUDE.md context files, effective prompting, microservices scaffolding, and avoiding AI hallucinations.

    Mar 5, 2026 • 10 min read
  26. Business

    Fractional Java Developers: The Smart Alternative to Full-Time Hiring

    Learn when a fractional Java developer beats a full-time hire, what it actually costs, how to engage one effectively, and the red flags to avoid.

    Mar 5, 2026 • 10 min read
  27. Java

    Java vs Kotlin for Enterprise: An Honest Assessment

    Java vs Kotlin for enterprise: real tradeoffs on interop, Spring Boot support, team adoption, performance, and when switching actually makes sense.

    Mar 5, 2026 • 11 min read
  28. Best Practices

    Multi-Agent AI Development: How to Orchestrate AI Coding Agents That Actually Ship

    How to structure multi-agent AI workflows for software development: task decomposition, parallel execution, worktree isolation, and review agents that work.

    Mar 5, 2026 • 11 min read
  29. Spring Boot

    Spring Boot Configuration and Profiles: application.yml, Environments, and Secrets

    Master Spring Boot configuration with profiles, application.yml, externalized config, and secrets management for production-grade Spring applications.

    Mar 5, 2026 • 11 min read
  30. Best Practices

    Spring Boot Debugging with AI: Faster Root Cause Analysis for Real Errors

    Use AI to debug Spring Boot errors faster: stack traces, Maven conflicts, autowiring failures, N+1 queries, and configuration problems with real examples.

    Mar 5, 2026 • 10 min read
  31. Spring Boot

    Spring Boot with Apache Kafka: A Practical Guide

    Spring Boot Kafka tutorial: configure producers, @KafkaListener consumers, dead letter topics, Avro schema registry, and EmbeddedKafka testing.

    Mar 5, 2026 • 12 min read
  32. Spring Boot

    Spring Boot vs Django: An Honest Comparison for 2026

    Spring Boot vs Django compared: performance, ecosystem, learning curve, enterprise fit, and when to choose each. Real-world production perspective.

    Mar 5, 2026 • 12 min read
  33. Architecture

    Spring Boot vs Node.js: Choosing the Right Backend for Your Team

    Spring Boot vs Node.js compared for senior engineers: performance, scalability, ecosystem, type safety, and when each actually wins in production.

    Mar 5, 2026 • 12 min read
  34. Java

    COBOL to Java Migration: A Practical Strategy for Enterprise Systems

    How to plan and execute a COBOL to Java migration. Assessment frameworks, migration patterns, risk management, and realistic timelines.

    Mar 4, 2026 • 10 min read
  35. Spring Boot

    Deploying Spring Boot to Kubernetes: A Production-Ready Guide

    Deploy Spring Boot applications to Kubernetes with proper health checks, resource limits, ConfigMaps, secrets, and rolling updates.

    Mar 4, 2026 • 10 min read
  36. Spring Boot

    GraalVM Native Image with Spring Boot: Faster Startup, Lower Memory

    Build Spring Boot native executables with GraalVM: AOT compilation setup, reflection hints, Docker integration, and real startup/memory benchmarks vs JVM mode.

    Mar 4, 2026 • 15 min read
  37. Business

    How to Hire Java Developers in 2026: A Practical Guide

    A practical guide to hiring Java developers in 2026: what to look for, how to screen, salary ranges, and the interview questions that reveal real skill.

    Mar 4, 2026 • 12 min read
  38. Java

    Java Stream API: The Complete Practical Guide

    Master the Java Stream API: stream creation, intermediate vs terminal ops, collectors, parallel streams, and common performance pitfalls in production.

    Mar 4, 2026 • 11 min read
  39. Spring Boot

    Java Virtual Threads with Spring Boot: A Practical Guide

    Learn how Java virtual threads work with Spring Boot 3.2+, when to use them, common pitfalls like thread pinning, and real performance benchmarks.

    Mar 4, 2026 • 13 min read
  40. Architecture

    Migrating Monolith to Microservices with Spring Boot: A Practical Guide

    Practical microservices migration with Spring Boot. Strangler fig pattern, database decomposition, API gateway setup, and when NOT to migrate.

    Mar 4, 2026 • 14 min read
  41. Spring Boot

    Dockerizing Spring Boot: Multi-Stage Builds, Layered Jars, and Compose

    Containerize Spring Boot apps with multi-stage Dockerfiles, layered jars, Docker Compose for local dev, and health checks that actually work.

    Mar 4, 2026 • 11 min read
  42. Spring Boot

    Spring Boot Error Handling: A Practical Guide to @ControllerAdvice and ProblemDetail

    Spring Boot error handling with @ExceptionHandler, @ControllerAdvice, RFC 7807 ProblemDetail, validation errors, and custom error pages.

    Mar 4, 2026 • 13 min read
  43. Spring Boot

    Spring Boot Logging Best Practices: Logback, SLF4J, and Structured Logging

    Master Spring Boot logging with Logback, SLF4J, structured JSON output, MDC request tracing, and log level strategies for production systems.

    Mar 4, 2026 • 15 min read
  44. Spring Boot

    Spring Boot Monitoring with Actuator and Prometheus: A Production Guide

    Set up Spring Boot monitoring with Actuator, Micrometer, Prometheus, and Grafana. Covers custom metrics, health indicators, and production configuration.

    Mar 4, 2026 • 14 min read
  45. Spring Boot

    Spring Boot Caching with Redis: A Practical Guide

    Set up Spring Boot caching with Redis using the Spring Cache abstraction. Covers @Cacheable, serialization, TTL, eviction, and production pitfalls.

    Mar 4, 2026 • 14 min read
  46. Spring Boot

    Spring Boot REST API Best Practices for Production

    Spring Boot REST API best practices: HTTP status codes, exception handling, validation with @Valid, DTOs, pagination, API versioning, and OpenAPI documentation.

    Mar 4, 2026 • 15 min read
  47. Spring Boot

    Spring Boot Scheduling: @Scheduled, Cron Expressions, and Quartz Integration

    Spring Boot task scheduling with @Scheduled, cron expressions, fixed rate vs fixed delay, Quartz for distributed jobs, and thread pool configuration.

    Mar 4, 2026 • 12 min read
  48. Spring Boot

    Spring Boot Testcontainers Integration Testing: A Complete Guide

    Spring Boot Testcontainers integration testing with PostgreSQL, Redis, and Kafka. Covers @ServiceConnection and container reuse patterns.

    Mar 4, 2026 • 11 min read
  49. Spring Boot

    Spring Boot Security Best Practices: Authentication, JWT, and OAuth2

    Spring Boot security configuration with Spring Security 6, JWT authentication, OAuth2, and method-level authorization. Practical patterns for production apps.

    Mar 4, 2026 • 13 min read
  50. Java

    Spring Boot vs Quarkus vs Micronaut in 2026: An Honest Comparison

    Compare Spring Boot, Quarkus, and Micronaut on startup time, memory, ecosystem, and developer experience. Real benchmarks and practical guidance.

    Mar 4, 2026 • 9 min read
  51. Spring Boot

    Spring Data JPA Best Practices for Production Applications

    Spring Data JPA best practices: repository patterns, custom queries, projections, N+1 fixes, entity graphs, pagination, and auditing with real examples.

    Mar 4, 2026 • 13 min read
  52. Business

    Staff Augmentation vs Outsourcing: Which Model Fits Your Project?

    Compare staff augmentation and outsourcing for software projects. Costs, control, risks, and when each model works best for your team.

    Mar 4, 2026 • 6 min read
  53. Java

    Java 25 Migration Guide: Step-by-Step LTS Upgrade for Enterprise Teams

    How to migrate to Java 25 LTS without breaking production. Covers dependency checks, breaking changes, team training, and the 30% performance gain.

    Sep 21, 2025 • 11 min read
  54. Java

    Java 25 Performance: Compact Headers, AOT Profiling, and GC Benchmarks

    Evaluate Java 25 performance with verified JVM flags, compact object headers, AOT profiling, Generational Shenandoah, and a repeatable benchmark plan.

    Sep 21, 2025 • 6 min read
  55. Java

    Java 25's Revolutionary Syntax: How Compact Source Files Transform Developer Experience

    Java 25 compact source files (JEP 512) and module imports eliminate boilerplate, transforming how Java developers write code for beginners and experts alike.

    Sep 21, 2025 • 7 min read
  56. Java

    Java 8 to 17 Migration Guide: What Breaks, What Changes, How to Do It

    Migrate Java 8 to 17 with a practical checklist for dependencies, JAXB, reflection, build tools, JVM flags, compatibility tests, and production rollout.

    Aug 27, 2025 • 7 min read
  57. Spring Boot

    Spring Boot Microservices: Architecture Patterns That Actually Work

    Architecture patterns for Spring Boot microservices. Service discovery, API gateway, circuit breakers, and data management strategies for production.

    Aug 27, 2025 • 19 min read
  58. Java

    Why Immutability Pays Off in Java

    Explore how immutability in Java eliminates side effects, improves thread safety, and makes applications more predictable with Records.

    Nov 5, 2024 • 5 min read
  59. Business

    Choosing the Right Staff Augmentation Company: A Guide for Mission-Driven Organizations

    Select the perfect staff augmentation partner by evaluating cultural fit, technical expertise, and quality guarantees for mission-driven teams.

    Sep 18, 2024 • 6 min read
  60. Spring Boot

    Spring Cloud Overview: Building Resilient Microservices

    Introduction to Spring Cloud ecosystem covering service discovery, configuration management, and circuit breakers for microservices.

    Sep 12, 2024 • 5 min read
  61. Dev Tools

    Simplify Spring Boot Version Migration with OpenRewrite

    Automate Spring Boot version migrations with OpenRewrite recipes that handle API changes, package renames, and config updates, with no manual refactoring.

    May 12, 2023 • 4 min read
  62. Dev Tools

    Three Tools to Keep Your Dependencies Up to Date in a Spring Boot Project

    Keep your Spring Boot project secure and current with Snyk, Dependabot, and Renovate: three tools that automate dependency updates and flag vulnerabilities.

    May 11, 2023 • 2 min read
  63. Spring Boot

    Providing a GraphQL Endpoint in Spring Boot

    Learn how to set up and implement a GraphQL endpoint in Spring Boot with schema definition, resolvers, and testing examples.

    May 9, 2023 • 4 min read
  64. Java

    Java Evolution from 8 to 18: What Actually Matters for Modern Development

    Real-world look at Java's evolution from 8 to 18. The features that changed how we write Java code and why upgrading isn't always straightforward.

    May 1, 2023 • 6 min read
  65. Best Practices

    Lessons from Tailwind Labs: Exploring Contract Hiring for Small Teams

    What Adam Wathan's Tailwind Labs hiring process reveals about the real cost of recruiting, and why contract hiring might be the smarter choice for small teams.

    May 1, 2023 • 4 min read
  66. Spring Boot

    Spring Boot and Spring Batch: Creating a Job Runner for Database Exports

    Build a Spring Batch job that exports database records to CSV and trigger it via HTTP POST using Spring Boot's JobLauncher.

    May 1, 2023 • 6 min read
  67. Spring Boot

    Spring Cloud Config: Centralized Configuration Management

    Set up Spring Cloud Config Server to centralize configuration for your microservices. Covers Git backend, environment profiles, encryption, and client setup.

    May 1, 2023 • 5 min read
  68. Spring Boot

    Spring Cloud Functions: Serverless Java Development

    Build serverless apps with Spring Cloud Function and deploy to AWS Lambda, Azure Functions, or Google Cloud without changing a line of your business logic.

    May 1, 2023 • 5 min read
  69. Spring Boot

    Spring Cloud Task: Short-Lived Microservices in Spring Boot

    Learn how Spring Cloud Task manages short-lived microservices for batch jobs, ETL pipelines, and one-time operations, with working code examples.

    May 1, 2023 • 7 min read
  70. Business

    Staff Augmentation: A Catalyst for Mission-Driven Companies

    How staff augmentation helps mission-driven companies scale with specialized talent, stay agile, and focus on their core mission without full-time hiring.

    May 1, 2023 • 6 min read
  71. Dev Tools

    Lombok Annotations in Java: The Complete Guide for Spring Boot Developers

    Every Lombok annotation that matters for Spring Boot. @Getter, @Setter, @AllArgsConstructor, @Builder, @Data, @Value, and when Java Records replace them.

    May 1, 2023 • 8 min read
  72. Spring Boot

    @SecondaryTable

    Learn how to use @SecondaryTable in Spring Boot to map a single JPA entity to multiple database tables, with working code examples and configuration tips.

    Mar 1, 2023 • 4 min read

Java Modernization Readiness Assessment

15 questions your team should answer before starting a migration. Takes 10 minutes. Could save you months.