Java-based gRPC Service Registry Implementation

Overview of gRPC gRPC is a high-performance, open-source remote procedure call (RPC) framework developed by Google. It uses the HTTP/2 protocol and supports multiple languages such as Java, C++, and Python. gRPC enables cross-language and cross-platform communication with more efficient data serialization and transmission, making it easier for ...

Posted on Wed, 29 Jul 2026 17:04:27 +0000 by scottgum

Implementing System Operation Logs with Spring AOP

Custom Annotation for Logging Define an annotation to mark methods requiring logging: @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface AuditLog { String category() default ""; String action() default ""; } Log Entity Structure Create a data model for log records: @Data public class S ...

Posted on Wed, 29 Jul 2026 16:57:51 +0000 by ipruthi

Online Education Platform Development with Java, Spring Boot, and Vue.js

Project Background The evolution of digital technologies has transformed education through online platforms that overcome traditional limitations. These systems enable flexible learning, global collaboration, and personalized educational experiences while promoting resource sharing and accessibility. Technology Stack Spring Boot Backend Spring ...

Posted on Wed, 29 Jul 2026 16:53:42 +0000 by wowiz

Deploying High-Performance Object Storage with MinIO in Docker

Running the Service Container Acquire a specific MinIO release image from Docker Hub: docker pull minio/minio:RELEASE.2025-04-22T22-12-26Z Launch a container with the API and web console ports mapped. Adjust the host bind-mount paths as appropriate for your environment: docker run -d \ --name minio \ -p 9000:9000 \ -p 9001:9001 \ -v /o ...

Posted on Wed, 29 Jul 2026 16:39:43 +0000 by bex1111

Understanding HashCode: Collision Resolution and Practical Implications in HashMap

What is a Hash Collision? When discussing hash collisions, we need to understand the fundamental issue: different objects processed through the same hash algorithm produce identical hash values. Consider HashMap's internal structure—a combination of an array with linked lists. When a key-value pair is inserted, the hash code determines which ar ...

Posted on Wed, 29 Jul 2026 16:18:10 +0000 by jonsjava

Mitigating JVM Garbage Collection Overhead with Off-Heap Caching Using OHC

Addressing Heap Pressure with Off-Heap Storage Large in-memory caches frequently trigger prolonged Garbage Collection (GC) pauses in Java applications. When cached objects dominate the heap, tuning JVM parameters often yields diminishing returns. Relocating cache storage to off-heap memory isolates it from the GC lifecycle, leveraging physical ...

Posted on Wed, 29 Jul 2026 16:17:47 +0000 by beckstei

Efficient Data Pagination Through Loop-Based Retrieval in Java

Understanding Loop-Based Pagination in Java Applications When building enterprise applications that must handle substantial data volumes, implementing an effective pagination strategy becomes critical for maintaining performance while delivering a smooth user experience. Loop-based pagination allows developers to process large datasets incremen ...

Posted on Wed, 29 Jul 2026 16:07:21 +0000 by kamy99

Generating Dynamic Excel Files in Spring Boot with Apache POI

Introduction Implementing data export functionality is a common requirement in enterprise Java applications. By leveraging the Apache POI library, developers can generate Excel spreadsheets programmatically. This approach allows for dynamic column mapping using Java annotations and reflection, ensuring that the spreadsheet structure remains syn ...

Posted on Tue, 28 Jul 2026 17:14:55 +0000 by Darkmatter5

Understanding Object-Oriented Programming in Java

Introduction Exposure to multiple programming languages benefits developers by helping them understand how code executes at a fundamental level. Many high-level languages are object-oriented due to the clear advantages this paradigm offers. Well-known examples include Rust, Java, C++, and C#. In contrast, procedural languages like C and Pascal ...

Posted on Tue, 28 Jul 2026 17:00:28 +0000 by wolfcry044

Implementing Common Field Auto-Fill in Java Spring Boot Monolithic Applications

1. Custom Annotation for Auto-Fill Define a custom annotation to mark methods that require automatic field populatoin. import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) p ...

Posted on Tue, 28 Jul 2026 16:59:24 +0000 by Knutty