Tagged articles
3833 articles
Page 38 of 39
Programmer DD
Programmer DD
Jun 3, 2019 · Backend Development

How to Speed Up Spring Boot Startup: 16 Proven Optimizations

This article walks through a series of practical experiments—ranging from baseline Flux tests to lazy initialization, JVM options, dependency exclusions, and AppCDS—to dramatically reduce Spring Boot application startup time, ultimately achieving sub‑second launch speeds.

BenchmarkJavaSpring Boot
0 likes · 10 min read
How to Speed Up Spring Boot Startup: 16 Proven Optimizations
Java Architecture Diary
Java Architecture Diary
May 25, 2019 · Backend Development

How mica-auto Automates Spring Boot Starter Configuration with Annotation Processors

This article explains the mica-auto library, which uses Java annotation processing to automatically generate Spring Boot starter configurations, streamline component registration, and simplify multi‑module Spring Cloud projects, while providing Maven and Gradle integration details and recent change logs.

Annotation ProcessorBackendJava
0 likes · 4 min read
How mica-auto Automates Spring Boot Starter Configuration with Annotation Processors
macrozheng
macrozheng
May 24, 2019 · Backend Development

Integrating RabbitMQ for Delayed Order Cancellation in a Spring Boot Mall Application

This tutorial walks through installing RabbitMQ, configuring it in a Spring Boot project, defining message models and enums, implementing delayed messaging to automatically cancel unpaid orders, and provides complete Java code, configuration files, testing steps, and useful resources for building a robust backend order system.

Delayed MessagingJavaOrder Cancellation
0 likes · 19 min read
Integrating RabbitMQ for Delayed Order Cancellation in a Spring Boot Mall Application
macrozheng
macrozheng
May 22, 2019 · Databases

Integrating MongoDB into Spring Boot: Manage Product Browsing History

This tutorial walks through integrating MongoDB into a Spring Boot mall project, covering installation, configuration, Spring Data MongoDB usage, defining document and repository classes, implementing service and controller layers, and testing CRUD operations for product browsing records.

BackendMongoDBProduct Browsing
0 likes · 13 min read
Integrating MongoDB into Spring Boot: Manage Product Browsing History
Programmer DD
Programmer DD
May 21, 2019 · Operations

How to Centralize Spring Boot Logs with Graylog Using Docker Compose

This tutorial walks you through installing Graylog with Docker‑Compose, configuring it for Spring Boot, and routing Logback and Log4j2 logs to Graylog, while also comparing Graylog to the ELK stack and providing source links for the full projects.

DockerGraylogLog Management
0 likes · 11 min read
How to Centralize Spring Boot Logs with Graylog Using Docker Compose
macrozheng
macrozheng
May 20, 2019 · Backend Development

Integrating Elasticsearch with Spring Boot for Full-Text Product Search

This guide walks through installing Elasticsearch and Kibana, configuring a Chinese analyzer, defining Spring Data Elasticsearch annotations, creating repository and service layers, building a REST controller, and testing product search functionality within a Spring Boot mall application.

ElasticsearchFull‑Text SearchJava
0 likes · 14 min read
Integrating Elasticsearch with Spring Boot for Full-Text Product Search
Java Backend Technology
Java Backend Technology
May 19, 2019 · Backend Development

13 Must-Explore Open-Source Spring Boot Projects for Java Developers

A curated list of 13 high‑quality Spring Boot open‑source projects—including e‑commerce platforms, microservice frameworks, payment systems, and ERP solutions—each with brief descriptions, key features, and demo links to help Java developers find valuable codebases for learning and real‑world use.

Backend DevelopmentJavaSpring Boot
0 likes · 11 min read
13 Must-Explore Open-Source Spring Boot Projects for Java Developers
Architect's Tech Stack
Architect's Tech Stack
May 18, 2019 · Cloud Native

Understanding Spring Cloud: Core Concepts, Benefits, Service Discovery, Load Balancing, Hystrix, Feign, and Spring Cloud Bus

This article explains what Spring Cloud is, its advantages for distributed microservices, the meaning of service registration and discovery, the purpose of load balancing, how Hystrix provides fault tolerance and circuit breaking, the role of Netflix Feign, and the function of Spring Cloud Bus for configuration refresh across instances.

HystrixMicroservicesSpring Boot
0 likes · 9 min read
Understanding Spring Cloud: Core Concepts, Benefits, Service Discovery, Load Balancing, Hystrix, Feign, and Spring Cloud Bus
macrozheng
macrozheng
May 15, 2019 · Information Security

Implement Login, Registration and JWT Authentication in Spring Boot

This tutorial walks through building a Spring Boot backend with user registration, login, JWT token generation, Swagger UI configuration, and method-level permission annotations, providing complete code examples and step‑by‑step instructions for secure authentication and authorization.

AuthorizationBackendSpring Boot
0 likes · 13 min read
Implement Login, Registration and JWT Authentication in Spring Boot
macrozheng
macrozheng
May 10, 2019 · Backend Development

How to Integrate Redis for SMS Verification in a Spring Boot Mall Project

This guide walks you through installing Redis, adding Maven dependencies, configuring Spring Boot, creating a Redis service interface and implementation, and building controller endpoints to generate and verify SMS verification codes, complete with code examples and deployment instructions.

Backend IntegrationCacheJava
0 likes · 10 min read
How to Integrate Redis for SMS Verification in a Spring Boot Mall Project
macrozheng
macrozheng
May 8, 2019 · Backend Development

How to Integrate Swagger‑UI for Complete API Documentation in a Spring Boot Mall Project

This tutorial walks through integrating Swagger‑UI into the mall‑tiny Spring Boot project, covering Maven dependencies, Java configuration, adding Swagger annotations to controllers, customizing MyBatis Generator to emit @ApiModelProperty, regenerating model code, and finally viewing and testing the generated API docs via the Swagger‑UI interface.

API documentationJavaMyBatis Generator
0 likes · 10 min read
How to Integrate Swagger‑UI for Complete API Documentation in a Spring Boot Mall Project
Java Captain
Java Captain
May 6, 2019 · Backend Development

Introduction to Spring Boot with Code Examples

This article provides a comprehensive tutorial on Spring Boot, covering its purpose, key advantages, project setup with Maven, essential configuration files, integration of JdbcTemplate, JPA, MyBatis, JSP, AOP, and task scheduling, all illustrated with complete Java code snippets.

Backend DevelopmentJavaMyBatis
0 likes · 12 min read
Introduction to Spring Boot with Code Examples
macrozheng
macrozheng
May 4, 2019 · Backend Development

Explore the Full‑Featured Mall E‑Commerce System Built with Spring Boot & MyBatis

The Mall project is a comprehensive e‑commerce solution featuring a front‑end storefront and back‑office management, implemented with Spring Boot, MyBatis, and a suite of modern technologies such as Redis, Elasticsearch, RabbitMQ, Docker, and more, offering modules for products, orders, marketing, and analytics.

DockerElasticsearchMyBatis
0 likes · 4 min read
Explore the Full‑Featured Mall E‑Commerce System Built with Spring Boot & MyBatis
Programmer DD
Programmer DD
Apr 24, 2019 · Backend Development

Top 16 Spring Boot Best Practices for Building Robust Microservices

This article compiles essential Spring Boot best practices—from custom BOMs and auto‑configuration to logging, testing, and exception handling—offering developers actionable guidance to streamline microservice development, improve code quality, and maintain scalable, maintainable Java applications.

Backend DevelopmentJavaMicroservices
0 likes · 14 min read
Top 16 Spring Boot Best Practices for Building Robust Microservices
Java Backend Technology
Java Backend Technology
Apr 11, 2019 · Backend Development

Why Spring Cloud Config Falls Short and How We Rebuilt It with Long Polling

This article examines the limitations of Spring Cloud Config—especially Git‑based permission control and coarse granularity—explains why a database‑backed configuration center is preferable, and details a custom long‑polling refresh mechanism built with Spring's DeferredResult and asynchronous servlets.

Backend DevelopmentConfiguration CenterDeferredResult
0 likes · 10 min read
Why Spring Cloud Config Falls Short and How We Rebuilt It with Long Polling
Programmer DD
Programmer DD
Apr 11, 2019 · Backend Development

How to Organize Spring Boot Projects for Seamless Component Scanning

Spring Boot imposes no strict project layout, but adopting a recommended package structure—placing the main application class in a root package and organizing domain, service, and web layers under it—prevents configuration pitfalls and ensures automatic component scanning, while alternative scanning methods like @ComponentScan and @Bean can handle non‑standard layouts.

JavaSpring Bootcomponent scanning
0 likes · 5 min read
How to Organize Spring Boot Projects for Seamless Component Scanning
Senior Brother's Insights
Senior Brother's Insights
Apr 1, 2019 · Backend Development

How to Quickly Bootstrap a Spring Boot Project: A Step‑by‑Step Guide

This tutorial walks you through setting up a Spring Boot 2.1.3 project using Maven, covering environment prerequisites, two creation methods (Spring Initializr and IntelliJ IDEA plugin), project structure, configuration, essential dependencies, a HelloWorld REST controller, unit testing, and important deployment tips.

IDEAJavaSpring Boot
0 likes · 12 min read
How to Quickly Bootstrap a Spring Boot Project: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Mar 26, 2019 · Backend Development

Kickstart Spring Boot: Build and Test Your First Web App in Minutes

This tutorial walks you through creating a Spring Boot project with Spring Initializr, explains its lightweight advantages, shows how to set up the project structure, configure Maven dependencies, implement a simple HTTP endpoint, and write unit tests, all using Java and Maven.

JavaSpring BootTutorial
0 likes · 12 min read
Kickstart Spring Boot: Build and Test Your First Web App in Minutes
Java Architecture Diary
Java Architecture Diary
Mar 24, 2019 · Backend Development

How to Extend Spring Cache for Multi‑Tenant Isolation and TTL

This article explains Spring's annotation‑based caching, analyzes why the default cache key collides in multi‑tenant scenarios, shows how to embed tenant identifiers into keys, and provides a custom CacheManager implementation that parses TTL from the cache name and applies it to Redis entries.

CacheManagerJavaSpring Boot
0 likes · 5 min read
How to Extend Spring Cache for Multi‑Tenant Isolation and TTL
JD Tech Talk
JD Tech Talk
Mar 19, 2019 · Backend Development

Design and Implementation of JD Finance’s LEGO Backend System for Dynamic Page Configuration

The article describes the motivation, analysis, architecture, performance optimizations, development challenges, and future plans of JD Finance’s LEGO backend platform, which uses Spring Boot, SpEL, Redis, and reactive programming to enable dynamic, high‑performance page configuration for a high‑traffic mobile app.

Backend ArchitecturePerformance OptimizationSpEL
0 likes · 10 min read
Design and Implementation of JD Finance’s LEGO Backend System for Dynamic Page Configuration
Java Architecture Diary
Java Architecture Diary
Mar 12, 2019 · Backend Development

Build a Scalable RBAC System with Spring Cloud Finchley & OAuth2

This open‑source project offers a Spring Cloud Finchley‑based RBAC permission system using Spring Security OAuth2, a data‑driven Element‑ui front‑end that works without Vue experience, and full container support (Docker, Kubernetes, Rancher2) plus production‑ready lambda, Stream API and WebFlux examples, with detailed dependency listings and contribution guidelines.

DockerOAuth2RBAC
0 likes · 2 min read
Build a Scalable RBAC System with Spring Cloud Finchley & OAuth2
Java Architecture Diary
Java Architecture Diary
Mar 8, 2019 · Backend Development

Boost Java Spring Boot Performance with Mica-Log4j2’s Asynchronous Logging

This guide explains how Mica-Log4j2 provides environment‑specific log configurations, high‑throughput asynchronous logging via Disruptor, replaces System.out/err in non‑dev modes, and shows Maven/Gradle dependencies, system settings, custom log levels, file structures, and open‑source resources for Spring Boot applications.

AsynchronousJavaSpring Boot
0 likes · 3 min read
Boost Java Spring Boot Performance with Mica-Log4j2’s Asynchronous Logging
Java Architecture Diary
Java Architecture Diary
Mar 8, 2019 · Backend Development

How to Use mica-boot-test for Spring Boot Unit Testing

This guide explains the purpose of the mica-boot-test component, shows how to add its Maven or Gradle dependency, and provides two example test classes demonstrating the use of @MicaBootTest with either @RunWith(MicaSpringRunner.class) or inheritance from MicaBaseTest.

GradleJavaSpring Boot
0 likes · 2 min read
How to Use mica-boot-test for Spring Boot Unit Testing
HomeTech
HomeTech
Mar 7, 2019 · Operations

Design and Implementation of a Sonar Monitoring System for Spring Boot Applications

This article presents the design, architecture, and technology choices of a Sonar monitoring system for Spring Boot microservices, covering time‑series database selection, deployment topology, client collection strategies, and future plans for advanced analytics and AI‑driven alerting.

InfluxDBMicroservicesSpring Boot
0 likes · 15 min read
Design and Implementation of a Sonar Monitoring System for Spring Boot Applications
Java Backend Technology
Java Backend Technology
Feb 27, 2019 · Backend Development

Revamping Dubbo Service Governance: Inside the New Dubbo Admin 0.1

Dubbo Admin 0.1, a freshly refactored standalone project, replaces the old Webx backend with Spring Boot, adopts Vue and Vuetify for the UI, integrates Swagger, and introduces updated configuration, tag routing, application‑level service governance, and metadata‑driven testing to fully support Dubbo 2.7 features.

ConfigurationDubboSpring Boot
0 likes · 8 min read
Revamping Dubbo Service Governance: Inside the New Dubbo Admin 0.1
Senior Brother's Insights
Senior Brother's Insights
Feb 25, 2019 · Backend Development

Master Spring @Configuration and @Bean: From Java Classes to Fully Configured Beans

Spring’s shift from XML to annotation‑based configuration is explained, covering @Configuration and @Bean requirements, example Java classes, equivalent XML, annotation definitions, bean scopes, component scanning, unit‑testing, and practical tips for wiring beans without field injection, providing a complete guide for modern Spring development.

JavaSpring Bootannotation
0 likes · 8 min read
Master Spring @Configuration and @Bean: From Java Classes to Fully Configured Beans
Java Captain
Java Captain
Feb 24, 2019 · Backend Development

Spring Boot Overview: What It Is, Benefits, JavaConfig, DevTools, Actuator, and Common Configurations

This article introduces Spring Boot, explains its advantages over traditional Spring projects, describes JavaConfig, shows how to use DevTools for automatic reloads, outlines Actuator monitoring, and provides practical guidance on security, YAML configuration, ActiveMQ integration, and pagination with Spring Data JPA.

ActuatorBackend DevelopmentConfiguration
0 likes · 8 min read
Spring Boot Overview: What It Is, Benefits, JavaConfig, DevTools, Actuator, and Common Configurations
Java Captain
Java Captain
Feb 21, 2019 · Backend Development

Top Java Open‑Source Projects on GitHub in January

This article presents a curated list of the most popular Java open‑source projects on GitHub for January, summarizing each repository’s purpose, key features, and star count to help developers discover valuable resources for learning, building, and advancing Java applications.

Distributed SystemsGitHubJava
0 likes · 6 min read
Top Java Open‑Source Projects on GitHub in January
Programmer DD
Programmer DD
Feb 21, 2019 · Backend Development

How to Add Chaos Monkey to Spring Boot Microservices for Resilient Systems

This guide walks through integrating Codecentric's Chaos Monkey into a Spring Boot microservice ecosystem, covering dependency setup, configuration, actuator endpoints, Dockerized MySQL, performance testing with Gatling, and timeout tuning for Feign and Ribbon clients to simulate real‑world failures.

Chaos MonkeyMicroservicesPerformance Testing
0 likes · 12 min read
How to Add Chaos Monkey to Spring Boot Microservices for Resilient Systems
Programmer DD
Programmer DD
Feb 11, 2019 · Backend Development

Why Groovy Is Making a Comeback in the Top 20 Programming Languages

Groovy, a dynamic JVM language praised for its concise syntax and powerful features like closures, has re‑entered the TIOBE Top 20 thanks to its role in Jenkins and Gradle, offering Java developers a compelling boost to Spring Boot productivity.

Dynamic LanguageGradleGroovy
0 likes · 4 min read
Why Groovy Is Making a Comeback in the Top 20 Programming Languages
Programmer DD
Programmer DD
Jan 28, 2019 · Backend Development

Master Nacos Config Management in Spring Cloud: A Step‑by‑Step Guide

This tutorial walks you through using Nacos as a centralized configuration center in a Spring Cloud application, covering the benefits of Nacos config management, creating configuration entries, setting up a Spring Boot project with the required dependencies, implementing a refreshable controller, and verifying dynamic updates at runtime.

JavaSpring BootSpring Cloud
0 likes · 10 min read
Master Nacos Config Management in Spring Cloud: A Step‑by‑Step Guide
Java Captain
Java Captain
Jan 19, 2019 · Backend Development

Top 11 Popular GitHub Projects for Java Developers (December Rankings)

This article lists and briefly describes the eleven most popular Java‑related GitHub repositories in December, covering learning guides, e‑commerce platforms, advanced Java topics, performance monitoring, high‑concurrency demos, diagnostic tools, Spring Boot, tutorials, messaging middleware, community software, and the Dubbo RPC framework.

APMBackend DevelopmentDubbo
0 likes · 6 min read
Top 11 Popular GitHub Projects for Java Developers (December Rankings)
Programmer DD
Programmer DD
Jan 17, 2019 · Cloud Native

Master Spring Cloud Alibaba Nacos: Step‑by‑Step Service Discovery Tutorial

This tutorial walks you through installing Nacos, configuring Spring Cloud Alibaba for service registration and discovery, building provider and consumer Spring Boot applications, and testing load‑balanced calls, offering a complete hands‑on guide to cloud‑native microservice integration.

MicroservicesSpring BootSpring Cloud
0 likes · 11 min read
Master Spring Cloud Alibaba Nacos: Step‑by‑Step Service Discovery Tutorial
Programmer DD
Programmer DD
Jan 14, 2019 · Backend Development

Create a Custom Spring Boot Starter to Auto‑Count Database Entities

This guide explains how to build a Spring Boot starter that automatically counts and logs the number of entries for each entity at application startup, covering starter concepts, Maven setup, code implementation, auto‑configuration, and integration into a main project.

CommandLineRunnerSpring BootStarter
0 likes · 8 min read
Create a Custom Spring Boot Starter to Auto‑Count Database Entities
High Availability Architecture
High Availability Architecture
Jan 9, 2019 · Backend Development

Deep Dive into Spring Boot Startup Process and Class Loading Mechanism

This article explores the inner workings of Spring Boot by dissecting a simple Hello World application, analyzing its startup sequence, class loading via FatJar, the custom JarLauncher, and automatic registration of RestControllers, while highlighting performance considerations and the complexity of its annotation-driven configuration.

JavaSpring Bootannotation
0 likes · 15 min read
Deep Dive into Spring Boot Startup Process and Class Loading Mechanism
Meituan Technology Team
Meituan Technology Team
Jan 3, 2019 · Backend Development

Investigation of Excessive Native Memory Usage After Migrating to Spring Boot

After moving to Spring Boot, the application consumed up to 7 GB of native memory because Meituan’s MCC package scanner invoked Spring’s ZipInflaterInputStream, which allocated large off‑heap buffers during JAR decompression that were only freed by the JVM finalizer and retained by glibc’s 64 MB arenas; restricting the scan scope or upgrading to Spring Boot 2.0.5 eliminated the excess usage.

JVMNative MemoryPerformance debugging
0 likes · 13 min read
Investigation of Excessive Native Memory Usage After Migrating to Spring Boot
Senior Brother's Insights
Senior Brother's Insights
Jan 1, 2019 · Backend Development

Deep Dive into Spring AOP: Core Classes, Annotation Processing, and Proxy Generation

This article provides a comprehensive analysis of Spring AOP's core proxy mechanisms, detailing the roles of advisor, advice, and pointcut classes, the annotation‑driven configuration process, and how Spring Boot automatically creates proxies using JDK or CGLIB based on configuration flags.

JDK Dynamic ProxyProxy GenerationSpring Boot
0 likes · 19 min read
Deep Dive into Spring AOP: Core Classes, Annotation Processing, and Proxy Generation
Programmer DD
Programmer DD
Jan 1, 2019 · Backend Development

Deep Dive into Spring AOP: Core Classes, Proxy Mechanics, and Source Code Walkthrough

This article provides a comprehensive analysis of Spring AOP, covering its core classes, multiple proxy mechanisms, annotation‑based configuration in Spring Boot, the differences between Spring Boot 1.x and 2.x AOP settings, and detailed source‑code snippets that illustrate how advisors, pointcuts, and advices are created and applied.

Backend DevelopmentJavaProxy
0 likes · 22 min read
Deep Dive into Spring AOP: Core Classes, Proxy Mechanics, and Source Code Walkthrough
Senior Brother's Insights
Senior Brother's Insights
Dec 30, 2018 · Backend Development

From Spring Framework to Spring Boot: A Complete Historical Timeline

This article chronicles the evolution of the Spring ecosystem—from its origins as a lightweight dependency‑injection framework, through rapid version growth and corporate changes, to the emergence of Spring Boot and Spring IO, highlighting key releases, architectural shifts, and the impact on Java backend development.

Backend DevelopmentFramework HistoryJava
0 likes · 11 min read
From Spring Framework to Spring Boot: A Complete Historical Timeline
Programmer DD
Programmer DD
Dec 14, 2018 · Backend Development

Build a Distributed Configuration Center with Spring Boot and the Observer Pattern

This tutorial walks through the design and implementation of a distributed configuration center using Spring Boot, demonstrating how to define configuration entities, apply the observer pattern for dynamic updates, and integrate a thread‑pooled scheduler to keep configuration in sync without restarting services.

Backend DevelopmentConfiguration CenterJava
0 likes · 19 min read
Build a Distributed Configuration Center with Spring Boot and the Observer Pattern
Programmer DD
Programmer DD
Dec 10, 2018 · Backend Development

How to Persist DDD Aggregates with JPA, Hibernate, and MongoDB

This tutorial walks through persisting Domain‑Driven Design aggregates by first explaining aggregates and aggregate roots, then showing Java class examples, followed by practical JPA/Hibernate integration challenges and a complete MongoDB document‑store solution, highlighting trade‑offs and best practices.

AggregatesDDDHibernate
0 likes · 14 min read
How to Persist DDD Aggregates with JPA, Hibernate, and MongoDB
Tencent Cloud Developer
Tencent Cloud Developer
Dec 7, 2018 · Cloud Native

29 Top Tools for Building Microservices on All Levels

The article surveys thirty‑nine essential open‑source tools for constructing microservices—from API management, messaging, and monitoring to Kubernetes orchestration, programming languages, frameworks, and serverless platforms—highlighting how each solution supports communication, scalability, and rapid development across enterprise, government, education, and charitable applications.

API ManagementKubernetesMessage Queue
0 likes · 13 min read
29 Top Tools for Building Microservices on All Levels
Java Captain
Java Captain
Oct 8, 2018 · Backend Development

Spring Boot Tutorial: Building a Rental Service with MyBatis Integration

This article provides a step‑by‑step guide to creating a Spring Boot application, generating a project template, adding a MyBatis‑based persistence layer, implementing service and controller layers, configuring the database, and running the application to expose REST endpoints.

Backend DevelopmentJavaMyBatis
0 likes · 9 min read
Spring Boot Tutorial: Building a Rental Service with MyBatis Integration
Programmer DD
Programmer DD
Sep 29, 2018 · Backend Development

How to Handle XML Requests in Spring Boot Controllers with Message Converters

Learn how to quickly wrap XML requests into objects and return XML responses in Spring Boot by leveraging the HttpMessageConverter mechanism, adding the Jackson XML message converter, defining POJOs with Jackson annotations, and creating controller endpoints that consume and produce XML.

JacksonMessage ConverterSpring Boot
0 likes · 6 min read
How to Handle XML Requests in Spring Boot Controllers with Message Converters
Qunar Tech Salon
Qunar Tech Salon
Sep 28, 2018 · Backend Development

Comprehensive Guide to Solving Cross-Origin Issues in Java Web Applications

This article explains the principles of cross-origin restrictions, analyzes various client‑side and server‑side solutions such as disabling browser security, using script tags, JSONP, and especially CORS with Spring Boot filters, annotations, and proxy configurations, providing complete code examples and practical deployment tips.

CORSCross-OriginJSONP
0 likes · 15 min read
Comprehensive Guide to Solving Cross-Origin Issues in Java Web Applications
Programmer DD
Programmer DD
Sep 22, 2018 · Backend Development

Why kill -9 vs kill -15? Mastering Graceful Shutdown in Spring Boot

This article explains the difference between kill -9 and kill -15 signals, how Spring Boot processes the TERM signal, and provides practical code examples for implementing graceful shutdown, including shutdown hooks, DisposableBean, and proper thread‑pool termination strategies.

DisposableBeanGraceful ShutdownJava
0 likes · 17 min read
Why kill -9 vs kill -15? Mastering Graceful Shutdown in Spring Boot
Java Captain
Java Captain
Sep 17, 2018 · Backend Development

Implementing WeChat QR Code Login with Spring Boot and Thymeleaf

This tutorial explains how to build a WeChat QR‑code login system using Spring‑Boot, Thymeleaf, HttpClient and JSON, covering preparation steps, project configuration, OAuth2 flow, code examples for generating QR pages, handling callbacks, and customizing the login experience.

JavaOAuth2QR login
0 likes · 10 min read
Implementing WeChat QR Code Login with Spring Boot and Thymeleaf
Java Backend Technology
Java Backend Technology
Sep 17, 2018 · Backend Development

Master Spring Boot: 35 Essential Q&A for Java Backend Development

This article provides a comprehensive, question‑driven guide to Spring Boot, covering its differences from Spring and Spring MVC, auto‑configuration, starter projects, embedded servers, Maven plugins, DevTools, static resources, Spring Data, REST support, request mapping nuances, and profile‑based configuration for building production‑ready Java backend applications.

Backend DevelopmentJavaSpring Boot
0 likes · 17 min read
Master Spring Boot: 35 Essential Q&A for Java Backend Development
Java Captain
Java Captain
Aug 16, 2018 · Backend Development

Spring Boot Best Practices: 16 Tips for Building Robust Micro‑services

This article presents sixteen practical Spring Boot best‑practice recommendations—ranging from custom BOM dependency management and starter usage to clean controller design, service layering, externalized configuration, testing strategies, and logging—to help developers build maintainable, production‑grade Java micro‑services.

Backend DevelopmentJavaSpring Boot
0 likes · 12 min read
Spring Boot Best Practices: 16 Tips for Building Robust Micro‑services
Programmer DD
Programmer DD
Jul 25, 2018 · Backend Development

Which Git Strategy Works Best for Spring Cloud Config? Compare Two Approaches

This article compares two common Spring Cloud Config storage strategies—sharing a single Git repository with per‑project directories versus using a separate Git repository per project—detailing configuration properties, directory mapping, and the pros and cons of each approach.

BackendSpring BootSpring Cloud Config
0 likes · 4 min read
Which Git Strategy Works Best for Spring Cloud Config? Compare Two Approaches
Big Data and Microservices
Big Data and Microservices
Jul 22, 2018 · Backend Development

Mastering CORS in Spring Boot: Practical Solutions and Code Samples

This guide explains what CORS is, why browsers enforce same‑origin policies, and provides both frontend and backend strategies—including JSONP, proxy servers, Chrome flags, and several Spring Boot configurations such as filters, @CrossOrigin, custom CorsFilter, and WebMvcConfigurer—to resolve cross‑origin issues.

BackendCORSJava
0 likes · 7 min read
Mastering CORS in Spring Boot: Practical Solutions and Code Samples
Java Captain
Java Captain
Jul 21, 2018 · Backend Development

What Is Spring Boot and Why You Should Learn It

Spring Boot, introduced in 2013 to simplify Spring development, provides out‑of‑the‑box starter dependencies, reduces configuration and deployment complexity, and enables rapid creation of microservice‑ready Java applications, making it essential knowledge for modern backend developers.

Backend DevelopmentConfigurationDeployment
0 likes · 10 min read
What Is Spring Boot and Why You Should Learn It
Programmer DD
Programmer DD
Jul 19, 2018 · Backend Development

How to Build a Spring Cloud Config Server with JDBC Storage

This tutorial walks through creating a Spring Cloud Config Server that stores configuration data in a MySQL database, covering project setup, Maven dependencies, database schema creation with Flyway, Java bootstrap code, application properties configuration, and verification using curl commands to retrieve configuration values.

Config ServerFlywayJDBC
0 likes · 10 min read
How to Build a Spring Cloud Config Server with JDBC Storage
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 18, 2018 · Backend Development

Design Scalable Java Microservices: Domain Modeling, REST APIs & Versioning

This article explains how to identify, design, and implement Java microservices—from domain‑driven modeling and service boundaries to RESTful API creation, documentation, proper HTTP verbs, and versioning strategies—using examples like an online retail store and the Game On! text adventure.

API VersioningDomain-Driven DesignMicroservices
0 likes · 31 min read
Design Scalable Java Microservices: Domain Modeling, REST APIs & Versioning
Programmer DD
Programmer DD
Jul 15, 2018 · Backend Development

How to Package Spring Boot as a WAR and Deploy to an External Tomcat

This guide shows how to change a Spring Boot project’s packaging to WAR, remove the embedded Tomcat, add the servlet‑api dependency, create a servlet initializer, build the WAR with Maven, and deploy it to an external Tomcat server for verification.

DeploymentJavaSpring Boot
0 likes · 6 min read
How to Package Spring Boot as a WAR and Deploy to an External Tomcat
Java Architect Essentials
Java Architect Essentials
Jun 27, 2018 · Backend Development

Why Spring Boot Became the Backbone of Modern Java Development

This article traces Spring's evolution, explains why Spring Boot was created to simplify configuration and deployment, outlines its core features, testing support, convention‑over‑configuration philosophy, and its relationship with Spring Cloud, providing a comprehensive guide for backend developers.

Backend DevelopmentDeploymentJava
0 likes · 18 min read
Why Spring Boot Became the Backbone of Modern Java Development
Java Captain
Java Captain
Jun 26, 2018 · Backend Development

Understanding Spring Boot Auto‑Configuration and the @Conditional Mechanism

This article explains Spring Boot's core features, the role of @Conditional in automatic configuration, demonstrates custom condition classes and annotations, and walks through the source code of Spring Boot's auto‑configuration infrastructure, including @SpringBootApplication, EnableAutoConfigurationImportSelector, and class‑path condition evaluation.

Backend DevelopmentConditionalJava
0 likes · 17 min read
Understanding Spring Boot Auto‑Configuration and the @Conditional Mechanism
ITPUB
ITPUB
Jun 25, 2018 · Backend Development

How to Implement Global Rate Limiting in Spring Boot with Redis and MySQL

This guide explains how to implement global rate limiting for high‑traffic Spring Boot applications by using Redis caches and MySQL storage, covering request interception, Redis key structures for limits and counters, and dynamic configuration for adding, updating, or deleting limits.

JavaSpring Bootrate limiting
0 likes · 4 min read
How to Implement Global Rate Limiting in Spring Boot with Redis and MySQL
ITPUB
ITPUB
Jun 23, 2018 · Backend Development

Why Spring Boot Revolutionized Java Development: History, Features, and Benefits

This article explores the origins of Spring Boot, its evolution from the Spring framework, key features, advantages for developers, and its relationship with Spring Cloud, illustrating how it simplifies Java backend development and addresses configuration complexity.

Backend DevelopmentDevOpsJava
0 likes · 17 min read
Why Spring Boot Revolutionized Java Development: History, Features, and Benefits
Java Captain
Java Captain
Jun 21, 2018 · Backend Development

Step-by-Step Guide to Building a Spring Boot MyBatis Demo Project

This article provides a detailed tutorial for creating a Spring Boot project with MyBatis, including environment setup, Maven dependencies, configuration files, database creation, MyBatis generator usage, and sample controller, service, and mapper code, enabling pagination with PageHelper and testing via HTTP requests.

Backend DevelopmentCode GenerationJava
0 likes · 14 min read
Step-by-Step Guide to Building a Spring Boot MyBatis Demo Project
Java Backend Technology
Java Backend Technology
Jun 19, 2018 · Cloud Native

Is Spring Cloud the Perfect Fit for Small and Mid‑Size Companies?

This article shares a year‑long experience of adopting Spring Boot and Spring Cloud in a mid‑size Chinese company, explains microservice fundamentals, compares Spring Cloud with Dubbo, and provides practical guidance on service splitting, database handling, and migration strategies for building cloud‑native architectures.

Cloud NativeSpring BootSpring Cloud
0 likes · 21 min read
Is Spring Cloud the Perfect Fit for Small and Mid‑Size Companies?
Java Captain
Java Captain
Jun 18, 2018 · Backend Development

Building a Spring Boot Web Application with MyBatis and Redis Caching

This tutorial demonstrates how to quickly build a modern Java web application using Spring Boot, integrate MyBatis as the ORM, configure Redis as a second‑level cache, and write unit tests with H2, providing step‑by‑step code and configuration details for backend developers.

Backend DevelopmentJavaMyBatis
0 likes · 17 min read
Building a Spring Boot Web Application with MyBatis and Redis Caching
Programmer DD
Programmer DD
Jun 10, 2018 · Information Security

How to Secure API Calls with End-to-End Encryption in Spring Boot and JavaScript

This guide explains practical methods to protect API data, covering HTTPS, request signing, SSL pinning, symmetric and asymmetric encryption, a Spring Boot starter for automatic request/response encryption, and JavaScript/Axios interceptors for client‑side encryption and decryption.

AES encryptionAPI SecurityHTTPS
0 likes · 11 min read
How to Secure API Calls with End-to-End Encryption in Spring Boot and JavaScript
Senior Brother's Insights
Senior Brother's Insights
Jun 8, 2018 · Information Security

Secure API Calls with Spring Boot Starter Encrypt and JavaScript AES

This article explains how to protect data exchanged between front‑end and back‑end services by using HTTPS, request signing, SSL pinning, and a Spring Boot starter that transparently encrypts/decrypts all API traffic with AES, complemented by JavaScript AES utilities and Axios interceptors for front‑end encryption.

AES encryptionAPI SecurityBlockchain
0 likes · 11 min read
Secure API Calls with Spring Boot Starter Encrypt and JavaScript AES
Java Backend Technology
Java Backend Technology
Jun 7, 2018 · Information Security

How to Secure API Calls with End-to-End Encryption Using Spring Boot

This article explains why API security is crucial in front‑end/back‑end separated systems and provides practical measures—including HTTPS, request signing, SSL pinning, and full request/response AES encryption—along with a Spring Boot starter and JavaScript Axios interceptor to protect data in transit.

AESAPI SecurityRSA
0 likes · 8 min read
How to Secure API Calls with End-to-End Encryption Using Spring Boot
Snowball Engineer Team
Snowball Engineer Team
Jun 7, 2018 · Backend Development

Lessons Learned from Upgrading a Legacy Spring Boot Application to 2.0

This article shares the practical experience, new features, component changes, migration steps, and pitfalls encountered while upgrading an old Spring Boot 1.x backend to Spring Boot 2.0, offering guidance for a smoother transition and highlighting post‑upgrade issues such as path matching, HTTP PUT handling, and Swagger compatibility.

BackendJavaSpring Boot
0 likes · 9 min read
Lessons Learned from Upgrading a Legacy Spring Boot Application to 2.0
Java Captain
Java Captain
May 23, 2018 · Backend Development

Introduction to Message Middleware and ActiveMQ: Scenarios, Transmission Modes, and Spring Boot Integration

This article introduces the fundamentals of message middleware, explains its key application scenarios such as asynchronous processing, system decoupling, flow control, and distributed transaction consistency, details the three transmission modes (point‑to‑point, publish/subscribe, request‑reply), and provides a step‑by‑step ActiveMQ quick‑start guide with Spring Boot integration and complete Java code examples.

ActiveMQJMSJava
0 likes · 19 min read
Introduction to Message Middleware and ActiveMQ: Scenarios, Transmission Modes, and Spring Boot Integration
Programmer DD
Programmer DD
May 21, 2018 · Backend Development

From web.xml to Spring Boot: How Java Servlets and Filters Evolved

This article walks through the evolution of Java web development, comparing the classic web.xml configuration with Servlet 3.0 annotations, Spring’s ServletContainerInitializer, and Spring Boot’s embedded‑container registration mechanisms, while exposing the underlying source code and initialization flow.

Embedded TomcatInitializationJava
0 likes · 18 min read
From web.xml to Spring Boot: How Java Servlets and Filters Evolved
Programmer DD
Programmer DD
May 10, 2018 · Databases

How to Scale MySQL with ShardingJdbc: Vertical vs Horizontal Partitioning

This article examines why large‑scale MySQL deployments encounter CPU, I/O and memory bottlenecks, compares vertical and horizontal data‑sharding strategies, evaluates open‑source middleware ShardingJdbc versus MyCat, and provides a detailed Spring Boot integration design with routing rules and practical use‑case examples.

ShardingJDBCSpring BootVertical Partitioning
0 likes · 16 min read
How to Scale MySQL with ShardingJdbc: Vertical vs Horizontal Partitioning
Programmer DD
Programmer DD
May 6, 2018 · Backend Development

Why Spring Boot 2 Picks HikariCP: Speed, Simplicity, and Reliability Explained

This article compiles and translates key information about HikariCP, detailing why Spring Boot 2 adopts it as the default JDBC pool, comparing its performance and stability against BoneCP, C3P0, Tomcat and Druid, and providing practical configuration steps for quick integration.

Backend DevelopmentDatabase Connection PoolHikariCP
0 likes · 13 min read
Why Spring Boot 2 Picks HikariCP: Speed, Simplicity, and Reliability Explained
Java High-Performance Architecture
Java High-Performance Architecture
May 5, 2018 · Backend Development

Why Spring Boot 2.0 Switched to Lettuce: Key Features and Benefits

This article explains why Spring Boot 2.0 replaced the Jedis Redis client with Lettuce, highlighting Lettuce’s netty‑based architecture, thread‑safe shared connections, asynchronous and reactive support, seamless Redis Sentinel and Cluster integration, SSL, streaming API, and provides code examples for both blocking and async usage.

AsynchronousJavaLettuce
0 likes · 4 min read
Why Spring Boot 2.0 Switched to Lettuce: Key Features and Benefits
Java Captain
Java Captain
May 4, 2018 · Backend Development

External Configuration in Spring Boot: Sources, Priorities, and Usage

This article explains how Spring Boot allows external configuration through various sources such as command‑line arguments, JNDI, system properties, environment variables, random values, property files, @PropertySource, and default properties, detailing their priority order and usage examples with code snippets.

Backend DevelopmentExternal ConfigurationJava
0 likes · 10 min read
External Configuration in Spring Boot: Sources, Priorities, and Usage
Java Captain
Java Captain
May 3, 2018 · Backend Development

Getting Started with Spring Boot: Maven Project Setup and a Simple Web Application

This article introduces Spring Boot, explains its key features, walks through creating a Maven project with a complete pom.xml, adds essential dependencies and plugins, shows how to write a basic @RestController application, and demonstrates various ways to run and hot‑reload the service.

Hot DeploymentJavaSpring Boot
0 likes · 14 min read
Getting Started with Spring Boot: Maven Project Setup and a Simple Web Application
Programmer DD
Programmer DD
Apr 9, 2018 · Backend Development

Install and Run Spring Boot CLI with Groovy Scripts in Minutes

This guide walks you through installing Spring Boot CLI on Windows, macOS, or Linux, verifying the installation, and quickly building a simple web application using a Groovy script, complete with command‑line examples and expected output.

BackendCLIGroovy
0 likes · 4 min read
Install and Run Spring Boot CLI with Groovy Scripts in Minutes
Programmer DD
Programmer DD
Apr 1, 2018 · Backend Development

Graceful Shutdown of Spring Boot ThreadPoolTaskScheduler to Prevent Redis Errors

This article explains why asynchronous @Async tasks using a custom ThreadPoolTaskScheduler can fail during application shutdown due to premature Redis connection pool destruction, and provides a step‑by‑step solution using Spring's shutdown configuration to wait for tasks to complete before closing resources.

AsyncGraceful ShutdownSpring Boot
0 likes · 8 min read
Graceful Shutdown of Spring Boot ThreadPoolTaskScheduler to Prevent Redis Errors
Programmer DD
Programmer DD
Mar 20, 2018 · Backend Development

Generate Spring REST Docs API Documentation in Minutes with Gradle or Maven

This step‑by‑step guide shows how to create a simple Spring Boot application, configure Gradle or Maven builds, write MockMvc tests, and use Spring REST Docs to automatically generate up‑to‑date API documentation snippets that can be included in Asciidoctor‑based docs.

API documentationGradleREST Docs
0 likes · 17 min read
Generate Spring REST Docs API Documentation in Minutes with Gradle or Maven
Programmer DD
Programmer DD
Mar 19, 2018 · Backend Development

Simplify MongoDB Connection Settings with spring-boot-starter-mongodb-plus

This guide introduces the spring-boot-starter-mongodb-plus library, shows how to add it to a Spring Boot project, enables easy annotation-based activation, and provides a comprehensive list of configurable MongoDB connection properties with their default values for fine‑tuned backend performance.

BackendConfigurationJava
0 likes · 5 min read
Simplify MongoDB Connection Settings with spring-boot-starter-mongodb-plus
Java Captain
Java Captain
Mar 14, 2018 · Backend Development

Spring Boot Tutorial: Project Creation, Configuration, and Customization

This article provides a step‑by‑step guide to creating a Spring Boot project, explains core features such as embedded servlet containers and starters, demonstrates how to configure the main class, customize banners, manage properties, set up type‑safe beans, logging, and profile‑specific settings, all with runnable code examples.

Backend DevelopmentConfigurationJava
0 likes · 12 min read
Spring Boot Tutorial: Project Creation, Configuration, and Customization
Programmer DD
Programmer DD
Mar 13, 2018 · Backend Development

Why Feign Fails with LocalDate/LocalDateTime and How to Fix It

When a Spring Cloud Feign client sends a request containing Java 8 date/time types like LocalDate, LocalTime, or LocalDateTime, the response may trigger JSON parse errors because Spring MVC serializes them as arrays, but Feign expects a proper object, which can be resolved by adding Jackson's JSR‑310 module and configuring the ObjectMapper.

JSONJacksonJavaTimeModule
0 likes · 6 min read
Why Feign Fails with LocalDate/LocalDateTime and How to Fix It
Programmer DD
Programmer DD
Mar 10, 2018 · Backend Development

How to Migrate Your Application to Spring Boot 2.0: Essential Steps and Tips

This guide walks you through upgrading a Java application to Spring Boot 2.0, covering prerequisites, adding the properties‑migrator module, Maven and Gradle build changes, key configuration updates, actuator and security adjustments, and other important migration details.

ActuatorBackendConfiguration
0 likes · 21 min read
How to Migrate Your Application to Spring Boot 2.0: Essential Steps and Tips
Programmer DD
Programmer DD
Mar 9, 2018 · Backend Development

When Does Spring Boot 2.0’s ApplicationStartedEvent Actually Fire?

This article explains the new ApplicationStartedEvent introduced in Spring Boot 2.0, shows the full event order, demonstrates how to write listeners for ApplicationPreparedEvent, ApplicationStartedEvent and ApplicationReadyEvent, and clarifies the difference between ApplicationStartedEvent and ApplicationReadyEvent using a CommandLineRunner example.

ApplicationStartedEventCommandLineRunnerEventListener
0 likes · 9 min read
When Does Spring Boot 2.0’s ApplicationStartedEvent Actually Fire?
Programmer DD
Programmer DD
Mar 1, 2018 · Backend Development

Why Spring Boot 2.0 Is a Game‑Changer and How to Upgrade Your Java Apps

This article traces Spring’s evolution from its early IOC/AOP roots to the rise of Spring Boot, explains the key features of Spring Boot 2.0, outlines Java version and dependency requirements, and provides practical guidance for migrating existing Spring Boot 1.x projects to 2.0.

Backend DevelopmentJavaSpring Boot
0 likes · 15 min read
Why Spring Boot 2.0 Is a Game‑Changer and How to Upgrade Your Java Apps