Tagged articles
3873 articles
Page 31 of 39
Programmer DD
Programmer DD
Jul 22, 2021 · Backend Development

Boost Spring Boot Scheduled Tasks with Elastic Job Sharding

This tutorial explains how to use Elastic Job's sharding configuration in Spring Boot to accelerate scheduled task execution, improve resource utilization, and achieve high‑availability by distributing work across multiple job instances.

Backend DevelopmentElastic-JobScheduled Tasks
0 likes · 8 min read
Boost Spring Boot Scheduled Tasks with Elastic Job Sharding
Programmer DD
Programmer DD
Jul 21, 2021 · Backend Development

Master Distributed Scheduling in Spring Boot with ElasticJob Lite

This guide explains how to replace @Scheduled with the Apache ElasticJob Lite framework in a Spring Boot application, covering project setup, dependency configuration, job implementation, ZooKeeper registration, sharding settings, and testing in a clustered environment to achieve reliable distributed task execution.

Distributed SchedulingSpring Bootjava
0 likes · 10 min read
Master Distributed Scheduling in Spring Boot with ElasticJob Lite
Java Backend Technology
Java Backend Technology
Jul 17, 2021 · Backend Development

Unlock Powerful API Docs with Knife4j: A Complete Guide for Java Backend Developers

Knife4j is a lightweight, feature‑rich enhancement for Swagger that integrates seamlessly with Java MVC frameworks, offering customizable UI, advanced functionalities like interface sorting and export options, and easy Maven integration for both monolithic Spring Boot and Spring Cloud microservice architectures.

API documentationBackend DevelopmentKnife4j
0 likes · 7 min read
Unlock Powerful API Docs with Knife4j: A Complete Guide for Java Backend Developers
Top Architect
Top Architect
Jul 16, 2021 · Backend Development

Flash-Waimai: A Complete Spring Boot + Vue Food Delivery System Tutorial

This article introduces the Flash-Waimai project—a full‑stack food delivery system built with Spring Boot, Vue.js, MySQL and MongoDB—detailing its architecture, module breakdown, database setup, quick‑start commands, and step‑by‑step instructions for launching the backend, admin portal, and mobile client.

MongoDBMySQLSpring Boot
0 likes · 5 min read
Flash-Waimai: A Complete Spring Boot + Vue Food Delivery System Tutorial
Programmer DD
Programmer DD
Jul 16, 2021 · Information Security

Secure Your Spring Boot App with Keycloak: Step‑by‑Step OIDC Integration

This guide walks you through creating a Keycloak realm, registering a client, defining roles and mappings, obtaining and refreshing JWT tokens, and configuring a Spring Boot application with the Keycloak Spring Boot starter to protect endpoints via OIDC authentication.

AuthenticationAuthorizationKeycloak
0 likes · 8 min read
Secure Your Spring Boot App with Keycloak: Step‑by‑Step OIDC Integration
Programmer DD
Programmer DD
Jul 15, 2021 · Backend Development

Mastering Spring Boot Scheduled Tasks: From Basics to Distributed Locks

This tutorial explains how to create and configure scheduled tasks in Spring Boot, demonstrates code examples for simple 5‑second intervals, details the @Scheduled annotation parameters, and discusses the pitfalls of clustering without distributed locks.

Backend DevelopmentScheduled TasksSpring Boot
0 likes · 7 min read
Mastering Spring Boot Scheduled Tasks: From Basics to Distributed Locks
Top Architect
Top Architect
Jul 14, 2021 · Backend Development

Resolving CORS Issues in Spring Boot: Three Configuration Approaches

This article explains the Same Origin Policy, introduces CORS as its solution, and provides three practical Spring Boot configurations—including a global WebMvcConfigurer, a servlet filter, and the @CrossOrigin annotation—to enable cross‑origin requests safely and efficiently.

CORSSpring Bootjava
0 likes · 9 min read
Resolving CORS Issues in Spring Boot: Three Configuration Approaches
Java Architecture Diary
Java Architecture Diary
Jul 12, 2021 · Backend Development

Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging

This guide walks you through IntelliJ IDEA 2021’s revamped Profiler, the new microservice call‑graph analysis for Spring Boot, Micronaut and Quarkus, the Docker‑based run configurations, and the built‑in JSONPath expression debugger, showing how to leverage each feature to improve development efficiency.

DockerIntelliJ IDEAJsonPath
0 likes · 3 min read
Master IntelliJ IDEA 2021: Profiler, Microservice Graphs, Docker & JSONPath Debugging
Su San Talks Tech
Su San Talks Tech
Jul 12, 2021 · Backend Development

Master Redisson: Simplify Distributed Locks in Spring Boot

This tutorial explains how to integrate Redisson into a Spring Boot application to implement robust distributed locks, covering Redisson's architecture, configuration, code examples, lock types, watchdog mechanism, and practical testing procedures for reentrant, read‑write, and semaphore locks.

RedisRedissonSpring Boot
0 likes · 13 min read
Master Redisson: Simplify Distributed Locks in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 10, 2021 · Backend Development

Mastering Programmatic Transaction Management in Spring Boot 2.3.9

This guide explains Spring Boot's two programmatic transaction approaches—TransactionTemplate/TransactionalOperator and direct TransactionManager—provides detailed code examples for using TransactionTemplate with return values, rollbacks, property configuration, demonstrates PlatformTransactionManager usage, and shows how to listen to transaction events with @TransactionalEventListener.

Backend DevelopmentProgrammatic TransactionsSpring Boot
0 likes · 8 min read
Mastering Programmatic Transaction Management in Spring Boot 2.3.9
Programmer DD
Programmer DD
Jul 10, 2021 · Backend Development

Why Lombok Fails After an IDEA Upgrade and How to Fix It

After upgrading IntelliJ IDEA, Lombok annotations may stop working and cause compilation errors, but updating Lombok to version 1.18.14 or later and adjusting IDE settings can restore functionality for Java and Spring Boot projects.

Annotation ProcessingIntelliJ IDEASpring Boot
0 likes · 3 min read
Why Lombok Fails After an IDEA Upgrade and How to Fix It
Top Architect
Top Architect
Jul 8, 2021 · Backend Development

Implementing Dynamic Add/Delete/Start/Stop Scheduled Tasks in Spring Boot

This article explains how to overcome Spring Boot's static @Scheduled limitation by customizing the task scheduler, creating wrapper classes and a registrar to dynamically add, remove, start, and stop cron‑based jobs, with full code examples and a database‑driven design.

Backend DevelopmentDynamic SchedulingScheduled Tasks
0 likes · 11 min read
Implementing Dynamic Add/Delete/Start/Stop Scheduled Tasks in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2021 · Backend Development

Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration

This guide explains three ways to register Servlets in Spring Boot 2.3.9—including @ServletComponentScan with @WebServlet, ServletRegistrationBean, and dynamic registration via ServletContextInitializer—while detailing the underlying scanning mechanism, BeanFactory post‑processor workflow, and how Tomcat ultimately registers the servlet.

Dynamic RegistrationServletSpring Boot
0 likes · 11 min read
Mastering Servlet Registration in Spring Boot 2.3.9: From Annotations to Dynamic Registration
Top Architect
Top Architect
Jul 7, 2021 · Backend Development

Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size

This article explains how to shrink large Spring Boot fat JAR files by separating dependencies into a lib directory and creating small business JARs, covering three optimization levels—including standard dependency separation, merging modules into a shared lib, and handling system‑scope third‑party SDKs—complete with Maven configurations and code examples.

Jar OptimizationMavenSpring Boot
0 likes · 21 min read
Optimizing Spring Boot Fat JARs: Splitting Dependencies and Reducing Deployment Size
Java Architecture Diary
Java Architecture Diary
Jul 7, 2021 · Backend Development

What’s New in Spring GraphQL 1.0? A Deep Dive into Features and Roadmap

Spring GraphQL 1.0 introduces seamless integration of GraphQL Java with Spring, offering HTTP and WebSocket handlers, security annotations, exception resolvers, testing utilities, metrics, Querydsl support, and a schema‑first approach, while outlining the roadmap and resources for developers.

Backend DevelopmentGraphQLSecurity
0 likes · 10 min read
What’s New in Spring GraphQL 1.0? A Deep Dive into Features and Roadmap
Java High-Performance Architecture
Java High-Performance Architecture
Jul 6, 2021 · Backend Development

How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK

This article explains how the BizLog component records who performed which action at what time in Spring Boot applications, covering Maven setup, annotation usage, custom operators, detail fields, category segregation, SpEL expressions, custom parse functions, and extension points for persistence and operator retrieval.

AOPBizLogLogging
0 likes · 16 min read
How to Implement Fine‑Grained Operation Logging in Spring Boot with BizLog SDK
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 5, 2021 · Databases

Integrating Alibaba Druid Connection Pool with Spring Boot: Configuration and Monitoring Guide

This article provides a comprehensive guide on integrating the Alibaba Druid JDBC connection pool into a Spring Boot application, covering its components, powerful monitoring features, password encryption, SQL parsing, Maven and YAML configuration, filter setup, and how to access the Druid monitoring console.

Database Connection PoolDruidSpring Boot
0 likes · 11 min read
Integrating Alibaba Druid Connection Pool with Spring Boot: Configuration and Monitoring Guide
macrozheng
macrozheng
Jul 5, 2021 · Backend Development

Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More

This article introduces Spring Cache as a unified caching solution that abstracts away the specifics of Redis, Ehcache, and other providers, explains its core concepts, annotations, configuration, and demonstrates practical usage with code examples to eliminate manual cache handling.

CachingEhcacheRedis
0 likes · 16 min read
Master Spring Cache: Simplify Caching Across Redis, Ehcache, and More
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 3, 2021 · Backend Development

How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis

This guide walks through setting up a Spring Boot 2.1.4 application with JDK 1.8, Oracle, and HikariCP to use separate master and slave data sources, covering Maven dependencies, YAML configuration, custom property classes, JPA EntityManager factories, MyBatis SqlSession factories, mapper scanning, and sample entity definitions.

HikariCPMultiple Data SourcesMyBatis
0 likes · 19 min read
How to Configure Master‑Slave Data Sources in Spring Boot with JPA & MyBatis
Top Architect
Top Architect
Jul 2, 2021 · Backend Development

Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign

This article provides a comprehensive tutorial on the fundamentals of microservices, explains how to set up a Spring Cloud project with Maven and IntelliJ IDEA, configures Eureka registration and discovery, demonstrates service provider and consumer implementations using Spring Boot, and shows how to achieve high‑availability Eureka clusters with load‑balanced calls via Ribbon and Feign.

RibbonSpring Booteureka
0 likes · 19 min read
Step‑by‑Step Guide to Building a Spring Cloud Microservices Architecture with Eureka, Ribbon, and Feign
Top Architect
Top Architect
Jul 1, 2021 · Backend Development

Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter

This article explains how to replace direct OkHttp or RestTemplate usage in Spring Boot projects with the retrofit‑spring‑boot‑starter, covering dependency setup, annotation configuration, interface definition, injection, custom interceptors, connection‑pool management, logging, exception formatting, call adapters, converters, and global interceptors.

HTTP clientInterceptorRetrofit
0 likes · 14 min read
Integrating Retrofit with Spring Boot Using retrofit‑spring‑boot‑starter
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 29, 2021 · Databases

Quick Integration of ShardingSphere for Database Sharding in Spring Boot

This article explains how to use Spring Boot to quickly integrate ShardingSphere for database sharding, covering the background of massive data storage challenges, the advantages of ShardingSphere, step‑by‑step project setup, configuration of data sources and sharding strategies, and a complete test example.

Inline Sharding StrategyMyBatisSharding-JDBC
0 likes · 13 min read
Quick Integration of ShardingSphere for Database Sharding in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 29, 2021 · Backend Development

Why Your Custom Spring AOP Advisor Isn’t Triggered and How to Fix It

This article explains the behavior of Spring Boot’s @Configuration and @Import annotations, the reasons a custom PointcutAdvisor may not be applied when using JDK proxies, and provides two solutions—adding the @DS annotation to interface methods or forcing CGLIB proxying with proxyTargetClass=true—to ensure the advice executes correctly.

AOPCustom AdvisorJDK Proxy
0 likes · 10 min read
Why Your Custom Spring AOP Advisor Isn’t Triggered and How to Fix It
Top Architect
Top Architect
Jun 28, 2021 · Backend Development

Spring Boot Annotation for Operation Logging (BizLog SDK)

This article introduces a Spring Boot component that automatically records who performed which operation at what time, explains its Maven dependency, configuration, usage of @EnableLogRecord and @LogRecordAnnotation with SpEL expressions, custom operators, detail fields, log categories, and extensibility through custom parse functions and service implementations.

BizLogSpELSpring Boot
0 likes · 13 min read
Spring Boot Annotation for Operation Logging (BizLog SDK)
Programmer DD
Programmer DD
Jun 28, 2021 · Backend Development

Unlocking Spring Boot Actuator: Secure Configuration and Hidden Risks

This article explains what Spring Boot Actuator is, how to quickly add and configure it, details the available endpoints, illustrates common security pitfalls such as exposing sensitive configuration, and provides practical recommendations to safely use Actuator in production environments.

ActuatorBackend DevelopmentSecurity
0 likes · 8 min read
Unlocking Spring Boot Actuator: Secure Configuration and Hidden Risks
Top Architect
Top Architect
Jun 27, 2021 · Backend Development

Understanding and Implementing Spring's @Autowired Annotation

This article explains the various ways to use Spring's @Autowired annotation, explores its underlying implementation using reflection, analyzes the core processing classes in the Spring framework, and answers common questions about its lifecycle, bean relationships, and why static injection is discouraged.

AutowiredReflectionSpring Boot
0 likes · 17 min read
Understanding and Implementing Spring's @Autowired Annotation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 27, 2021 · Backend Development

Integrating Apache RocketMQ with Spring Boot: Features, Configuration, Code Samples, and Interview Essentials

This article provides a comprehensive guide to using Apache RocketMQ with Spring Boot, covering core components, basic concepts, key features, step‑by‑step configuration, producer and consumer code examples, advanced message types, transaction handling, and common interview questions for distributed messaging systems.

Distributed SystemsMessage queueSpring Boot
0 likes · 16 min read
Integrating Apache RocketMQ with Spring Boot: Features, Configuration, Code Samples, and Interview Essentials
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 26, 2021 · Backend Development

Master Spring Boot Startup Tasks: Runners, Config, and Command-Line Tricks

After launching a Spring Boot 2.3.9 application, you can execute custom tasks using ApplicationRunner or CommandLineRunner, access startup arguments, generate random configuration values, disable command-line properties, understand configuration file loading order, and correctly use @EnableConfigurationProperties for bean binding.

ApplicationRunnerBackend DevelopmentConfigurationProperties
0 likes · 6 min read
Master Spring Boot Startup Tasks: Runners, Config, and Command-Line Tricks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 25, 2021 · Backend Development

Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo

This article introduces the open‑source Seata distributed transaction solution, explains its AT, TCC, SAGA and XA modes, describes the TC‑TM‑RM components and workflow, and provides a step‑by‑step Spring Boot demo with Docker, Maven dependencies, configuration, and code examples for a multi‑service purchase scenario.

AT ModeDockerSpring Boot
0 likes · 11 min read
Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo
Tencent Cloud Developer
Tencent Cloud Developer
Jun 23, 2021 · Backend Development

Understanding Java Web Backend: Servlets, JSP, Tomcat, Listeners, Filters, Spring, Spring Boot, and Spring Cloud

Understanding Java web backend requires grasping how Tomcat parses HTTP requests, dispatches them through servlets, JSPs, listeners and filters, and then leverages Spring’s IoC, AOP, MVC, Boot’s auto‑configuration, and Cloud’s micro‑service tools to build robust, industrial‑grade applications.

BackendServletSpring Boot
0 likes · 24 min read
Understanding Java Web Backend: Servlets, JSP, Tomcat, Listeners, Filters, Spring, Spring Boot, and Spring Cloud
Programmer DD
Programmer DD
Jun 23, 2021 · Backend Development

Why Spring Boot APIs Hang: Debugging a Redis Connection Pool Deadlock

A week‑long API freeze in a sandbox environment was traced to Redis connection pool deadlocks caused by missing pool configuration and improper connection handling, and the article walks through the diagnosis with top, jstack, Arthas, and the code changes needed to fix it.

ArthasConnection PoolDebugging
0 likes · 9 min read
Why Spring Boot APIs Hang: Debugging a Redis Connection Pool Deadlock
Top Architect
Top Architect
Jun 22, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Project with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up application.yml and properties, defining POJOs, MyBatis mapper XML, service and controller layers, and building simple Thymeleaf login and registration pages, with full code snippets for each step.

MyBatisMySQLSpring Boot
0 likes · 10 min read
Step-by-Step Guide to Building a Spring Boot Project with MyBatis and MySQL
Top Architect
Top Architect
Jun 21, 2021 · Backend Development

Custom Global Exception Handling in Spring Boot

This article explains how to configure Spring Boot to handle default and custom exceptions globally, covering logging of error mappings, adding Fastjson and Freemarker dependencies, configuring properties, defining error entity and custom exception classes, creating an error template, implementing a @ControllerAdvice handler, and testing with sample controllers and JSON responses.

ControllerAdviceException HandlingGlobal Exception
0 likes · 13 min read
Custom Global Exception Handling in Spring Boot
Programmer DD
Programmer DD
Jun 21, 2021 · Backend Development

Mastering Redis Pub/Sub in Spring Boot: Step‑by‑Step Guide

This tutorial explains the Redis publish/subscribe pattern, contrasts it with the observer pattern, and provides a complete Spring Boot example—including configuration, publisher and subscriber code, and verification steps—to help developers quickly implement real‑time messaging with Redis.

BackendMessage queueSpring Boot
0 likes · 8 min read
Mastering Redis Pub/Sub in Spring Boot: Step‑by‑Step Guide
Programmer DD
Programmer DD
Jun 20, 2021 · Backend Development

How to Integrate LDAP with Spring Boot: A Step‑by‑Step Guide

This tutorial explains why centralizing user data with LDAP simplifies multi‑system authentication, introduces LDAP fundamentals, and provides a complete Spring Boot example—including Maven dependencies, embedded LDIF setup, entity mapping, repository usage, and test cases—to help developers quickly connect to both embedded and external LDAP servers.

BackendDirectory ServicesLDAP
0 likes · 12 min read
How to Integrate LDAP with Spring Boot: A Step‑by‑Step Guide
Top Architect
Top Architect
Jun 18, 2021 · Backend Development

Understanding Spring Boot @SpringBootApplication and Its Auto‑Configuration Mechanism

This article explains how Spring Boot's @SpringBootApplication annotation combines several meta‑annotations, how auto‑configuration classes are discovered from META‑INF/spring.factories, and how the framework creates and refreshes the application context, including the embedded Tomcat web server, with illustrative code snippets.

Backend DevelopmentSpring Bootannotations
0 likes · 12 min read
Understanding Spring Boot @SpringBootApplication and Its Auto‑Configuration Mechanism
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 18, 2021 · Backend Development

Introducing Apache Pulsar and Its Integration with Spring Boot

This article introduces Apache Pulsar, outlines its key features and advantages over other messaging systems, and provides step‑by‑step Spring Boot integration code examples including dependencies, configuration, producer and consumer implementations for both normal and delayed messages.

Apache PulsarMessage queueSpring Boot
0 likes · 8 min read
Introducing Apache Pulsar and Its Integration with Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 17, 2021 · Backend Development

Comparative Overview of Distributed Configuration Centers for Spring Boot Microservices

This article introduces the need for dynamic configuration in Spring Boot microservices, compares popular open‑source configuration centers such as Apollo, Nacos, Spring Cloud Config, Disconf, and Diamond, and provides detailed features, a comparison table, and code examples for integrating Apollo.

ApolloDistributed ConfigurationNacos
0 likes · 11 min read
Comparative Overview of Distributed Configuration Centers for Spring Boot Microservices
Programmer DD
Programmer DD
Jun 17, 2021 · Backend Development

How to Seamlessly Handle XML Requests and Responses in Spring Boot

This tutorial explains how to configure Spring Boot to automatically convert XML payloads into Java objects using message converters, define XML‑Java mappings with Jackson annotations, and create controller endpoints that both consume and produce XML, complete with code examples and Maven setup.

Message ConverterRESTSpring Boot
0 likes · 6 min read
How to Seamlessly Handle XML Requests and Responses in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 17, 2021 · Backend Development

Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter

This article explains how to add a generic app‑key whitelist authentication feature to a Spring Boot web framework using four different mechanisms—traditional AOP, HandlerInterceptor, custom HandlerMethodArgumentResolver, and Servlet Filter—providing implementation steps, code examples, and a discussion of their execution order.

AOPArgumentResolverAuthentication
0 likes · 12 min read
Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, ArgumentResolver, and Filter
Top Architect
Top Architect
Jun 15, 2021 · Information Security

Securing Spring Boot Applications with JWT and Spring Security

This tutorial explains how to protect a Spring Boot web application by integrating Spring Security and JSON Web Tokens (JWT), covering project setup, dependency configuration, custom authentication components, security filters, token generation, role‑based access control, and testing with curl commands.

AuthenticationJWTREST API
0 likes · 15 min read
Securing Spring Boot Applications with JWT and Spring Security
macrozheng
macrozheng
Jun 15, 2021 · Backend Development

Mastering Redisson: Seamless Distributed Locks in Spring Boot

This tutorial explains what Redisson is, how it extends Redis with powerful distributed data structures and lock mechanisms, and provides step‑by‑step Spring Boot integration, code examples, and detailed testing of re‑entrant, read‑write, and semaphore locks.

ConcurrencyRedisRedisson
0 likes · 15 min read
Mastering Redisson: Seamless Distributed Locks in Spring Boot
Programmer DD
Programmer DD
Jun 14, 2021 · Databases

Master Real‑Time Change Data Capture with Debezium and Spring Boot

Learn how to capture and stream real‑time database changes using Debezium’s distributed CDC framework, configure MySQL binlog, integrate the embedded engine with Spring Boot, and process change events with sample code and Docker setup for robust data pipelines.

CDCChange Data CaptureDebezium
0 likes · 11 min read
Master Real‑Time Change Data Capture with Debezium and Spring Boot
Programmer DD
Programmer DD
Jun 13, 2021 · Backend Development

Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, Resolver, Filter

This article explains how to add a generic appkey whitelist authentication feature to a Spring Boot web framework using four approaches—traditional AOP, HandlerInterceptor, HandlerMethodArgumentResolver, and Servlet Filter—providing implementation steps, code examples, and a discussion of their execution order.

AOPArgumentResolverInterceptor
0 likes · 11 min read
Four Ways to Implement Generic Auth in Spring Boot: AOP, Interceptor, Resolver, Filter
Java Backend Technology
Java Backend Technology
Jun 13, 2021 · Cloud Native

How Spring Native Beta Enables Fast, Low‑Memory Spring Apps with GraalVM

Spring Native beta introduces Maven and Gradle plugins that let Spring applications be compiled into GraalVM native images, delivering near‑instant startup, reduced memory usage, and container‑ready executables while outlining supported features, AOT transformation, and practical use cases for cloud‑native deployments.

AoTContainerizationNative Images
0 likes · 11 min read
How Spring Native Beta Enables Fast, Low‑Memory Spring Apps with GraalVM
Programmer DD
Programmer DD
Jun 12, 2021 · Backend Development

Spring Boot 2.0: Multi‑Image Upload with Real‑Time Preview

This guide demonstrates how to build a Spring Boot 2.0 backend that accepts multiple image files, returns upload success, and displays real‑time previews on the frontend using HTML, JavaScript, and Spring MVC multipart handling, along with configuration and error handling tips.

Backend DevelopmentJavaScript PreviewMultipartFile
0 likes · 7 min read
Spring Boot 2.0: Multi‑Image Upload with Real‑Time Preview
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 11, 2021 · Cloud Native

Integrating Nacos with Spring Boot: Features, Advantages, and Code Example

This article introduces Alibaba's open‑source Nacos service for dynamic configuration and service discovery, explains its core features and the performance benefits of Nacos 2.x with gRPC, and provides step‑by‑step Spring Boot integration code, configuration examples, and a live demonstration using the Nacos web console.

Configuration ManagementNacosSpring Boot
0 likes · 7 min read
Integrating Nacos with Spring Boot: Features, Advantages, and Code Example
Top Architect
Top Architect
Jun 11, 2021 · Backend Development

Optimizing Spring Boot Fat JARs: Reducing Deployment Package Size by Separating Dependencies

This article explains how to shrink large Spring Boot fat JARs by extracting common dependencies into a shared lib directory and building lightweight business JARs, offering step‑by‑step Maven configurations for four optimization levels that dramatically reduce deployment size and improve update speed for both monolithic and microservice projects.

Jar OptimizationMavenSpring Boot
0 likes · 21 min read
Optimizing Spring Boot Fat JARs: Reducing Deployment Package Size by Separating Dependencies
macrozheng
macrozheng
Jun 8, 2021 · Backend Development

Master Apache Pulsar with Docker and Spring Boot: A Hands‑On Guide

This article provides a step‑by‑step tutorial on installing Apache Pulsar with Docker, managing it via Pulsar Manager, and integrating it into a Spring Boot application using the Pulsar Java Spring Boot starter, complete with code examples and UI screenshots.

Apache PulsarDockerMessaging
0 likes · 9 min read
Master Apache Pulsar with Docker and Spring Boot: A Hands‑On Guide
Programmer DD
Programmer DD
Jun 7, 2021 · Backend Development

How to Shrink Spring Boot Fat JARs from Hundreds MB to a Few KB

This article explains how to break down large Spring Boot fat JARs by extracting dependencies into a shared lib directory and packaging only the business code, reducing single‑service JARs to a few hundred kilobytes and cutting total deployment size from gigabytes to a few hundred megabytes.

Jar OptimizationMavenSpring Boot
0 likes · 23 min read
How to Shrink Spring Boot Fat JARs from Hundreds MB to a Few KB
Top Architect
Top Architect
Jun 5, 2021 · Backend Development

Comprehensive Guide to Spring Boot, Spring MVC, and JPA Annotations

This article provides a detailed overview of the most commonly used Spring Boot, Spring MVC, and JPA annotations, explains their purposes, shows how they interact, and includes practical code examples for building robust Java backend applications.

Backend DevelopmentSpring Bootannotations
0 likes · 11 min read
Comprehensive Guide to Spring Boot, Spring MVC, and JPA Annotations
Programmer DD
Programmer DD
Jun 3, 2021 · Backend Development

How to Fix Java IllegalArgumentException: Request Header Too Large in Spring Boot

When a Java application throws IllegalArgumentException: Request header is too large, the issue stems from oversized HTTP headers, and you can resolve it by increasing the server's max‑http‑header‑size setting in Spring Boot or by moving large data from headers to the request body.

BackendHTTP header sizeIllegalArgumentException
0 likes · 3 min read
How to Fix Java IllegalArgumentException: Request Header Too Large in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Jun 2, 2021 · Backend Development

Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage

This article provides a detailed tutorial on using MyBatis-Plus with Spring Boot, covering installation, quick start, CRUD operations, annotation usage, condition builders, pagination, AR mode, primary key strategies, configuration options, code generation, logical deletion, auto-filling, optimistic locking, performance analysis, multi‑tenant support, dynamic table names, and best‑practice summaries.

CRUDMybatis-PlusSpring Boot
0 likes · 50 min read
Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage
Java Architect Essentials
Java Architect Essentials
Jun 1, 2021 · Information Security

API Security Practices: Token, Timestamp, Signature, and Replay Prevention in Spring Boot

This article explains how to protect data exchange with third‑party systems by using access tokens, timestamps, cryptographic signatures, and duplicate‑submission safeguards, providing detailed Java/Spring Boot examples and code snippets for implementing secure API authentication and request validation.

API SecurityRedisSpring Boot
0 likes · 27 min read
API Security Practices: Token, Timestamp, Signature, and Replay Prevention in Spring Boot
Top Architect
Top Architect
Jun 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features

This article provides a detailed tutorial on using MyBatis‑Plus with Spring Boot, covering quick setup, entity and mapper definitions, CRUD operations, condition wrappers (including lambda and chain wrappers), pagination, ActiveRecord mode, primary‑key strategies, configuration options, code generation, and advanced features such as logical deletion, auto‑fill, optimistic locking, performance analysis, multi‑tenant and dynamic table name handling.

CRUDMybatis-PlusSpring Boot
0 likes · 46 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features
Java Backend Technology
Java Backend Technology
May 31, 2021 · Backend Development

13 Must‑Try Open‑Source Spring Boot Projects for Java Developers

This article curates thirteen high‑quality Spring Boot open‑source projects—ranging from e‑commerce platforms and microservice frameworks to payment systems and HR tools—providing star counts, repository links, brief feature overviews, and demo screenshots to help Java developers choose valuable reference implementations.

BackendOpen SourceSpring Boot
0 likes · 11 min read
13 Must‑Try Open‑Source Spring Boot Projects for Java Developers
Code Ape Tech Column
Code Ape Tech Column
May 31, 2021 · Backend Development

Comprehensive Guide to Creating Job Scheduling Tasks with Quartz, xxl-job, and Spring Boot

This article provides a step‑by‑step tutorial on five different ways to implement Java job scheduling—including raw threads, TimerTask, thread pools, Quartz framework, and Spring @Scheduled—followed by detailed instructions for setting up the xxl‑job admin console, configuring a Spring Boot project, and deploying sample job handlers.

Job SchedulingQuartzSpring Boot
0 likes · 13 min read
Comprehensive Guide to Creating Job Scheduling Tasks with Quartz, xxl-job, and Spring Boot
Java Interview Crash Guide
Java Interview Crash Guide
May 30, 2021 · Backend Development

Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Advanced Tips

This comprehensive tutorial demonstrates how to integrate MyBatis-Plus with Spring Boot, covering basic setup, entity and mapper creation, CRUD operations, condition wrappers, pagination, logical deletion, automatic field filling, optimistic locking, and advanced features such as multi‑tenant and dynamic table name handling, complete with code examples.

CRUDLogical DeletionMybatis-Plus
0 likes · 46 min read
Master MyBatis-Plus with Spring Boot: CRUD, Pagination & Advanced Tips
Architecture Digest
Architecture Digest
May 29, 2021 · Backend Development

Using the BizLog SDK in Spring Boot: Configuration, Annotations, and Custom Extensions

This article introduces the BizLog SDK for Spring Boot, explains how to add the Maven dependency, enable the @EnableLogRecord switch, use @LogRecordAnnotation for various logging scenarios, customize operators, details, categories, and parse functions, and shows how to extend the framework with custom services and implementations.

BizLogLoggingMaven
0 likes · 14 min read
Using the BizLog SDK in Spring Boot: Configuration, Annotations, and Custom Extensions
IT Xianyu
IT Xianyu
May 28, 2021 · Backend Development

Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool

This article explains how to use Maven profiles to manage multiple Spring Boot environments, configure the maven‑assembly‑plugin to create a zip release containing the jar, configuration files and a custom shell script, and then deploy and control the application on Linux using the provided shenniu_publish.sh tool.

Assembly pluginLinuxProfiles
0 likes · 15 min read
Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool
Code Ape Tech Column
Code Ape Tech Column
May 28, 2021 · Backend Development

Why kill -9 Can Corrupt Your Data and How to Gracefully Shut Down Spring Boot

The article explains the dangers of using kill -9 to terminate Java processes, illustrates how it can cause data loss in database operations, and provides several practical approaches—including SIGTERM, ConfigurableApplicationContext.close(), Spring Boot Actuator, and a custom Tomcat shutdown hook—to gracefully stop Spring Boot services while preserving data integrity.

ActuatorGraceful ShutdownLinux kill
0 likes · 21 min read
Why kill -9 Can Corrupt Your Data and How to Gracefully Shut Down Spring Boot
macrozheng
macrozheng
May 27, 2021 · Backend Development

What’s New in Spring Boot 2.5? A Deep Dive into Features and Upgrades

Spring Boot 2.5 introduces major enhancements such as Java 16 support, Gradle 7 and Jetty 10 compatibility, HTTP/2 over TCP, a revamped datasource initialization mechanism, environment‑variable prefixes, Docker build improvements, layered WARs, actuator endpoint changes, extensive dependency upgrades, and several deprecations, while urging careful migration.

ActuatorBackend DevelopmentDocker
0 likes · 11 min read
What’s New in Spring Boot 2.5? A Deep Dive into Features and Upgrades
Top Architect
Top Architect
May 25, 2021 · Backend Development

Spring Boot Resource Initialization: CommandLineRunner, ApplicationRunner, @Order, @PostConstruct, InitializingBean, and ApplicationListener

This article explains several Spring Boot techniques for initializing resources at application startup, including CommandLineRunner, ApplicationRunner, @Order, @PostConstruct, InitializingBean, and ApplicationListener, and provides code examples and usage guidelines for each method.

ApplicationRunnerInitializingBeanPostConstruct
0 likes · 8 min read
Spring Boot Resource Initialization: CommandLineRunner, ApplicationRunner, @Order, @PostConstruct, InitializingBean, and ApplicationListener
macrozheng
macrozheng
May 25, 2021 · Backend Development

Accelerate Java API Development with magic-api: No Controllers Needed

magic-api is a Java-based rapid API development framework that eliminates the need for traditional Controllers, Services, DAOs, and XML files by providing a UI for defining endpoints, supporting Spring Boot integration, CRUD operations, validation, transactions, result mapping, and Swagger integration, with detailed configuration examples.

APICRUDSpring Boot
0 likes · 10 min read
Accelerate Java API Development with magic-api: No Controllers Needed
MaGe Linux Operations
MaGe Linux Operations
May 24, 2021 · Backend Development

The Risks of kill -9 on Spring Boot and How to Shut Down Gracefully

This article explains why using the forceful kill -9 command to terminate Spring Boot services can cause data inconsistency and errors, and demonstrates three safer shutdown methods—using kill -15, invoking ConfigurableApplicationContext.close(), and leveraging Spring Boot Actuator—complete with code examples and configuration steps.

ActuatorGraceful ShutdownLinux kill
0 likes · 20 min read
The Risks of kill -9 on Spring Boot and How to Shut Down Gracefully
Programmer DD
Programmer DD
May 24, 2021 · Backend Development

Master Spring Boot 2.5.0 DataSource Initialization: New Configurations Explained

This article walks through Spring Boot 2.5.0's redesigned DataSource script initialization, clarifies deprecated properties, introduces the new SqlInitializationProperties class, and provides a complete example with Maven dependencies, configuration settings, SQL scripts, and best‑practice recommendations for automated database setup.

BackendDataSourceSQL Initialization
0 likes · 10 min read
Master Spring Boot 2.5.0 DataSource Initialization: New Configurations Explained