Java

Just Java in general

Serving a ZIP File in Java with Spring Boot and Downloading It in ReactJS

Serving a ZIP File in Java with Spring Boot and Downloading It in ReactJS

This article demonstrates how to implement a REST API in Java using Spring Boot to serve a ZIP file and
LTS LTS
1 min read
Getting Started with Lombok in Java

Getting Started with Lombok in Java

Project Lombok is a Java library that helps reduce boilerplate code. It uses annotations to generate commonly used code like
LTS LTS
1 min read
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
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
LTS LTS
1 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
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
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
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
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
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,
LTS LTS
2 min read