Posts in technical

SpringApplication: Customizing Startup, Banner, Event Listeners

Master SpringApplication lifecycle customization including startup sequence, custom banners, and application event listeners for boot-time control.

Spring Boot Test Stack: @SpringBootTest, @WebMvcTest, @DataJpaTest, @MockBean

Master Spring Boot testing annotations: compare @SpringBootTest vs @WebMvcTest vs @DataJpaTest, and learn @MockBean for effective unit testing.

Testing Spring Security: @WithMockUser and SecurityMockMvc

Learn how to test Spring Security: use @WithMockUser for authentication simulation and SecurityMockMvcRequestBuilders for endpoint security validation with MockMvc.

Spring Data JPA: Repository Patterns, Derived Queries, Pagination

Master Spring Data JPA repository abstraction, derived query method naming, custom @Query JPQL, pagination, and transaction handling.

Spring Core: IoC, DI, Bean Lifecycle, ApplicationContext

Master Spring Framework core concepts: Inversion of Control, Dependency Injection patterns, Bean lifecycle phases, and ApplicationContext variants.

Spring Security Form-Based & HTTP Basic Authentication

Learn how to implement form-based login and HTTP Basic authentication in Spring Security, with configuration examples, security hardening, and failure scenarios.

Spring Security Method-Level Security Annotations

Secure Spring Boot methods with @PreAuthorize, @Secured, @RolesAllowed annotations and SpEL expressions for fine-grained access control.