Just Java in general

Java

Understanding and Using Optional in Java

Understanding and Using Optional in Java

Optional is a container object introduced in Java 8 that may or may not contain a non-null value. It helps avoid...
LTS LTS
1 min read
Using @Async in Spring Boot for Asynchronous Processing

Using @Async in Spring Boot for Asynchronous Processing

Spring Boot provides the @Async annotation to execute methods asynchronously. This improves application performance by freeing up the main thread while...
LTS LTS
2 min read
Java Multiple Threading using CompletableFuture and allOf Method: A Comprehensive Guide with Examples

Java Multiple Threading using CompletableFuture and allOf Method: A Comprehensive Guide with Examples

Java introduced the CompletableFuture class in version 8 as part of the java.util.concurrent package. This class enables asynchronous programming and allows...
LTS LTS
2 min read
Using @Modifying and @Transactional in Spring JPA

Using @Modifying and @Transactional in Spring JPA

Spring Data JPA provides powerful annotations like @Modifying and @Transactional to perform update and delete operations efficiently. These annotations allow modifying...
LTS LTS
1 min read
A Complete Guide For CRUD Operations Using Spring JPA with Native Queries

A Complete Guide For CRUD Operations Using Spring JPA with Native Queries

Spring Data JPA provides an abstraction over traditional JPA, making database interactions easier. While JPA’s derived and JPQL queries are powerful,...
LTS LTS
2 min read
Using @Primary and @Qualifier in Spring Boot with Full Example

Using @Primary and @Qualifier in Spring Boot with Full Example

Spring Boot provides powerful dependency injection features, allowing developers to manage beans effectively. Two key annotations, @Primary and @Qualifier, help resolve...
LTS LTS
1 min read
How to Marshalling and Unmarshalling Java Objects

How to Marshalling and Unmarshalling Java Objects

Introduction Marshalling and unmarshalling are essential processes in Java when working with object serialization and data exchange. Marshalling refers to converting...
LTS LTS
2 min read
Microservices Based System with API Gateway and Rate Limiting in Java

Microservices Based System with API Gateway and Rate Limiting in Java

In modern application architectures, microservices provide scalability, modularity, and ease of development. To manage communication between services and ensure security, an...
LTS LTS
2 min read
Java Microservice with Authentication and User Interface

Java Microservice with Authentication and User Interface

Microservice architecture, integrating a user interface (UI) involves designing a dynamic frontend that interacts seamlessly with the backend microservices. The UI...
LTS LTS
2 min read
Designing a Scalable Web UI with Microservices Architecture

Designing a Scalable Web UI with Microservices Architecture

Microservices have become a go-to architectural style for building robust, scalable, and maintainable systems. When designing a web UI integrated with...
LTS LTS
2 min read