Tagged articles

Spring Boot

4160 articles · Page 40 of 42
Java High-Performance Architecture
Java High-Performance Architecture
Feb 10, 2020 · Backend Development

How to Monitor Spring Boot Apps with Prometheus and Grafana: Step‑by‑Step Guide

This tutorial walks through building a Spring Boot application, integrating Micrometer for metric collection, deploying Prometheus and Grafana via Docker, configuring dynamic service discovery, and creating custom request‑count metrics with AOP, providing a complete end‑to‑end monitoring solution.

DockerSpring Bootgrafana
0 likes · 15 min read
How to Monitor Spring Boot Apps with Prometheus and Grafana: Step‑by‑Step Guide
Java Captain
Java Captain
Feb 7, 2020 · Backend Development

Implementing a Two-Level Cache System with Guava and Redis in Java

This article explains how to build a simple two‑level caching solution in Java, covering generic cache interfaces, FIFO/LRU/LFU algorithms, implementing local Guava cache and distributed Redis cache, configuring Spring Boot, handling expiration, and providing a unified cache builder for seamless use.

Backend DevelopmentCachingGuava
0 likes · 35 min read
Implementing a Two-Level Cache System with Guava and Redis in Java
Programmer DD
Programmer DD
Feb 6, 2020 · Backend Development

Master Spring Boot DataSource: Configure HikariCP for Efficient DB Access

This article explains the concept of a DataSource, compares it with core JDBC APIs, and provides a step‑by‑step guide to configuring Spring Boot 2.x’s default HikariCP connection pool, including common properties, their meanings, and links to full example projects.

ConfigurationDataSourceHikariCP
0 likes · 8 min read
Master Spring Boot DataSource: Configure HikariCP for Efficient DB Access
Programmer DD
Programmer DD
Feb 4, 2020 · Backend Development

Master Spring Boot JDBC: Configure, Query, and Test MySQL with JdbcTemplate

This guide walks you through configuring data sources in Spring Boot, adding JDBC dependencies, using embedded databases, connecting to MySQL, defining entities and repositories with JdbcTemplate, and writing comprehensive unit tests to perform CRUD operations, illustrating a complete backend data access workflow.

CRUDJavaJdbcTemplate
0 likes · 9 min read
Master Spring Boot JDBC: Configure, Query, and Test MySQL with JdbcTemplate
Java Backend Technology
Java Backend Technology
Jan 23, 2020 · Backend Development

Master Spring Boot Actuator: Real‑Time Monitoring, Metrics, and Dynamic Log Levels

This tutorial walks you through using Spring Boot Actuator to monitor microservice applications, covering quick setup, essential endpoints such as health, metrics, loggers, and shutdown, customizing health indicators, dynamically changing log levels at runtime, and securing actuator endpoints with Spring Security.

MetricsMicroservicesMonitoring
0 likes · 14 min read
Master Spring Boot Actuator: Real‑Time Monitoring, Metrics, and Dynamic Log Levels
Java Architecture Diary
Java Architecture Diary
Jan 20, 2020 · Backend Development

Why Spring Boot 2.2.3 Breaks pigx-gateway and How to Resolve It

Upgrading to Spring Boot 2.2.3 can cause the pigx-gateway service to fail at startup due to an incompatible reactor‑netty ConnectionProvider method, and the article explains the root cause, investigation steps, and how to fix it by adjusting reactor‑netty versions.

ConnectionProviderDependency ConflictJava
0 likes · 5 min read
Why Spring Boot 2.2.3 Breaks pigx-gateway and How to Resolve It
Programmer DD
Programmer DD
Jan 18, 2020 · Backend Development

Spring Framework 5.1.13 & Spring Boot 2.2.3: New Features and Bug Fixes Explained

The Spring Framework 5.1.13 release introduces header support in ResponseStatusException, deprecates PathResource, enhances ClientCodecConfigurer, optimizes UriUtils, adds wildcard variable resolution, and fixes ContentDisposition parsing, while Spring Boot 2.2.3 upgrades to Framework 5.2.3 with security patches, new error handling, metric improvements, and numerous bug fixes.

Backend DevelopmentJavaSpring Boot
0 likes · 4 min read
Spring Framework 5.1.13 & Spring Boot 2.2.3: New Features and Bug Fixes Explained
Java Captain
Java Captain
Jan 18, 2020 · Backend Development

Graceful Shutdown Techniques for Spring Boot Applications

This article explains why graceful shutdown is important for Spring Boot services and demonstrates five practical methods—including Actuator shutdown, context closing, PID file handling, SpringApplication.exit, and a custom controller—each with complete code examples and usage instructions.

Graceful ShutdownJavaPreDestroy
0 likes · 8 min read
Graceful Shutdown Techniques for Spring Boot Applications
Java Architecture Diary
Java Architecture Diary
Jan 15, 2020 · Backend Development

Mastering @Import in Spring: Dynamic Routes and Custom Bean Registration

This article explains how the @Import annotation in the pig4cloud framework can be used to import components, implement dynamic routing, and register beans via ImportSelector and ImportBeanDefinitionRegistrar, providing concise architecture and easy activation of OAuth resource servers.

Dynamic RouteImportImportBeanDefinitionRegistrar
0 likes · 4 min read
Mastering @Import in Spring: Dynamic Routes and Custom Bean Registration
Senior Brother's Insights
Senior Brother's Insights
Jan 14, 2020 · Backend Development

Quick Start Guide: Using Thymeleaf with Spring Boot

This tutorial walks through the fundamentals of Thymeleaf, its key features, a side‑by‑side comparison with FreeMarker, and provides a complete Spring Boot example—including Maven dependencies, entity and controller code, template markup, and essential configuration settings—to help developers integrate the template engine quickly and correctly.

JavaMVCSpring Boot
0 likes · 8 min read
Quick Start Guide: Using Thymeleaf with Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Jan 13, 2020 · Backend Development

Integrating Activiti Workflow Engine with Spring Boot: Configuration, Code Samples, and Usage

This article explains how to integrate the Activiti BPMN 2.0 workflow engine into a Spring Boot application, covering Maven dependencies, data source and Activiti configuration, Spring MVC setup, Java code for starting, approving, and querying leave requests, as well as a simple AngularJS front‑end for task management.

ActivitiAngularJSSpring Boot
0 likes · 10 min read
Integrating Activiti Workflow Engine with Spring Boot: Configuration, Code Samples, and Usage
Programmer DD
Programmer DD
Jan 7, 2020 · Backend Development

Master Custom Servlet Filters in Spring Boot: Scope, Order, and Registration

Learn how to declare custom Servlet Filters in Spring Boot, control their execution order and URL scope using both manual bean definitions and Spring's FilterRegistrationBean, with complete code examples and best‑practice tips for secure, maintainable backend development.

Backend DevelopmentFilter RegistrationJava
0 likes · 9 min read
Master Custom Servlet Filters in Spring Boot: Scope, Order, and Registration
Java Captain
Java Captain
Jan 6, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains how to achieve interface idempotency in a Spring Boot application by generating a unique token for each request, storing it in Redis, validating the token via a custom annotation and interceptor, and provides complete code examples and testing guidance.

JavaRedisSpring Boot
0 likes · 16 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Programmer DD
Programmer DD
Dec 30, 2019 · Backend Development

Master Spring Boot Profiles: Seamlessly Switch Environments Without Rebuilding

This article explains how Spring Boot's profile mechanism lets developers maintain separate configuration files for development, testing, and production environments, showing both properties and YAML examples, command‑line activation, and a deep dive into the underlying source code that processes these profiles.

@ProfileConfigurationJava
0 likes · 9 min read
Master Spring Boot Profiles: Seamlessly Switch Environments Without Rebuilding
Senior Brother's Insights
Senior Brother's Insights
Dec 30, 2019 · Backend Development

Essential Spring Boot Annotations Every Java Developer Should Know

This article provides a comprehensive overview of the most commonly used Spring Boot annotations—including core, configuration, web, and JPA annotations—explaining their purpose, typical usage, and how they replace traditional XML configuration in modern Java applications.

Backend DevelopmentJavaSpring Boot
0 likes · 9 min read
Essential Spring Boot Annotations Every Java Developer Should Know
Java Captain
Java Captain
Dec 29, 2019 · Backend Development

Comprehensive Overview of the Spring Framework and Its Ecosystem

This article provides a comprehensive introduction to the Spring ecosystem, covering its core concepts such as IoC and AOP, detailing each of the seven framework modules, and explaining related projects like Spring MVC, Spring Security, Spring Data, Spring Boot, and Spring Cloud for modern Java backend development.

AOPBackend DevelopmentDependency Injection
0 likes · 18 min read
Comprehensive Overview of the Spring Framework and Its Ecosystem
Architecture Digest
Architecture Digest
Dec 29, 2019 · Information Security

Spring Security Guide: Authentication, Authorization, and Customizing Filter Chains

This guide introduces Spring Security fundamentals, explaining authentication and authorization concepts, the core interfaces such as AuthenticationManager and AccessDecisionManager, how to configure them with Spring Boot, customize filter chains, apply method‑level security, and handle thread‑bound security contexts for asynchronous processing.

AuthorizationJavaSpring Boot
0 likes · 18 min read
Spring Security Guide: Authentication, Authorization, and Customizing Filter Chains
Java Captain
Java Captain
Dec 23, 2019 · Backend Development

Using Asynchronous Requests and Calls in Spring Boot

This article explains how to implement asynchronous requests and asynchronous method calls in Spring Boot, covering servlet‑based async, Callable, WebAsyncTask, DeferredResult, @Async annotation, thread‑pool configuration, common pitfalls, and the differences between async request and async call.

AsynchronousBackend DevelopmentCallable
0 likes · 11 min read
Using Asynchronous Requests and Calls in Spring Boot
Senior Brother's Insights
Senior Brother's Insights
Dec 22, 2019 · Backend Development

Master Spring Boot Command-Line Arguments: Usage, Retrieval, and Source Code

Spring Boot lets you pass configuration via command-line arguments when launching a JAR, supporting option, non‑option, and system parameters; this guide explains how to use each form, retrieve values through ApplicationArguments or @Value, and walks through the underlying source code that parses and injects these arguments.

ApplicationArgumentsBackend DevelopmentCommand Line Arguments
0 likes · 9 min read
Master Spring Boot Command-Line Arguments: Usage, Retrieval, and Source Code
Programmer DD
Programmer DD
Dec 20, 2019 · Backend Development

Mastering Java Annotations: From Basics to Custom AOP Integration

This article explains Java annotation fundamentals, explores built‑in meta‑annotations, demonstrates how to create compile‑time and runtime custom annotations, and shows how to integrate them with Spring Boot AOP for automatic logging and request handling.

AOPJavaSpring Boot
0 likes · 8 min read
Mastering Java Annotations: From Basics to Custom AOP Integration
360 Tech Engineering
360 Tech Engineering
Dec 17, 2019 · Backend Development

Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring, and Code Fixes

This article explains how Java memory leaks can occur despite automatic garbage collection, describes JVM GC‑Root analysis, outlines practical monitoring with Spring Boot Actuator, Prometheus, and Grafana, and provides step‑by‑step debugging commands and code adjustments to locate and fix the leak.

Garbage CollectionJVMJava
0 likes · 10 min read
Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring, and Code Fixes
Huajiao Technology
Huajiao Technology
Dec 17, 2019 · Backend Development

Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring with Spring Boot Actuator, Prometheus, Grafana, and MAT

This article explains how Java memory leaks can occur despite automatic garbage collection, describes JVM reachability analysis, shows how to monitor and detect leaks using Spring Boot Actuator, Prometheus, and Grafana, and provides step‑by‑step instructions for heap dump analysis and code fixes.

Garbage CollectionJVMJava
0 likes · 11 min read
Diagnosing Java Memory Leaks: JVM GC Roots, Monitoring with Spring Boot Actuator, Prometheus, Grafana, and MAT
Programmer DD
Programmer DD
Dec 16, 2019 · Backend Development

Build a Multi‑Tenant SaaS with Spring Boot: Dynamic DataSource & Schema Switching

This tutorial walks through creating a SaaS application with Spring Boot that supports multiple tenants by using independent or shared databases with separate schemas, covering tenant identification, dynamic DataSource routing, Hibernate multi‑tenancy configuration, and a complete code example including Maven setup, entity definitions, interceptors, and a login test.

HibernateJavaMulti‑tenant
0 likes · 26 min read
Build a Multi‑Tenant SaaS with Spring Boot: Dynamic DataSource & Schema Switching
Architect's Tech Stack
Architect's Tech Stack
Dec 15, 2019 · Backend Development

Understanding Spring Boot, Spring MVC, and Spring: Differences and Auto‑Configuration Mechanism

This article explains the distinctions between Spring, Spring MVC, and Spring Boot, illustrates how Spring Boot achieves automatic configuration through annotations like @SpringBootApplication, @EnableAutoConfiguration, and @ComponentScan, and provides detailed code examples of the underlying mechanisms and related configuration classes.

Auto-ConfigurationBackend DevelopmentJava Annotations
0 likes · 11 min read
Understanding Spring Boot, Spring MVC, and Spring: Differences and Auto‑Configuration Mechanism
Programmer DD
Programmer DD
Dec 12, 2019 · Backend Development

Mastering Spring Boot Validation: Annotations, Custom Rules, and Global Error Handling

This article explains how to use Bean Validation in Spring Boot to replace repetitive IF‑ELSE checks with annotation‑driven parameter checks, covers built‑in and Hibernate‑specific constraints, demonstrates custom validators, group validation, and shows how to centralize error responses with a global exception handler.

AnnotationBean ValidationJava
0 likes · 11 min read
Mastering Spring Boot Validation: Annotations, Custom Rules, and Global Error Handling
Programmer DD
Programmer DD
Dec 11, 2019 · Information Security

Renew Expired GPG Keys for Maven Deployments with Spring Boot

This guide walks through diagnosing GPG signing failures caused by expired keys during a swagger‑spring‑boot‑starter release, shows how to inspect the current keyring, edit the key, extend its validity, and finally re‑run Maven deploy to publish artifacts.

GPGKey ExpirationSpring Boot
0 likes · 5 min read
Renew Expired GPG Keys for Maven Deployments with Spring Boot
Programmer DD
Programmer DD
Dec 4, 2019 · Backend Development

Why Does My Spring Boot 1.5.7 App Hang? Fixing NoSuchMethodError Caused by Jar Conflicts

A Spring Boot 1.5.7 application suddenly stops starting because the main thread is blocked, the stack trace shows a NoSuchMethodError for ObjectUtils.unwrapOptional, which is traced back to a mismatched spring‑context 5.x jar overriding the original 4.x version, and the article explains how to identify and resolve the dependency conflict.

Maven DependencyNoSuchMethodErrorSpring Boot
0 likes · 8 min read
Why Does My Spring Boot 1.5.7 App Hang? Fixing NoSuchMethodError Caused by Jar Conflicts
Java Captain
Java Captain
Dec 2, 2019 · Backend Development

Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis

This article demonstrates how to create a custom @AccessLimit annotation, implement a Spring MVC interceptor that uses Redis to count requests, register the interceptor in a Spring Boot application, and apply the annotation to controller methods to achieve rate‑limiting functionality.

JavaRedisSpring Boot
0 likes · 6 min read
Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis
Programmer DD
Programmer DD
Nov 29, 2019 · Databases

How to Resolve Flyway Permission Errors in Spring Boot Deployments

This article explains a Flyway permission error that occurs when deploying a Spring Boot application, analyzes its cause, and provides two practical solutions: granting the necessary MySQL privileges or downgrading to a compatible Flyway version.

Permission ErrorSpring BootVersion Compatibility
0 likes · 5 min read
How to Resolve Flyway Permission Errors in Spring Boot Deployments
Mafengwo Technology
Mafengwo Technology
Nov 28, 2019 · Backend Development

From PHP to Java: My Journey Refactoring E‑Commerce with Spring Boot

The author, a former PHP engineer at Mafengwo, chronicles a two‑day crash‑course in Java and Spring Boot, detailing the adoption of Lombok, Druid, Maven, and various annotations while navigating pitfalls such as bean scopes, database connections, and data format mismatches before successfully launching the new service.

Backend DevelopmentDatabase ConnectionLombok
0 likes · 13 min read
From PHP to Java: My Journey Refactoring E‑Commerce with Spring Boot
Programmer DD
Programmer DD
Nov 26, 2019 · Backend Development

Master Springdoc-OpenAPI: Generate OpenAPI 3 Docs & Swagger UI for Spring Boot

This guide explains how to integrate springdoc-openapi with Spring Boot to automatically generate OpenAPI 3 documentation, customize paths, combine with Swagger UI, use Maven plugins, support WebFlux, apply JSR‑303 bean validation, and document error responses via @ControllerAdvice, providing complete code snippets and configuration examples.

JavaOpenAPISpring Boot
0 likes · 9 min read
Master Springdoc-OpenAPI: Generate OpenAPI 3 Docs & Swagger UI for Spring Boot
Programmer DD
Programmer DD
Nov 24, 2019 · Backend Development

Master Custom Spring Security Configuration in Spring Boot

This article walks through customizing Spring Security in a Spring Boot application by creating a custom security configuration class, overriding authentication manager, web security, and HttpSecurity methods, and explains the default and common HttpSecurity settings with code examples.

Backend DevelopmentJavaSpring Boot
0 likes · 6 min read
Master Custom Spring Security Configuration in Spring Boot
Programmer DD
Programmer DD
Nov 19, 2019 · Backend Development

Unlocking Spring Security Auto‑Configuration in Spring Boot: A Deep Dive

This article explores how Spring Security is automatically configured in Spring Boot, detailing key auto‑configuration classes such as SecurityAutoConfiguration, SpringBootWebSecurityConfiguration, WebSecurityEnablerConfiguration, and the @EnableWebSecurity annotation, while providing code snippets and explanations of their roles in the security filter chain.

Auto-ConfigurationBackend DevelopmentJava
0 likes · 15 min read
Unlocking Spring Security Auto‑Configuration in Spring Boot: A Deep Dive
Programmer DD
Programmer DD
Nov 17, 2019 · Backend Development

Build Your Own Spring Boot Starter: A Step‑by‑Step Guide

This tutorial walks you through creating a custom Spring Boot starter, covering project structure, naming conventions, auto‑configuration module, property management, Maven setup, sample usage, and best practices, enabling you to package reusable cross‑cutting functionality for any Spring application.

Auto-ConfigurationBackend DevelopmentJava
0 likes · 14 min read
Build Your Own Spring Boot Starter: A Step‑by‑Step Guide
Java Captain
Java Captain
Nov 17, 2019 · Backend Development

Spring Boot Integration Guide: MyBatis, Swagger2, Multi‑Environment Configuration and Advanced Logging

This article explains why to use Spring Boot, how to set up the development environment, and provides step‑by‑step instructions for integrating MyBatis, Swagger2, multi‑environment profiles, and advanced Logback logging, including configuration files, Maven dependencies, code snippets, and testing procedures.

LoggingMulti-EnvironmentMyBatis
0 likes · 22 min read
Spring Boot Integration Guide: MyBatis, Swagger2, Multi‑Environment Configuration and Advanced Logging
Youzan Coder
Youzan Coder
Nov 13, 2019 · Mobile Development

Why Mobile Developers Need to Understand Backend Development and How to Get Started

Mobile developers should learn backend development to improve communication, resolve API inconsistencies, build data aggregation layers, and create their own infrastructure, and can start by mastering Spring Boot, SSM architecture, Dubbo, MySQL/MyBatis, and optional tools like Redis and security frameworks.

API designMobile DevelopmentSSM framework
0 likes · 12 min read
Why Mobile Developers Need to Understand Backend Development and How to Get Started
Java Captain
Java Captain
Nov 9, 2019 · Backend Development

Comprehensive Guide to Sending Emails with Spring Boot JavaMailSender (SMTP, IMAP, POP3)

This tutorial explains the fundamentals of SMTP, IMAP, and POP3 protocols, demonstrates how to use Spring's JavaMailSender and JavaMailSenderImpl for simple and complex email sending, provides step‑by‑step project setup, configuration, code examples, a Thymeleaf UI, testing instructions, and a detailed list of common mail server error codes.

EmailIMAPJavaMailSender
0 likes · 21 min read
Comprehensive Guide to Sending Emails with Spring Boot JavaMailSender (SMTP, IMAP, POP3)
Programmer DD
Programmer DD
Nov 9, 2019 · Information Security

Master Spring Security: Custom UserDetailsService and In‑Memory User Management

This guide walks through integrating Spring Security with Spring Boot, explains the UserDetailsServiceAutoConfiguration, demonstrates how to customize UserDetailsManager using in‑memory storage, and shows how to extend it for database‑backed user management, providing complete code examples and practical insights.

Custom UserDetailsManagerInMemoryUserDetailsManagerJava
0 likes · 13 min read
Master Spring Security: Custom UserDetailsService and In‑Memory User Management
Java Captain
Java Captain
Nov 8, 2019 · Backend Development

Full‑Stack Development with Vue.js Frontend and Spring Boot/Dubbo Backend

This article provides a comprehensive tutorial on building a full‑stack application by setting up front‑end tools like Node.js and Vue.js, creating Vue projects with CLI, using Vue directives, routing and Axios for API calls, and integrating a Spring Boot backend with RESTful services, Dubbo RPC, and Spring Cloud components for microservice architecture.

MicroservicesRESTfulSpring Boot
0 likes · 16 min read
Full‑Stack Development with Vue.js Frontend and Spring Boot/Dubbo Backend
Senior Brother's Insights
Senior Brother's Insights
Nov 7, 2019 · Backend Development

How to Build a Custom Spring Boot Starter for SMS Services

This guide walks through creating a Spring Boot starter from scratch, covering Maven project setup, defining service and utility classes, configuring properties, implementing auto‑configuration with conditional annotations, registering the starter via spring.factories, and consuming it in another Spring Boot application.

JavaSpring BootStarter
0 likes · 9 min read
How to Build a Custom Spring Boot Starter for SMS Services
Programmer DD
Programmer DD
Nov 7, 2019 · Backend Development

Master Spring Boot Configuration Processor to Generate Accurate Metadata

This tutorial explains how to use Spring Boot's Configuration Processor to generate JSON metadata for configuration properties, covering dependency setup, Java bean definitions, property files, tests, and how the resulting metadata improves IDE auto‑completion and documentation.

Configuration ProcessorJavaMetadata
0 likes · 10 min read
Master Spring Boot Configuration Processor to Generate Accurate Metadata
Programmer DD
Programmer DD
Nov 4, 2019 · Backend Development

Master Efficient Excel Imports in Java with EasyExcel and Spring Boot

This article explains how Java backend developers can replace memory‑heavy Apache POI with EasyExcel for fast, low‑memory Excel imports, covering basic reading, custom converters for gender and dates, and multiple Spring Boot integration patterns including controllers, listeners, constructor injection and lambda‑based approaches.

Batch ProcessingEasyExcelExcel
0 likes · 12 min read
Master Efficient Excel Imports in Java with EasyExcel and Spring Boot
macrozheng
macrozheng
Nov 4, 2019 · Information Security

Master OAuth2 with Spring Cloud Security: Step‑by‑Step Guide

This article introduces Spring Cloud Security and demonstrates how to integrate OAuth2 for single sign‑on, token relay, and token exchange in a Spring Boot application, covering OAuth2 concepts, authorization flows, module setup, configuration, and practical usage of authorization‑code and password grant types with code examples.

JavaSpring Bootbackend
0 likes · 11 min read
Master OAuth2 with Spring Cloud Security: Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Nov 3, 2019 · Backend Development

Analyzing Spring Boot 2.2.0.RELEASE Configuration Loading Mechanism

This article examines how Spring Boot 2.2.0.RELEASE loads configuration files, where it searches for them, how it supports YAML and properties formats, how to add JSON support, the precedence of property sources, and the placeholder resolution process by tracing the relevant source code.

PropertySourceSpring BootYAML
0 likes · 10 min read
Analyzing Spring Boot 2.2.0.RELEASE Configuration Loading Mechanism
macrozheng
macrozheng
Oct 28, 2019 · Cloud Native

Master Spring Cloud Gateway: From Setup to Advanced Routing & Filters

Spring Cloud Gateway provides a powerful, reactive API gateway for Spring Boot applications, offering dynamic routing, predicates, and a variety of filters such as rate limiting, retries, and circuit breaking, with detailed examples of configuration via YAML and Java beans, integration with Eureka, and practical code snippets.

FiltersRoutingSpring Boot
0 likes · 18 min read
Master Spring Cloud Gateway: From Setup to Advanced Routing & Filters
Programmer DD
Programmer DD
Oct 23, 2019 · Backend Development

Master Spring Boot Testing: Unit and Integration Tests with JUnit, Hamcrest, and MockMvc

This tutorial walks through writing and running unit and integration tests for a Spring Boot application, covering JUnit and Hamcrest assertions, Maven setup, model definitions, service and controller implementations, MockMvc usage, and both mocked and real‑world test scenarios, complete with sample code and output.

HamcrestIntegration TestJUnit
0 likes · 25 min read
Master Spring Boot Testing: Unit and Integration Tests with JUnit, Hamcrest, and MockMvc
Programmer DD
Programmer DD
Oct 22, 2019 · Cloud Native

How Spring Cloud Alibaba Revolutionized Microservices in China

This article chronicles the evolution of Spring Cloud Alibaba from its Spring Boot roots, detailing its incubation, major releases, core features, community adoption, and its role in advancing cloud‑native microservice architectures in the Chinese tech ecosystem.

Cloud NativeJavaSpring Boot
0 likes · 10 min read
How Spring Cloud Alibaba Revolutionized Microservices in China
Programmer DD
Programmer DD
Oct 19, 2019 · Backend Development

What’s New in Spring Boot 2.2? Key Features and Improvements Explained

Spring Boot 2.2 follows the release of Spring Framework 5.2, bringing updated component versions, major performance gains, Java 13 support, immutable configuration properties, RSocket starter, health‑check grouping, and numerous other enhancements for Java backend developers.

JavaSpring Bootconfigurationproperties
0 likes · 6 min read
What’s New in Spring Boot 2.2? Key Features and Improvements Explained
Java Captain
Java Captain
Oct 17, 2019 · Backend Development

Implementing Shared Session in Spring Boot with Shiro and Redis Using CrazyCake Plugin

This tutorial demonstrates how to enable shared HTTP sessions across multiple Spring Boot instances by integrating Apache Shiro with Redis via the CrazyCake plugin, configuring Maven dependencies, Redis and Shiro settings, building service and controller layers, and deploying the applications behind an Nginx load balancer for seamless session persistence.

JavaNGINXRedis
0 likes · 12 min read
Implementing Shared Session in Spring Boot with Shiro and Redis Using CrazyCake Plugin
Programmer DD
Programmer DD
Oct 17, 2019 · Backend Development

How to Generate Static API Docs with Swagger2Markup for Spring Boot

This guide explains how to use Swagger2Markup to convert Swagger-generated API specifications into static documentation formats such as AsciiDoc, Markdown, Confluence markup, and HTML, covering both Java code and Maven plugin approaches, deployment options, and example configurations for Spring Boot projects.

API documentationAsciiDocConfluence
0 likes · 12 min read
How to Generate Static API Docs with Swagger2Markup for Spring Boot
Architects Research Society
Architects Research Society
Oct 16, 2019 · Backend Development

Deep Dive into Using Apache Kafka with Spring Boot: Error Handling, Message Conversion, and Transaction Support

This article explains how to integrate Apache Kafka with Spring Boot, covering error handling with SeekToCurrentErrorHandler, deserialization error handling, type‑inferred message conversion, multi‑listener routing, and transactional message processing, providing code examples and configuration details for each feature.

Apache KafkaError handlingJava
0 likes · 10 min read
Deep Dive into Using Apache Kafka with Spring Boot: Error Handling, Message Conversion, and Transaction Support
Programmer DD
Programmer DD
Oct 14, 2019 · Backend Development

Master Spring Boot: Key Differences, Starters, and Advanced Configurations

This article compiles essential Spring Boot interview questions covering its distinction from Spring, Maven setup, starter modules, disabling and registering auto‑configurations, conditional beans, packaging as JAR/WAR, startup logic, external configuration sources, testing nuances, and the powerful Actuator monitoring features.

Auto-ConfigurationBackend DevelopmentSpring Boot
0 likes · 13 min read
Master Spring Boot: Key Differences, Starters, and Advanced Configurations
Programmer DD
Programmer DD
Oct 5, 2019 · Backend Development

Master Elegant Request Parameter Validation in Spring Boot with JSR‑303

This tutorial explains why server‑side request parameter validation is essential, introduces the JSR‑303 Bean Validation standard and its Hibernate Validator implementation, and provides step‑by‑step code examples, Swagger integration tips, and dependency guidance for building robust Spring Boot REST APIs.

Bean ValidationHibernate ValidatorJSR-303
0 likes · 11 min read
Master Elegant Request Parameter Validation in Spring Boot with JSR‑303
Programmer DD
Programmer DD
Oct 4, 2019 · Backend Development

Boost Spring Boot REST APIs with Swagger2: A Step-by-Step Guide

This tutorial explains how to integrate Swagger2 into a Spring Boot RESTful API project, covering dependency setup, configuration, annotation usage, and UI testing, enabling automatic, maintainable API documentation for multiple client platforms.

Backend DevelopmentJavaREST API
0 likes · 10 min read
Boost Spring Boot REST APIs with Swagger2: A Step-by-Step Guide
Java Backend Technology
Java Backend Technology
Oct 2, 2019 · Backend Development

How to Speed Up Spring Boot Startup: 15 Optimizations Tested

The article documents a series of Spring Boot 2.1 startup benchmarks on OpenJDK 11, exploring fifteen different tweaks—from using WebFlux instead of WebMVC to enabling AppCDS and disabling unnecessary libraries—showing how each change impacts launch time and culminating in a sub‑second startup.

JavaSpring Bootbenchmark
0 likes · 11 min read
How to Speed Up Spring Boot Startup: 15 Optimizations Tested
Selected Java Interview Questions
Selected Java Interview Questions
Sep 29, 2019 · Backend Development

Overview of Spring, Spring MVC, Spring Boot, and Spring Cloud

Spring, Spring MVC, Spring Boot, and Spring Cloud are Java frameworks that respectively provide core IoC/AOP functionality, web MVC capabilities, convention‑over‑configuration rapid development, and comprehensive microservice governance, together forming a layered ecosystem for building clean, manageable, and scalable backend applications.

JavaSpringSpring Boot
0 likes · 4 min read
Overview of Spring, Spring MVC, Spring Boot, and Spring Cloud
macrozheng
macrozheng
Sep 27, 2019 · Backend Development

How Spring Boot Boots Tomcat: Deep Dive into the Startup Process

This article explains how Spring Boot launches an embedded Tomcat server by tracing the main method, creating and refreshing the application context, and initializing Tomcat's core components such as connectors and containers, while detailing the hierarchy of Engine, Host, Context, and Wrapper.

Embedded ServerJavaSpring Boot
0 likes · 14 min read
How Spring Boot Boots Tomcat: Deep Dive into the Startup Process
Programmer DD
Programmer DD
Sep 25, 2019 · Backend Development

Boost Spring Boot Performance: Master Logback Async Logging & File Separation

This article explains how to configure Logback in a Spring Boot application to separate logs by level into different files, implement asynchronous logging to reduce disk I/O, and demonstrates a performance test showing a ten‑fold throughput increase, while also detailing the underlying async mechanism.

Asynchronous LoggingBackend DevelopmentJava
0 likes · 10 min read
Boost Spring Boot Performance: Master Logback Async Logging & File Separation
High Availability Architecture
High Availability Architecture
Sep 23, 2019 · Backend Development

Building a Spring Boot Application with GraphQL

This tutorial demonstrates how to create a Spring Boot project, define a GraphQL schema, implement data fetchers, expose REST endpoints, and query book data using GraphQL, highlighting the advantages of GraphQL over traditional REST APIs.

APIGraphQLJava
0 likes · 17 min read
Building a Spring Boot Application with GraphQL
Java Captain
Java Captain
Sep 12, 2019 · Backend Development

Curated List of Popular Open-Source Java Backend Projects and Demos

This article presents a curated collection of notable open‑source Java backend projects—including Spring Boot demos, third‑party login libraries, microservice frameworks, rapid development kits, and e‑commerce tutorials—each with brief descriptions and GitHub links for developers to explore and learn from.

Backend DevelopmentGitHubJava
0 likes · 5 min read
Curated List of Popular Open-Source Java Backend Projects and Demos
Programmer DD
Programmer DD
Sep 12, 2019 · Backend Development

Build a Reactive Spring Boot REST API with RxJava: Step‑by‑Step Guide

Learn how to create a reactive REST API using Spring Boot and RxJava, covering prerequisite knowledge, required dependencies, CRUD endpoint definitions, service layer implementation with RxJava Single, and web controller integration, plus essential Maven setup and tips to avoid common HttpMediaNotAcceptableException errors.

JavaREST APIReactive Programming
0 likes · 7 min read
Build a Reactive Spring Boot REST API with RxJava: Step‑by‑Step Guide
macrozheng
macrozheng
Aug 30, 2019 · Backend Development

How to Build and Secure a Spring Boot Admin Dashboard with Eureka Integration

This tutorial walks through setting up Spring Boot Admin as a monitoring server and client, integrating it with Eureka for service discovery, adding Spring Security for authentication, and configuring email and custom notifications, complete with Maven and YAML configurations and Java code examples.

JavaMonitoringSpring Boot
0 likes · 23 min read
How to Build and Secure a Spring Boot Admin Dashboard with Eureka Integration
Ziru Technology
Ziru Technology
Aug 29, 2019 · Backend Development

Why Spring Boot Devtools Triggers ClassCastException and How to Fix It

This article explains why adding spring-boot-devtools can trigger a ClassCastException due to its dual classloader mechanism, demonstrates how to reproduce the issue in a Maven multi‑module project, and provides two practical solutions: customizing the RestartClassLoader or removing the devtools dependency.

ClassCastExceptionDevToolsDubbo
0 likes · 13 min read
Why Spring Boot Devtools Triggers ClassCastException and How to Fix It
Java Captain
Java Captain
Aug 24, 2019 · Backend Development

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

This article provides a detailed overview of the most commonly used Spring MVC request‑mapping annotations, Spring Bean stereotypes, dependency‑injection and scope annotations, container configuration annotations such as @Autowired and @Primary, and essential Spring Boot annotations, illustrating each with clear code examples and diagrams.

JavaSpringSpring Boot
0 likes · 18 min read
Comprehensive Guide to Spring MVC, Spring Bean, and Spring Boot Annotations
Programmer DD
Programmer DD
Aug 19, 2019 · Backend Development

Master Dubbo with Spring Cloud Alibaba: A Step‑by‑Step Guide

This tutorial walks through integrating Dubbo into a Spring Cloud Alibaba project using Nacos as the service registry, covering interface definition, provider and consumer setup, Maven dependencies, configuration details, testing, and the benefits of combining Dubbo's RPC performance with Spring Cloud's ecosystem.

DubboJavaMicroservices
0 likes · 11 min read
Master Dubbo with Spring Cloud Alibaba: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Aug 19, 2019 · Backend Development

How Spring Boot Profiles Work Under the Hood: A Deep Dive

This article explores the inner workings of Spring Boot Profiles by tracing source code, examining how configuration files are loaded, how the environment and active profiles are created, and how profile-specific properties are applied during application startup.

JavaProfilesSpring Boot
0 likes · 10 min read
How Spring Boot Profiles Work Under the Hood: A Deep Dive
Programmer DD
Programmer DD
Aug 17, 2019 · Backend Development

How to Expose and Customize Spring Boot Metrics with Micrometer

This guide explains how to enable Spring Boot's default metrics via Actuator, view them through the /actuator/metrics endpoint, and enrich them with Micrometer MeterBinders for JVM, cache, Hibernate, and Tomcat, including code samples and logging output.

MetricsSpring Bootactuator
0 likes · 13 min read
How to Expose and Customize Spring Boot Metrics with Micrometer