thumbnail image
  • home
  • java
  • spring
  • signup
  • …  
    • home
    • java
    • spring
    • signup
  • home
  • java
  • spring
  • signup
  • …  
    • home
    • java
    • spring
    • signup
  • ☕🍃🔍

    🍃 MockMVC: What does “Mock” ACTUALLY mean?
    July 17, 2026
    spring
    👉No Tomcat, No real network... When testing Spring MVC applications, you have probably used: ▪️ @AutoConfigureMockMvc ▪️ MockMvc ▪️ MockMvcTester But what exactly is being mocked? By default: @SpringBootTest is equivalent to: @SpringBootTest(webEnvironment = MOCK) This...
    🌱🚀 Spring VS Spring Boot: 5 KEY DIFFERENCES without the confusion
    July 17, 2026
    spring
    Spring and Spring Boot are not competing frameworks. Spring Boot is built on top of Spring. It keeps Spring’s dependency injection, MVC, data access and transaction support while reducing the setup needed to start and operate an application. 🔸 TL;DR ▪️ Spring is the foundation. ▪️ Spring...
    🗄️⚠️ SPRING DATA findAll(): CONVENIENT, BUT NOT ALWAYS SAFE Inspired by Java Champion Vlad Mihalcea.
    July 17, 2026
    spring
    Spring Data makes repository creation incredibly easy: But this also exposes findAll() by default. That method is not automatically bad. The danger appears when it becomes the default answer for querying a table whose size can grow dramatically in production. 🔸 TL;DR ▪️ findAll() is...
    More Posts
    Cookie Use
    We use cookies to ensure a smooth browsing experience. By continuing we assume you accept the use of cookies.
    Learn More