Spring
-
Enterprise Java
Manually Destroy Prototype Spring Bean
In Spring Framework, beans can be defined with different scopes. The most common scopes are singleton and prototype. While singleton…
Read More » -
Enterprise Java
Spring Cloud Gateway: A Practical Approach
In the realm of microservices architecture, a gateway serves as a unified entry point for multiple microservices. It acts as…
Read More » -
Enterprise Java
Spring HTTP Clients: RestClient, WebClient, RestTemplate
Spring offers several HTTP clients to interact with RESTful services. This article delves into RestTemplate, WebClient, and the newer RestClient,…
Read More » -
Enterprise Java
Converting a Map to a Spring MultiValueMap
In Spring, a MultiValueMap is a structure for storing multiple values for a single key. This can be useful in…
Read More » -
Enterprise Java
Spring JPA LIKE Query Example With JdbcTemplate or JpaRepository
LIKE queries in SQL allow users to search for specified patterns in the database table columns, enabling flexible and dynamic…
Read More » -
Enterprise Java
Spring Boot JpaRepository Example
Hello readers let us delve into understanding the Spring Data JPA module. 1. JpaRepository interface Spring Data JPA provides a…
Read More » -
Enterprise Java
How to Test a Spring AOP Aspect
1. Introduction Aspect-Oriented Programming (AOP) is one of programming paradigms that separates cross-cutting concerns as aspects. It complements Object-Oriented Programming…
Read More » -
Enterprise Java
Manage Kafka Listeners Dynamically in Spring Boot
In contemporary event-driven architectures, proficient management of data streams is paramount. Apache Kafka stands out as a favored solution for…
Read More » -
Enterprise Java
Autowire Spring Bean in Servlet Filter
Servlet filters provide a powerful way to intercept and manipulate incoming requests. However, accessing Spring-managed beans within these filters can…
Read More »