6 topics · 0/6 read
Spring Security, Microservices & Testing
The Spring Security filter chain, JWT resource servers, microservice patterns with Spring Cloud, resilience with circuit breakers, Kafka with Spring, and testing Spring Boot apps.
How Spring Security Works: The Filter Chain
Spring Security protects your app with a chain of servlet filters that authenticate the request and then check authorization. Interviewers ask how a request flows through it, what the SecurityContext is, and how to confi
Read nowJWT Authentication in Spring Boot
Most Spring Boot APIs authenticate with JWT bearer tokens, either issued by an identity provider such as Keycloak, Auth0 or Cognito, or by the app itself. Interviewers ask how tokens are validated, how roles map to autho
Read nowMicroservices Patterns with Spring Boot and Spring Cloud
Java microservice interviews cover the building blocks: API gateway, service discovery, central configuration, inter-service calls, distributed tracing and data per service. Spring Cloud provides most of them, and Kubern
Read nowResilience: Timeouts, Retries and Circuit Breakers
In a distributed system other services will be slow or down. Timeouts, retries with backoff, circuit breakers, bulkheads and fallbacks keep one failing dependency from taking everything down. Resilience4j is the standard
Read nowApache Kafka with Spring Boot
Kafka is the most common event streaming platform in Java backends. Interviewers ask about topics, partitions, consumer groups and offsets, delivery guarantees, and how to produce and consume with Spring for Apache Kafka
Read nowTesting Spring Boot Applications
Spring Boot testing covers plain unit tests with JUnit 5 and Mockito, sliced tests like @WebMvcTest and @DataJpaTest, full @SpringBootTest integration tests, and Testcontainers for real databases. Interviewers ask which
Read now