Tagged articles
3838 articles
Page 24 of 39
Selected Java Interview Questions
Selected Java Interview Questions
Nov 16, 2022 · Backend Development

MinIO Overview, Installation, and Spring Boot Integration Guide

This article introduces MinIO as a high‑performance, cloud‑native object storage solution, explains its key features and use cases, provides step‑by‑step Docker installation commands, and demonstrates how to integrate MinIO with Spring Boot through Maven dependencies, configuration, utility classes, service, and controller code.

MinioSDKdocker
0 likes · 19 min read
MinIO Overview, Installation, and Spring Boot Integration Guide
Code Ape Tech Column
Code Ape Tech Column
Nov 15, 2022 · Information Security

Understanding Single Sign-On (SSO) with OAuth2.0 and Its Spring Boot Implementation

This article explains the principles and workflow of Single Sign‑On using OAuth2.0, illustrates the process with a real‑life analogy, and provides a complete Spring Boot example—including authorization server, client configuration, and role‑based access control—suitable for microservice architectures.

AuthenticationAuthorizationOAuth2
0 likes · 12 min read
Understanding Single Sign-On (SSO) with OAuth2.0 and Its Spring Boot Implementation
Programmer DD
Programmer DD
Nov 14, 2022 · Backend Development

Master Spring Boot Logging: From SLF4J Basics to Advanced Configuration

This tutorial explains how Spring Boot handles logging with Commons Logging, demonstrates using SLF4J as a facade, shows a complete code example, and covers configuring log output, levels, color, file rotation, and custom patterns for effective backend logging.

configurationlogbacklogging
0 likes · 11 min read
Master Spring Boot Logging: From SLF4J Basics to Advanced Configuration
Java Architect Essentials
Java Architect Essentials
Nov 14, 2022 · Backend Development

How Spring Boot Auto‑Configuration Works: A Deep Dive into @EnableAutoConfiguration

This article explains the inner workings of Spring Boot's auto‑configuration mechanism, covering the role of @SpringBootApplication, @EnableAutoConfiguration, spring.factories scanning, conditional annotations, and how configuration properties are bound to beans, with code examples and diagrams for clear understanding.

auto-configurationbackend-developmentconfiguration-properties
0 likes · 9 min read
How Spring Boot Auto‑Configuration Works: A Deep Dive into @EnableAutoConfiguration
Selected Java Interview Questions
Selected Java Interview Questions
Nov 13, 2022 · Backend Development

Integrating Elasticsearch with Spring Boot for Book Search: A Step‑by‑Step Guide

This article explains why MySQL LIKE queries are inefficient for search, introduces Elasticsearch as a high‑performance alternative, and provides a complete Spring Boot integration tutorial—including version compatibility, Maven dependencies, Java configuration, entity mapping, repository interfaces, service and controller code, and testing steps—to implement CRUD‑style full‑text search for a book catalog.

CRUDElasticsearchbackend-development
0 likes · 11 min read
Integrating Elasticsearch with Spring Boot for Book Search: A Step‑by‑Step Guide
Selected Java Interview Questions
Selected Java Interview Questions
Nov 7, 2022 · Backend Development

Comprehensive Guide to Spring Validation: RequestBody, RequestParam, and Advanced Techniques

This article provides a detailed tutorial on using Spring Validation in Spring Boot applications, covering simple and advanced usage such as requestBody and requestParam parameter checks, group validation, nested and collection validation, custom constraints, programmatic validation, fail‑fast mode, and the underlying implementation mechanisms.

Hibernate Validatorjavaspring
0 likes · 16 min read
Comprehensive Guide to Spring Validation: RequestBody, RequestParam, and Advanced Techniques
Java Architect Essentials
Java Architect Essentials
Nov 6, 2022 · Backend Development

Implementing a Distributed Redis Lock with AOP and Automatic Renewal in Java

This article explains how to design and implement a distributed lock using Redis, Spring AOP annotations, and a scheduled executor to automatically extend lock expiration, providing complete Java code examples, configuration details, testing procedures, and best‑practice recommendations for handling long‑running business operations safely.

ScheduledExecutorServiceaopconcurrency
0 likes · 12 min read
Implementing a Distributed Redis Lock with AOP and Automatic Renewal in Java
macrozheng
macrozheng
Nov 5, 2022 · Operations

Unlock Full Observability in Spring Boot 3 with Micrometer Observation API

This article explains how Spring Boot 3.0.0‑RC1 integrates Micrometer Observation API to provide unified metrics, logging, and distributed tracing, showing the observation lifecycle, configuration steps, sample server and client code, Docker‑compose setup, and notes on native image support for comprehensive application observability.

MetricsMicrometerjava
0 likes · 26 min read
Unlock Full Observability in Spring Boot 3 with Micrometer Observation API
Programmer DD
Programmer DD
Nov 3, 2022 · Operations

One-Click Jenkins + Docker + Spring Boot Deployment: Step-by-Step Guide

This guide walks through setting up a one‑click automated deployment pipeline for a Spring Boot application using Docker and Jenkins on CentOS 7, covering Docker installation, Jenkins container setup, required plugins, job configuration, building, testing, and running the project.

AutomationCI/CDDevOps
0 likes · 9 min read
One-Click Jenkins + Docker + Spring Boot Deployment: Step-by-Step Guide
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Information Security

Handling XSS Vulnerabilities in Spring Boot: Request Wrapper, Filters, and Jackson Custom Serialization

This article documents a step‑by‑step solution for preventing XSS attacks in a Spring Boot application, covering input validation, a custom HttpServletRequestWrapper, filter registration, and Jackson serializers/deserializers to escape malicious HTML both on request parameters and JSON payloads.

JacksonRequestWrapperXSS
0 likes · 16 min read
Handling XSS Vulnerabilities in Spring Boot: Request Wrapper, Filters, and Jackson Custom Serialization
vivo Internet Technology
vivo Internet Technology
Nov 2, 2022 · Backend Development

Understanding Java SPI: Principles, Implementation, and Applications

Java SPI is a lightweight plug‑in mechanism that decouples service contracts from implementations using a META‑INF/services configuration file and the ServiceLoader class, enabling dynamic loading of providers as demonstrated with simple examples and applied in frameworks such as JDBC, Spring Boot, Apache Commons Logging, and Dubbo.

DubboJDBCSPI
0 likes · 33 min read
Understanding Java SPI: Principles, Implementation, and Applications
Sanyou's Java Diary
Sanyou's Java Diary
Oct 31, 2022 · Backend Development

Mastering the Spring Cloud Alibaba Microservice Ecosystem: From Nacos to XXL‑JOB

This article provides a comprehensive guide to building a microservice ecosystem with Spring Cloud Alibaba, covering essential modules such as service registration, load balancing, configuration, messaging, gateway, fault tolerance, distributed transactions, tracing, and task scheduling, and showing how to integrate them with practical code examples.

Distributed SystemsNacosspring-boot
0 likes · 26 min read
Mastering the Spring Cloud Alibaba Microservice Ecosystem: From Nacos to XXL‑JOB
Java High-Performance Architecture
Java High-Performance Architecture
Oct 31, 2022 · Backend Development

Master Chunked File Uploads with WebUploader and Spring Boot

This guide explains how to use Baidu's WebUploader component together with a Spring Boot backend to implement large file uploads by splitting files into chunks, supporting breakpoint resume, MD5‑based instant upload, and also provides a parallel download client using HTTP range requests.

WebUploaderchunked uploadfile transfer
0 likes · 21 min read
Master Chunked File Uploads with WebUploader and Spring Boot
FunTester
FunTester
Oct 27, 2022 · Backend Development

How to Fix @RequestBody Compatibility and Swagger Timeout Issues in Spring Boot

This article explains why @RequestBody conflicts with Swagger in Spring Boot, outlines two common but cumbersome work‑arounds, describes a Swagger API timeout caused by Groovy's MetaClass, and provides a concise configuration fix that eliminates both the timeout and the compatibility issue.

@RequestBodyAPI documentationGroovy
0 likes · 4 min read
How to Fix @RequestBody Compatibility and Swagger Timeout Issues in Spring Boot
Top Architect
Top Architect
Oct 26, 2022 · Backend Development

Implementing Database Read‑Write Splitting with Spring Boot and Dynamic DataSource Routing

This article explains how to achieve database read‑write separation in high‑concurrency Java applications by configuring master and slave data sources, implementing a routing DataSource, managing context with ThreadLocal, defining a custom @DataSourceSwitcher annotation, and applying AOP to switch between read and write operations.

DataSource RoutingMySQLaop
0 likes · 11 min read
Implementing Database Read‑Write Splitting with Spring Boot and Dynamic DataSource Routing
macrozheng
macrozheng
Oct 25, 2022 · Backend Development

Master MyBatis in Spring Boot: Essential Tips, Dynamic SQL, and Advanced Queries

This guide walks you through integrating MyBatis with Spring Boot, covering basic CRUD operations, dynamic SQL constructs like if, choose, where, set, foreach, as well as advanced mapping techniques, pagination plugins, and practical code examples to help you master MyBatis in real-world projects.

ORMjavamybatis
0 likes · 17 min read
Master MyBatis in Spring Boot: Essential Tips, Dynamic SQL, and Advanced Queries
Top Architect
Top Architect
Oct 24, 2022 · Backend Development

Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle

This article provides a detailed walkthrough of Spring and Spring Boot's bean lifecycle, explaining each extension point—from ApplicationContextInitializer to CommandLineRunner—illustrating their usage with code examples and describing practical scenarios for customizing bean creation, initialization, and destruction.

Extension Pointsbean-lifecycledependency-injection
0 likes · 17 min read
Comprehensive Overview of Spring and Spring Boot Extension Points and Bean Lifecycle
Java Architecture Diary
Java Architecture Diary
Oct 21, 2022 · Backend Development

Spring Boot 2.7.5 Released: Key Fixes and Maven Mirror Workarounds

Spring Boot 2.7.5 has been released with over 30 bug fixes and dependency upgrades, includes details on configuration comment detection, Kafka auto‑configuration changes, PEM certificate handling, and provides guidance on switching from the unavailable Alibaba Cloud Maven mirror to Tencent Cloud’s mirror.

Bug Fixesbackend-developmentdependency management
0 likes · 3 min read
Spring Boot 2.7.5 Released: Key Fixes and Maven Mirror Workarounds
Programmer DD
Programmer DD
Oct 20, 2022 · Backend Development

How Spring Boot 3.0 Adds GraalVM AOT Support: Deep Dive into New Modules

Spring Boot 3.0 introduces built‑in GraalVM AOT support, adding new core, bean, and context modules, aot.factories configuration files, and runtime hints such as HttpMimeTypes and CodecConfigurer, enabling developers to replace spring‑native with native AOT extensions for custom resources and reflection.

AoTRuntimeHintsjava
0 likes · 7 min read
How Spring Boot 3.0 Adds GraalVM AOT Support: Deep Dive into New Modules
Programmer DD
Programmer DD
Oct 19, 2022 · Backend Development

Unlock Full Observability in Spring Boot 3: Micrometer Observation API Explained

This article walks through adding complete observability to Spring Boot 3 applications using Micrometer's Observation API, covering metrics, tracing, log correlation, configuration, code examples for both server and client, and even native image support for production-ready monitoring.

MetricsMicrometerObservability
0 likes · 23 min read
Unlock Full Observability in Spring Boot 3: Micrometer Observation API Explained
Java Architecture Diary
Java Architecture Diary
Oct 19, 2022 · Backend Development

Exploring Spring Framework 6.0’s New GraalVM AOT Support and Configuration

Spring Framework 6.0 introduces comprehensive GraalVM AOT support, adding new modules such as GraalVM feature, AOT core, and JavaPoet, along with aot.factories configuration files that enable developers to customize native image generation, replace Spring Native, and manage runtime hints for beans, context, and other components.

AoTgraalvmjava
0 likes · 6 min read
Exploring Spring Framework 6.0’s New GraalVM AOT Support and Configuration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 18, 2022 · Backend Development

Diagnosing HTTP Timeout Issues in Spring Boot Microservices Caused by Caffeine Cache Eviction Lock Contention

The article analyzes a weekend outage of a Spring Boot microservice where all HTTP requests timed out, tracing the root cause to Caffeine's synchronous cache eviction lock being blocked by a long‑running compute operation, and proposes using AsyncCache with a dedicated thread pool to avoid similar contention.

Cache EvictionCaffeineJFR
0 likes · 11 min read
Diagnosing HTTP Timeout Issues in Spring Boot Microservices Caused by Caffeine Cache Eviction Lock Contention
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 17, 2022 · Backend Development

Spring Boot Session Auto‑Configuration: How Filters and Repositories Work

This article walks through Spring Boot 2.3's session auto‑configuration process, detailing how core SessionConfiguration classes are registered, how the appropriate SessionRepository is selected based on store type, and how the SessionRepositoryFilter wraps requests and responses to manage session data with implementations such as Redis.

Session Managementauto-configurationjava
0 likes · 13 min read
Spring Boot Session Auto‑Configuration: How Filters and Repositories Work
Top Architect
Top Architect
Oct 11, 2022 · Backend Development

Implementing Distributed Locks with Redis and AOP in Spring Boot

This article explains how to protect time‑consuming business operations by using Redis as a distributed lock together with Spring AOP, covering annotation design, aspect implementation, lock acquisition, automatic renewal via a scheduled executor, and practical testing examples.

ScheduledExecutorServiceaopdistributed-lock
0 likes · 15 min read
Implementing Distributed Locks with Redis and AOP in Spring Boot
Top Architect
Top Architect
Oct 11, 2022 · Backend Development

Comprehensive Guide to Integrating MyBatis‑Plus with Spring Boot

This article provides a step‑by‑step tutorial on adding MyBatis‑Plus to a Spring Boot project, covering dependency setup, configuration, entity annotations, CRUD operations, pagination, logical deletion, enum handling, automatic field filling, multi‑datasource support, and testing with full code examples.

CRUDMulti-DataSourceMyBatis-Plus
0 likes · 17 min read
Comprehensive Guide to Integrating MyBatis‑Plus with Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2022 · Backend Development

Structuring Maven Multi‑Module Projects and Building a Common Framework for Backend Services

This article explains why and how to split a Spring Boot project into Maven modules, defines a common framework with clearly separated modules such as api, base, rpc, service, interaction, and start, and provides practical steps and code snippets for managing dependencies in complex backend applications.

Common FrameworkMulti‑modulebackend-development
0 likes · 7 min read
Structuring Maven Multi‑Module Projects and Building a Common Framework for Backend Services
Java Backend Technology
Java Backend Technology
Oct 9, 2022 · Cloud Native

How to Shrink Spring Boot Microservices to 30 MB with Spring Native

This article walks through diagnosing memory pressure in a multi‑service Spring Cloud Alibaba project, applying JVM tuning, installing GraalVM and Spring Native, configuring Maven and Docker Buildpacks, and finally building and running a native Spring Boot image that starts in milliseconds and consumes only a few dozen megabytes of RAM.

Spring Nativedockergraalvm
0 likes · 14 min read
How to Shrink Spring Boot Microservices to 30 MB with Spring Native
Java Architect Essentials
Java Architect Essentials
Oct 8, 2022 · Backend Development

Spring Boot Security Permission Management Tutorial with Role and Menu Implementation

This article provides a step‑by‑step guide to building a Spring Boot permission management system using Spring Security, Spring Data JPA, Thymeleaf and Bootstrap, covering database design, entity classes, Maven setup, security configuration, dynamic menu loading, front‑end rendering and testing with full source code examples.

Role-Based Access Controlpermission managementspring-boot
0 likes · 19 min read
Spring Boot Security Permission Management Tutorial with Role and Menu Implementation
Java High-Performance Architecture
Java High-Performance Architecture
Oct 8, 2022 · Backend Development

How to Quickly Integrate Dubbo with Nacos in Spring Boot: A Step‑by‑Step Guide

This tutorial walks through building a simple Dubbo‑Nacos integration using Spring Boot, covering environment setup, Maven project structure, dependency management, service interface definition, provider and consumer modules, configuration files, and a test call, enabling rapid development of high‑performance Java microservices.

DubboNacosjava
0 likes · 21 min read
How to Quickly Integrate Dubbo with Nacos in Spring Boot: A Step‑by‑Step Guide
Top Architect
Top Architect
Oct 8, 2022 · Backend Development

Reducing Spring Boot Microservice Memory Usage with Spring Native on a Single 2C/4G Server

This tutorial explains how to address memory constraints when deploying multiple Spring Boot microservices on a single 2‑CPU, 4‑GB server by applying JVM tuning, installing GraalVM, configuring Spring Native 0.11.1 with Maven plugins, building native images, and deploying them via Docker, achieving startup times in milliseconds and memory consumption around 28 MB.

Spring Nativedockergraalvm
0 likes · 14 min read
Reducing Spring Boot Microservice Memory Usage with Spring Native on a Single 2C/4G Server
Top Architect
Top Architect
Oct 6, 2022 · Backend Development

Nine Ways to Access Files in the resources Directory in Spring Boot

This article explains nine practical methods for reading files placed in the resources folder of a Spring Boot project, covering classloader resource retrieval, URL decoding, getFile(), getResourceAsStream, ClassPathResource, absolute paths, and environment‑variable based approaches, each with code examples.

File Accessbackend-developmentjava
0 likes · 9 min read
Nine Ways to Access Files in the resources Directory in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Oct 5, 2022 · Backend Development

Spring Boot 2.7 Upgrade Pitfalls and Solutions

This article provides a comprehensive guide to upgrading Spring Boot to version 2.7, detailing common issues such as missing dependencies, logging conflicts, circular bean references, Swagger configuration changes, Flyway compatibility, JUnit version mismatches, and JSON Long precision loss, along with concrete code‑based solutions.

BackendFlywaySwagger
0 likes · 14 min read
Spring Boot 2.7 Upgrade Pitfalls and Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2022 · Backend Development

Key Changes in Spring Boot 3.0.0 M1 Release

The Spring Boot 3.0.0 M1 release upgrades the Java baseline to 17, migrates all Java EE APIs to Jakarta EE, removes several legacy components, updates a long list of Spring and third‑party dependencies, and outlines the upcoming milestone schedule for the framework.

Milestonedependency-upgradejakarta-ee
0 likes · 5 min read
Key Changes in Spring Boot 3.0.0 M1 Release
Top Architect
Top Architect
Oct 2, 2022 · Backend Development

Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot

This article demonstrates how to use RabbitMQ's delayed‑queue plugin together with Spring Boot to create a lazy exchange, configure a durable queue, send messages with a specified delay, and consume them, providing complete Java code examples and explaining why this approach outperforms traditional Redis, database polling, or JVM DelayQueue solutions.

Message QueueRabbitMQbackend-development
0 likes · 9 min read
Implementing Delayed Message Queues with RabbitMQ Plugin in Spring Boot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 30, 2022 · Backend Development

Unified Maven Dependency Management for Multi‑Module Java Projects

This article explains how Java developers can use Maven’s dependency‑management features to create a centralized version‑control system that unifies third‑party library versions across multiple modules and services, reducing upgrade pain, avoiding version conflicts, and establishing a solid foundation for scalable backend architecture.

Multi‑moduleVersion Controljava
0 likes · 11 min read
Unified Maven Dependency Management for Multi‑Module Java Projects
Java Captain
Java Captain
Sep 29, 2022 · Backend Development

Implementing Dynamic Scheduled Tasks in Spring Boot

This tutorial demonstrates how to create Spring Boot scheduled tasks whose execution intervals can be changed at runtime using both CronTrigger and PeriodicTrigger, providing REST endpoints to update the cron expression or timer value dynamically.

Cron TriggerDynamic SchedulingPeriodic Trigger
0 likes · 6 min read
Implementing Dynamic Scheduled Tasks in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 29, 2022 · Backend Development

Implementing a Redis Distributed Lock with AOP and Automatic Renewal in Spring Boot

This article explains how to protect time‑consuming business operations in a Spring Boot application by creating a custom @RedisLock annotation, using Redis as a distributed lock via AOP, implementing automatic lock renewal with a ScheduledExecutorService, and handling lock release and thread interruption.

ScheduledExecutorServiceaopdistributed-lock
0 likes · 11 min read
Implementing a Redis Distributed Lock with AOP and Automatic Renewal in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 28, 2022 · Backend Development

Design and Implementation of a Simple Single‑Node Configuration Center in Spring Boot

This article explains how to build a lightweight, single‑machine configuration center for Spring Boot micro‑services, detailing the core classes, file scanning, variable pooling, environment initialization, YAML conversion, controller endpoints, and runtime property updates, while also discussing current limitations and future improvements.

Configuration CenterDynamic ConfigurationReflection
0 likes · 13 min read
Design and Implementation of a Simple Single‑Node Configuration Center in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Sep 23, 2022 · Backend Development

Diagnosing and Resolving a Native Memory Leak in Spring Boot Applications

This article details the investigation of an unexpected native memory consumption issue in a Spring Boot service, describing how JVM and system‑level tools were used to pinpoint the leak caused by the Spring Boot loader's Inflater usage and how configuring MCC scan paths or upgrading Spring Boot eliminated the problem.

JVMLinuxMemory Management
0 likes · 12 min read
Diagnosing and Resolving a Native Memory Leak in Spring Boot Applications
Programmer DD
Programmer DD
Sep 22, 2022 · Backend Development

Generate and Configure SSL Certificates in Spring Boot with JDK Keytool & FreeSSL

This guide walks through creating a self‑signed SSL certificate with JDK’s keytool, configuring Spring Boot to use the PKCS12 keystore, redirecting HTTP to HTTPS, and alternatively obtaining a free FreeSSL certificate, covering necessary code, configuration files, and deployment steps for both Windows and Linux environments.

CertificateHTTPSSSL
0 likes · 7 min read
Generate and Configure SSL Certificates in Spring Boot with JDK Keytool & FreeSSL
Code Ape Tech Column
Code Ape Tech Column
Sep 21, 2022 · Backend Development

Investigating Excessive Native Memory Usage in a Spring Boot Application Migrated to MDP Framework

After migrating a project to the MDP framework based on Spring Boot, the system repeatedly reported high swap usage despite a 4 GB heap configuration, leading to an investigation that uncovered native memory consumption caused by unchecked JAR scanning and allocator behavior, which was resolved by limiting scan paths and updating Spring Boot's inflater implementation.

JVMNative MemoryPerformance Tuning
0 likes · 12 min read
Investigating Excessive Native Memory Usage in a Spring Boot Application Migrated to MDP Framework
Top Architect
Top Architect
Sep 20, 2022 · Backend Development

Understanding Spring Boot Auto‑Configuration Mechanism

This article explains how Spring Boot's auto‑configuration works, detailing the role of @SpringBootApplication, @EnableAutoConfiguration, the spring.factories mechanism, conditional annotations, and how configuration properties are bound to beans such as ServerProperties, providing a clear understanding for developers and interview preparation.

ConfigurationPropertiesauto-configurationbackend-development
0 likes · 9 min read
Understanding Spring Boot Auto‑Configuration Mechanism
Selected Java Interview Questions
Selected Java Interview Questions
Sep 20, 2022 · Backend Development

Comprehensive Guide to Building an OAuth2 Authentication Server with Spring Boot, MySQL, Nacos, and Gateway Integration

This tutorial walks through designing an OAuth2 authentication architecture, configuring Spring Boot services, setting up MySQL schemas, integrating Nacos discovery, implementing security with JWT tokens, and connecting microservices through a Spring Cloud Gateway, while demonstrating all four OAuth2 grant types with code examples.

NacosOAuth2gateway
0 likes · 26 min read
Comprehensive Guide to Building an OAuth2 Authentication Server with Spring Boot, MySQL, Nacos, and Gateway Integration
Sanyou's Java Diary
Sanyou's Java Diary
Sep 19, 2022 · Backend Development

Mastering Quartz Scheduler in Spring Boot: From Basics to Advanced Integration

This article introduces Quartz, a Java job‑scheduling library, explains its core components (Job, Trigger, Scheduler), provides step‑by‑step Maven demos, shows how to integrate it with Spring Boot, configure persistence, manage concurrency, and handle advanced features like cron expressions and calendar exclusions.

CronTriggerJob SchedulingQuartz
0 likes · 25 min read
Mastering Quartz Scheduler in Spring Boot: From Basics to Advanced Integration
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 19, 2022 · Information Security

Master Spring Security: Web Expression Auth & Advanced @PreAuthorize Techniques

This guide demonstrates how to implement Spring Security authentication and authorization using web expression-based rules, custom beans, path variables, multi‑condition expressions, and advanced @PreAuthorize methods, including parameter‑based checks, custom annotations, and custom logic services within a Spring Boot 2.4 application.

AuthorizationPreAuthorizeWeb Expressions
0 likes · 5 min read
Master Spring Security: Web Expression Auth & Advanced @PreAuthorize Techniques
Programmer DD
Programmer DD
Sep 16, 2022 · Backend Development

Master Quartz Scheduler in Spring Boot: From Basics to Advanced Persistence

This article provides a comprehensive guide to using Quartz in Java Spring Boot, covering core concepts, basic and advanced usage—including job creation, triggers, Cron expressions, bean injection, multiple triggers, and persistence with JDBC—complete with code samples and configuration steps.

JobQuartzScheduler
0 likes · 22 min read
Master Quartz Scheduler in Spring Boot: From Basics to Advanced Persistence
Programmer DD
Programmer DD
Sep 14, 2022 · Backend Development

Mastering Global Exception Handling in Spring Boot: A Step-by-Step Guide

This article demonstrates how to implement unified global exception handling in a Spring Boot application by defining custom exceptions, creating a @RestControllerAdvice with specific @ExceptionHandler methods, and wiring sample controller endpoints to showcase both system and custom error responses.

REST APIglobal exception handlingjava
0 likes · 6 min read
Mastering Global Exception Handling in Spring Boot: A Step-by-Step Guide
Java Architect Essentials
Java Architect Essentials
Sep 12, 2022 · Backend Development

Implementing CORS Cross‑Origin Requests in Java Backend (Spring Boot)

This article explains why browsers enforce the Same‑Origin Policy, defines cross‑origin requests, lists the restrictions of non‑same‑origin access, and provides five practical ways—global filter, WebMvcConfigurer, @CrossOrigin annotation, manual header setting, and a custom filter—to enable CORS in Java Spring Boot applications, complete with code examples.

CORSCross-OriginWeb Security
0 likes · 9 min read
Implementing CORS Cross‑Origin Requests in Java Backend (Spring Boot)
Programmer DD
Programmer DD
Sep 11, 2022 · Backend Development

Mastering Spring & Spring Boot: All Extension Points Explained

This article provides a comprehensive overview of Spring and Spring Boot's extension points, detailing each lifecycle hook, its purpose, typical use cases, and sample implementations, enabling developers to customize bean initialization, configuration, and shutdown processes with concrete code examples.

Extension Pointsbackend-developmentbean-lifecycle
0 likes · 19 min read
Mastering Spring & Spring Boot: All Extension Points Explained
Java High-Performance Architecture
Java High-Performance Architecture
Sep 8, 2022 · Backend Development

Mastering Java Read‑Write Splitting: Configure Master‑Slave DataSources with Spring

This article explains the concept of database read‑write splitting, discusses its limitations, and provides a step‑by‑step guide with Spring Boot code to configure master‑slave data sources, implement dynamic routing, context handling, custom annotations, and AOP for seamless switching.

DataSource RoutingMaster‑Slavejava
0 likes · 11 min read
Mastering Java Read‑Write Splitting: Configure Master‑Slave DataSources with Spring
Code Ape Tech Column
Code Ape Tech Column
Sep 6, 2022 · Information Security

Customizing Spring Security FormLogin Authentication

This tutorial demonstrates how to set up a Spring Security FormLogin authentication flow, including creating a demo project, customizing the login page, configuring security rules, defining users and roles, and testing the login process with custom success and failure handlers.

AuthenticationWeb Securityform login
0 likes · 11 min read
Customizing Spring Security FormLogin Authentication
Top Architect
Top Architect
Sep 5, 2022 · Backend Development

Comprehensive Guide to Using Quartz Scheduler in Java with Spring Boot

This article provides a detailed tutorial on Quartz, a powerful Java scheduling framework, covering its core concepts, basic usage with SimpleTrigger and CronTrigger, advanced features such as multiple triggers, bean injection, and persistence, and includes complete Spring Boot code examples.

JobPersistenceQuartz
0 likes · 22 min read
Comprehensive Guide to Using Quartz Scheduler in Java with Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 5, 2022 · Information Security

How to Implement Database‑Backed Authentication in Spring Security

This guide walks through configuring Spring Security with a custom AuthenticationProvider that authenticates users against a database, covering environment setup, core filter mechanics, custom UserDetails, UserDetailsService, PasswordEncoder implementations, and bean configuration with full code examples.

Custom AuthenticationProviderDatabase Authenticationjava
0 likes · 12 min read
How to Implement Database‑Backed Authentication in Spring Security
Java High-Performance Architecture
Java High-Performance Architecture
Sep 4, 2022 · Databases

Unlock Sharding-JDBC: Guide to Sharding, Replication & Distributed Databases

This comprehensive tutorial walks through the evolution of Sharding-JDBC into ShardingSphere, explains core concepts like sharding, data nodes, and algorithms, demonstrates MySQL master‑slave setup with Docker, and provides step‑by‑step code examples for implementing read‑write separation, horizontal and vertical sharding, and distributed primary keys.

MySQL replicationSharding-JDBCspring-boot
0 likes · 39 min read
Unlock Sharding-JDBC: Guide to Sharding, Replication & Distributed Databases
Cognitive Technology Team
Cognitive Technology Team
Sep 3, 2022 · Backend Development

Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages

This article explains why a Spring Boot application that runs fine in an IDE may throw NoSuchMethodError or NoSuchFieldError when packaged as an executable jar, and provides systematic steps—including JVM class‑loading flags, Maven enforcer rules, and class‑path inspection—to locate and resolve the root cause.

NoSuchMethodErrorbackend-developmentclass loading
0 likes · 6 min read
Diagnosing NoSuchMethodError and NoSuchFieldError in Spring Boot Jar Packages
Top Architect
Top Architect
Sep 3, 2022 · Backend Development

Implementing QR Code Login with WebSocket in Spring Boot

This article walks through building a QR‑code based login system using Spring Boot, detailing database design, role analysis, required APIs, step‑by‑step implementation, and full Java and JavaScript code for generating QR codes, handling WebSocket communication, and confirming user authentication.

APIQR Code Loginjava
0 likes · 12 min read
Implementing QR Code Login with WebSocket in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Sep 2, 2022 · Backend Development

Understanding the @SpringBootApplication Annotation in Spring Boot

This article explains the core @SpringBootApplication annotation, its composition of @EnableAutoConfiguration, @ComponentScan, and @SpringBootConfiguration, shows its source code, demonstrates custom composite annotations, and details how Spring Boot performs component scanning and automatic bean configuration.

@SpringBootApplicationannotationscomponent-scan
0 likes · 8 min read
Understanding the @SpringBootApplication Annotation in Spring Boot
dbaplus Community
dbaplus Community
Aug 31, 2022 · Operations

How to Achieve Zero‑Downtime Application Deployments with Service Routing and Load Balancers

This article explains why traditional application releases cause downtime, introduces maturity levels for nonstop deployment, compares release patterns, details essential technical components such as load balancers and service registries, and provides step‑by‑step graceful‑shutdown procedures using Spring Boot Actuator and Eureka.

DeploymentLoad BalancerZero Downtime
0 likes · 19 min read
How to Achieve Zero‑Downtime Application Deployments with Service Routing and Load Balancers
macrozheng
macrozheng
Aug 31, 2022 · Backend Development

How to Install MinIO and Integrate It with Spring Boot for File Uploads

This guide introduces MinIO, an open‑source, S3‑compatible object storage written in Go, outlines its key features and deployment via Docker, and demonstrates step‑by‑step integration with Spring Boot to upload files through the MinIO SDK, including configuration, controller code, and testing.

MinioS3 Compatibilitydocker
0 likes · 8 min read
How to Install MinIO and Integrate It with Spring Boot for File Uploads
Java Architect Essentials
Java Architect Essentials
Aug 30, 2022 · Backend Development

Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry

This article explains how to implement robust retry mechanisms in Java applications by comparing Spring‑Retry's declarative exception‑based approach with Guava‑Retry's flexible result‑oriented strategy, covering dependencies, configuration, policies, back‑off options, annotation usage, and practical code examples.

Backoff StrategyException HandlingGuava Retry
0 likes · 14 min read
Mastering Retry Logic in Java: Spring‑Retry vs Guava‑Retry
Architect's Guide
Architect's Guide
Aug 30, 2022 · Backend Development

Implementing Database Read‑Write Separation with Spring Boot

This article explains how to achieve database read‑write separation in high‑concurrency Java applications by configuring master‑slave data sources, implementing a routing datasource, managing context with ThreadLocal, and using custom annotations with AOP to switch between read and write databases at runtime.

DataSource RoutingRead-Write Separationaop
0 likes · 10 min read
Implementing Database Read‑Write Separation with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Aug 29, 2022 · Backend Development

Spring Boot Integration with RabbitMQ: Configuring Direct Exchange, Queues, Consumers, and Manual ACK/NACK Handling

This article demonstrates how to integrate Spring Boot with RabbitMQ using a direct exchange, configuring queues, producers, and two consumers, and explains manual acknowledgment mechanisms (ACK, NACK, Reject) to ensure reliable message processing and handling of consumer failures.

Consumer FailureDirect Exchangemanual ack
0 likes · 14 min read
Spring Boot Integration with RabbitMQ: Configuring Direct Exchange, Queues, Consumers, and Manual ACK/NACK Handling
Code Ape Tech Column
Code Ape Tech Column
Aug 29, 2022 · Backend Development

Seven Common Spring Boot Performance Optimization Techniques

This article presents seven practical Spring Boot performance optimization methods—including asynchronous execution, increasing embedded Tomcat connection limits, component scanning, switching to Undertow, using BufferedWriter, DeferredResult, and AsyncHandlerInterceptor—each illustrated with code samples and explanations for improving Java backend applications.

AsynchronousTomcatjava
0 likes · 12 min read
Seven Common Spring Boot Performance Optimization Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Aug 26, 2022 · Backend Development

Integrating Quartz Scheduler with Spring Boot for Custom Task Scheduling

This article provides a comprehensive guide on using the Quartz job‑scheduling library in Java, covering core concepts such as Job, Trigger, and Scheduler, showing Maven setup, sample job and trigger code, Spring Boot configuration, utility classes for creating and managing jobs, handling concurrency, misfire policies, and REST‑based job management.

Job SchedulingQuartzcron
0 likes · 20 min read
Integrating Quartz Scheduler with Spring Boot for Custom Task Scheduling
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 24, 2022 · Information Security

Mastering Custom Exception Handling in Spring Security (Spring Boot 2.4)

This guide explains how Spring Security processes authentication and authorization failures, walks through the default exception flow, and demonstrates multiple ways to customize error handling—including custom failure handlers, access‑denied pages, and JSON responses—using Spring Boot 2.4.12.

AuthenticationAuthorizationException Handling
0 likes · 12 min read
Mastering Custom Exception Handling in Spring Security (Spring Boot 2.4)
Top Architect
Top Architect
Aug 22, 2022 · Information Security

RBAC and Spring Security Tutorial: From Basic Role-Based Access Control to JWT Integration and JSON Login

This article provides a comprehensive guide on implementing role‑based access control (RBAC) with Spring Security, covering RBAC models, password encryption, in‑memory authentication, JWT integration, custom authentication filters for JSON login, and detailed configuration examples with full source code snippets.

AuthenticationJWTRBAC
0 likes · 16 min read
RBAC and Spring Security Tutorial: From Basic Role-Based Access Control to JWT Integration and JSON Login
Java High-Performance Architecture
Java High-Performance Architecture
Aug 21, 2022 · Backend Development

Master Spring Boot Logging: Configure Logback & SLF4J for Powerful Log Management

This guide explains why Logback is the preferred logging framework for Spring Boot, shows how to add the necessary dependencies, configure console and file appenders, customize log patterns, use rolling policies, apply filters, and optimize logging statements with placeholders, all illustrated with clean XML and Java code examples.

XMLjavalogback
0 likes · 23 min read
Master Spring Boot Logging: Configure Logback & SLF4J for Powerful Log Management
Selected Java Interview Questions
Selected Java Interview Questions
Aug 20, 2022 · Backend Development

Using Nacos as a Configuration Center in Spring Boot Applications

This article explains why a configuration center is essential for microservices, introduces Nacos as a centralized solution, and provides step‑by‑step instructions with code examples for integrating Nacos into Spring Boot, managing Data IDs, namespaces, groups, and dynamic configuration refresh.

Configuration CenterDynamic RefreshNacos
0 likes · 14 min read
Using Nacos as a Configuration Center in Spring Boot Applications
Top Architect
Top Architect
Aug 20, 2022 · Backend Development

Using Logback and SLF4J for Logging in Spring Boot Applications

This article explains why Logback is the preferred logging framework for Spring Boot, shows how to add the necessary dependencies, configure logback‑spring.xml with appenders, encoders, filters and rolling policies, and provides best practices for efficient log statements in Java code.

javaspring-boot
0 likes · 21 min read
Using Logback and SLF4J for Logging in Spring Boot Applications