Skip to content
ExponaBLOG
Series · Day 100 of 100

Java, Spring Framework & Spring Boot

  1. 51
    Auditing with Spring Data JPA: best practices explained
    createdAt, updatedAt and createdBy without manual code.
  2. 52
    Caching with @Cacheable and Redis in Java & Spring Boot
    Cache expensive reads with one annotation.
  3. 53
    Spring Security filter chain explained, explained simply
    Every request passes through a chain of filters before your controller.
  4. 54
    Spring Security JWT authentication in Java & Spring Boot
    Stateless API auth with signed tokens, the Spring way.
  5. 55
    Password hashing with BCrypt in Spring, explained simply
    Never store passwords — store slow, salted hashes.
  6. 56
    Method security with @PreAuthorize in Java & Spring Boot
    Authorize at the service layer, not just URLs.
  7. 57
    CORS in Spring Boot, configured correctly for production
    Most CORS errors are configuration mistakes.
  8. 58
    OAuth2 login with Google in Spring Boot, explained simply
    Social login with a few lines of config.
  9. 59
    Spring Boot as an OAuth2 resource server for production
    Validate tokens from any OIDC provider.
  10. 60
    Securing Spring Boot Actuator endpoints, explained simply
    Actuator can leak secrets if exposed carelessly.
  11. 61
    Unit testing with JUnit 5 and Mockito: a practical guide
    Fast tests for business rules without starting Spring.
  12. 62
    Readable assertions with AssertJ: lessons from production
    Assertions that read like sentences and fail clearly.
  13. 63
    Controller tests with @WebMvcTest in Java & Spring Boot
    Test the HTTP layer — routing, validation, JSON — in milliseconds.
  14. 64
    Repository tests with @DataJpaTest and Testcontainers
    Test against the real database engine, not H2.
  15. 65
    Integration tests with @SpringBootTest, explained simply
    Prove the whole app works together.
  16. 66
    Test data builders in Java: patterns, pitfalls and fixes
    Readable tests start with readable setup.
  17. 67
    Contract testing Spring Boot APIs in Java & Spring Boot
    Catch breaking API changes before consumers do.
  18. 68
    Code coverage with JaCoCo: practical tips and trade-offs
    Coverage is a flashlight, not a target.
  19. 69
    Mutation testing with PIT: practical tips and trade-offs
    Find tests that pass no matter what the code does.
  20. 70
    Testing Spring Security rules: best practices explained
    Security bugs are the ones you cannot afford.
  21. 71
    Spring Boot microservices: when to split for production
    Microservices solve organizational problems — and create technical ones.
  22. 72
    API gateway with Spring Cloud Gateway: a practical guide
    One entry point for routing, auth and rate limiting.
  23. 73
    Centralized config in Spring microservices: a deep dive
    Config across many services without drift.
  24. 74
    Apache Kafka with Spring Boot: best practices explained
    Produce and consume events with Spring for Apache Kafka.
  25. 75
    RabbitMQ messaging with Spring Boot in Java & Spring Boot
    Work queues and routing with AMQP.
  26. 76
    Distributed tracing with Micrometer and OpenTelemetry
    Follow one request across every service.
  27. 77
    Circuit breakers with Resilience4j in Java & Spring Boot
    Stop hammering a dependency that is already down.
  28. 78
    Saga pattern with Spring Boot: best practices explained
    Keep data consistent across services without distributed transactions.
  29. 79
    Idempotent consumers in Java: what developers should know
    At-least-once delivery means duplicates. Plan for them.
  30. 80
    Scheduled jobs in Spring Boot: best practices explained
    @Scheduled is easy. Running it on many instances is not.
  31. 81
    Dockerizing a Spring Boot app: best practices explained
    Small, fast-starting images with layered jars.
  32. 82
    Cloud Native Buildpacks for Spring Boot, explained simply
    Production images without writing a Dockerfile.
  33. 83
    GraalVM native images for Spring Boot: a practical guide
    Millisecond startup and tiny memory — with trade-offs.
  34. 84
    JVM memory flags in containers: best practices explained
    Let the JVM size itself from container limits.
  35. 85
    Deploying Spring Boot to AWS: what developers should know
    Three good options and when to pick each.
  36. 86
    GitHub Actions CI for Maven projects: a practical guide
    Build, test and publish on every push.
  37. 87
    Graceful shutdown in Spring Boot: lessons from production
    Deploys should not drop in-flight requests.
  38. 88
    Speeding up Spring Boot startup: lessons from production
    Slow startups hurt deploys, tests and autoscaling.
  39. 89
    Profiling Java with JDK Flight Recorder, explained simply
    Low-overhead profiling you can run in production.
  40. 90
    Monitoring Spring Boot with Prometheus and Grafana explained
    Dashboards that tell you when something is wrong.
  41. 91
    Java interview questions: collections and concurrency
    What interviewers ask — and what a strong answer includes.
  42. 92
    Spring Boot interview questions: lessons from production
    Common questions and the answers that show real experience.
  43. 93
    Fixing 'No qualifying bean of type' in Spring explained
    The most common Spring startup error, explained.
  44. 94
    Fixing LazyInitializationException in Java & Spring Boot
    Lazy collections accessed after the session closed.
  45. 95
    Fixing circular dependencies in Spring, explained simply
    Spring Boot forbids them by default — and that is good.
  46. 96
    Clean architecture with Spring Boot in Java & Spring Boot
    Keep the framework at the edges of your code.
  47. 97
    Modular monoliths with Spring Modulith, explained simply
    Microservice boundaries without microservice costs.
  48. 98
    Kotlin vs Java for Spring Boot: best practices explained
    Both are first-class. Choose by team, not hype.
  49. 99
    Java backend developer roadmap: best practices explained
    What to learn, in order, to become productive.
  50. 100
    100 days of Java and Spring Boot: the recap in practice
    The lessons that matter most from the whole series.