Back to Home

    Articles & Blog

    Technical articles, tutorials, and insights on AI, Spring Framework, Java, and software development

    Spring Boot Data Leak Prevention: Detecting Sensitive Information with Apache Tika

    Jan 3, 20268 min read
    New

    Learn how to use Apache Tika with Spring Boot to automatically scan uploaded files for sensitive data like SSN, credit cards, and emails for DLP compliance.

    Spring Boot
    Apache Tika
    Security
    DLP

    In-depth understanding of JVM inline caching: method tables and implementation principles

    Nov 18, 20254 min read
    New

    Learn how the JVM optimizes method invocation through inline caching, virtual method tables, and adaptive optimization techniques for improved performance.

    JVM
    Java
    Performance
    Interview

    Introduction to RAG Development and Basic Concepts

    Dec 2514 min read
    New

    Complete guide to RAG architecture, core components, and how to build a knowledge-intensive AI system for Java developers.

    RAG
    AI
    Python
    Spring Boot

    Chapter 2: Building a Knowledge Base and Vectorization

    Dec 2514 min read
    New

    Learn to build RAG knowledge bases with document preprocessing, embedding models, FAISS vector storage, and semantic retrieval.

    RAG
    FAISS
    Vector DB
    Python

    Chapter 3: Implementing the Core Logic of RAG

    Dec 2516 min read
    New

    Complete RAG workflow with LangChain: query processing, retrieval, context enhancement, generation, and optimization strategies.

    RAG
    LangChain
    LLM
    Python

    Differences between Red-Black Trees and Binary Search Trees and their Search Efficiency Analysis

    Sep 12, 20255 min read
    New

    Deep dive into BST vs Red-Black Tree comparison, self-balancing mechanisms, time complexity analysis, and why Red-Black Trees are used in Java's TreeMap and TreeSet.

    Data Structures
    Algorithms
    Java
    Interview

    Red-black trees are the most frequently used underlying technology in the JDK

    Aug 3, 20253 min read
    New

    Learn why Red-Black Trees exist, their properties, rotation mechanisms, color transformation rules, and how they compare to AVL trees in the JDK.

    Red-Black Tree
    JDK
    Data Structures
    Java

    Integrating Spring Boot with Quartz to implement automatic order cancellation functionality

    Dec 10, 20256 min read
    New

    Complete guide to implementing scheduled order cancellation using Quartz with task persistence, dynamic job management, and REST API integration.

    Spring Boot
    Quartz
    Scheduling
    Java

    Encrypting API response data using Spring Boot and AES

    Jul 22, 20254 min read
    New

    Learn how to automatically encrypt sensitive API responses using AES encryption with Spring Boot's ResponseBodyAdvice and Hutool toolkit.

    Spring Boot
    Security
    AES
    Java

    Implement a simple JAR file encryption feature in a Spring Boot project to prevent decompilation

    Nov 3, 20253 min read
    New

    Protect your Spring Boot application's core code from decompilation using AES encryption for JAR files with dynamic decryption at runtime.

    Spring Boot
    Security
    Encryption
    Java

    Spring Data JPA Practical Techniques to Boost Performance

    Aug 28, 20259 min read
    New

    Master Spring Data JPA with repository interfaces, Specification API, Criteria Builder, caching, batch processing, and performance optimization techniques.

    Spring Data JPA
    Performance
    Java
    Database

    Combining generics and functional programming can make code so elegant!

    Jun 30, 20258 min read
    New

    Learn how to eliminate structured code duplication using Java generics and functional programming with practical pagination and async callback examples.

    Java
    Generics
    Functional Programming
    Clean Code

    Why is Tomcat's maximum number of connections 200? Unveiling the technical truth behind it.

    Oct 19, 20257 min read
    New

    Deep dive into Tomcat's default connection limit design, I/O-intensive characteristics, thread pools, HTTP Keep-Alive, and practical optimization strategies.

    Tomcat
    Performance
    Java
    Server

    Spring Boot Lightweight Distributed Transactions: A Practical Guide to Eventual Consistency

    Sep 7, 20255 min read
    New

    Implement eventual consistency using RocketMQ transaction messages, local event tables, idempotent design, and compensation mechanisms in Spring Boot.

    Spring Boot
    Distributed
    RocketMQ
    Transactions

    Debezium CDC: Real-Time MySQL to Redis Synchronization

    Jan 21, 20268 min read
    New

    Master Change Data Capture with Debezium and Kafka Connect for production-grade real-time data synchronization from MySQL binlog to Redis cache.

    Debezium
    CDC
    Kafka
    Redis
    MySQL

    Spring JDBCTemplate in Practice: From CRUD to Advanced Techniques

    Dec 1, 20259 min read
    New

    Master Spring JDBCTemplate with query operations, batch processing, RowMapper, streaming queries, stored procedures, and optimistic locking.

    Spring
    JDBC
    Database
    Java

    Introduction to the LRU Algorithm and Its Implementation

    Jul 14, 20254 min read
    New

    Learn the LRU cache eviction algorithm with LinkedHashMap and custom HashMap + doubly linked list implementations in Java.

    Java
    Algorithm
    Cache
    Data Structure

    Data Synchronization in Multi-Active Architecture: A Simple Solution

    Aug 9, 20254 min read
    New

    Implement real-time data sync between data centers using Spring Boot, MySQL master-slave replication, and Kafka message queues.

    Spring Boot
    Kafka
    Architecture
    MySQL

    SpringBoot Integration with Spring Statemachine: A Practical Tutorial

    Nov 25, 20256 min read
    New

    Implement order status transitions using Spring Statemachine with persistence, state recovery, and conditional guards for complex workflows.

    Spring Boot
    State Machine
    Design Pattern
    Java

    Cross-Timezone Data Integrity in Global Data Pipelines

    Oct 31, 20256 min read
    New

    Learn best practices for ensuring data consistency across time zones using UTC standardization, DST handling, and centralized time management.

    Java
    Architecture
    Data Pipeline
    Best Practices

    Big news! Ollama releases its UI, say goodbye to command windows!

    Dec 15, 20255 min read
    New

    Ollama has released an official UI, making it easier than ever to run local LLMs without command line. Learn about this exciting update and how to get started.

    Ollama
    AI
    LLM
    Local AI

    JVM Interview Explosive Question: Deep Copy vs. Shallow Copy

    Sep 22, 20258 min read
    New

    Master the key differences between deep copy and shallow copy in Java. Understand when to use each, their implementation methods, and ace your JVM interview questions.

    Java
    JVM
    Interview
    Object Cloning

    Amazing! SpringAI takes the lead in multimodal computing: Google Vertex AI's embedded models are incredibly powerful!

    Jul 8, 202510 min read
    New

    Explore how Spring AI integrates with Google Vertex AI for powerful multimodal computing capabilities. Learn about embedded models and their amazing potential.

    Spring AI
    Google Cloud
    Vertex AI
    Multimodal

    The interviewer's question stumped me: "Java isn't fast anymore, so why is your company still using it?"

    Aug 17, 20255 min read
    New

    A deep dive into why Java remains relevant in 2025, the role of reverse proxies, SSL termination, and proper architecture design for enterprise systems.

    Java
    Interview
    Architecture
    Nginx

    A Redis interview question that stumped 80% of Java experienced hires: How do you handle concurrent keys?

    Oct 12, 20257 min read
    New

    Deep dive into Redis concurrent key contention, atomic operations, Lua scripts, distributed locks, and CAS approach for handling concurrent access.

    Redis
    Java
    Interview
    Concurrency

    What's the difference between JDK dynamic proxies and CGLIB dynamic proxies? I was stumped by this question!

    Jun 29, 20255 min read
    New

    A deep dive into JDK vs CGLIB dynamic proxies, their implementation differences, performance characteristics, and how Spring AOP chooses between them.

    Java
    Interview
    Spring
    AOP

    What are the differences between Spring AOP and AspectJ? Did you really answer it correctly?

    Nov 9, 20256 min read
    New

    Deep dive into Spring AOP vs AspectJ AOP, implementation methods, internal method calls limitation, and real interview experiences with practical solutions.

    Spring
    AOP
    AspectJ
    Interview

    Synchronized methods and synchronized blocks – 90% of people choose the wrong answer!

    Sep 1, 20255 min read
    New

    Deep analysis of synchronized methods vs synchronized blocks from performance, flexibility, and readability perspectives with practical usage scenarios.

    Java
    Concurrency
    Interview
    Multithreading

    The best data format for LLM calls: TOON, reducing costs by 50%

    Dec 20, 20253 min read
    New

    Learn how TOON format reduces token costs by 40-60% compared to JSON while improving LLM accuracy, with Java usage guide included.

    LLM
    Java
    AI
    Optimization

    Solution to disordered column order when Spring Data JPA automatically generates tables

    Jul 3, 20252 min read
    New

    Fix for Spring Boot 3.3.5+ where JPA auto-generated table columns don't match Entity variable order. Updated solution for the latest Hibernate version.

    Spring
    JPA
    Hibernate
    Spring Boot

    Six ways to read API request parameters in Spring Boot

    Oct 26, 20253 min read
    New

    A comprehensive guide to reading request parameters in Spring Boot: @RequestParam, @PathVariable, @MatrixVariable, @RequestBody, @RequestHeader, and @CookieValue.

    Spring Boot
    REST API
    Java
    Tutorial

    How to dynamically specify the database in Spring Boot for different users?

    Aug 21, 20252 min read
    New

    Learn how to configure dynamic schema in Spring Boot for SaaS applications with multi-tenant data isolation using runtime database switching.

    Spring Boot
    JPA
    SaaS
    Multi-tenant

    The implicit cost of Jackson serialization

    Sep 15, 20258 min read
    New

    Deep dive into Jackson performance issues under high concurrency, optimization strategies including @JsonView, custom serializers, and when to use alternatives.

    Java
    Performance
    Jackson
    Spring Boot

    Explaining the 6 New Features in Java 25

    Nov 30, 20253 min read
    New

    Compact source files, flexible constructors, Scoped Values, module imports, AOT profiling, and generational Shenandoah GC explained with examples.

    Java
    Java 25
    New Features
    JVM

    How to configure multiple Spring AI LLM clients in a Spring Boot application

    Jul 27, 20256 min read
    New

    Learn to integrate multiple LLMs from different vendors with automatic failover using Spring AI and Spring Retry for resilient chatbots.

    Spring AI
    LLM
    Spring Boot
    Resilience

    How to use ShedLock to ensure scheduled tasks execute only once in multi-instance environments

    Oct 8, 20253 min read
    New

    Prevent duplicate scheduled task execution in multi-instance Spring Boot deployments using ShedLock with database-backed distributed locking.

    Spring Boot
    ShedLock
    Scheduling
    Distributed

    Spring Boot 4 and Spring Framework 7: New Features, Upgrade Guide

    Dec 5, 202513 min read
    New

    Comprehensive analysis of Spring Boot 4 and Spring Framework 7 with API versioning, declarative HTTP clients, built-in resilience, and cloud-native improvements.

    Spring Boot 4
    Spring 7
    New Features
    Cloud Native

    I finally understand public keys, private keys, symmetric and asymmetric encryption

    Sep 28, 20259 min read
    New

    A beginner-friendly guide to encryption: symmetric (AES) vs asymmetric (RSA), public/private key pairs, and real-world use cases in payment integrations.

    Security
    Encryption
    RSA
    AES

    More Articles Coming Soon

    Stay tuned for more technical articles on Spring AI, Java, and software development!