Tagged articles
3833 articles
Page 37 of 39
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.

Compile-timeJavaRuntime
0 likes · 8 min read
Mastering Java Annotations: From Basics to Custom AOP Integration
Liulishuo Tech Team
Liulishuo Tech Team
Dec 19, 2019 · Backend Development

Tangram: A Self‑Developed Configuration Center Based on etcd for Microservice Configuration Management

Tangram is a home‑grown configuration center that replaces Spring Config Server by leveraging etcd’s high‑availability KV store, watch‑based dynamic updates, and multi‑language support to provide reliable, secure, and real‑time configuration management for microservice architectures.

Configuration ManagementJavaMicroservices
0 likes · 21 min read
Tangram: A Self‑Developed Configuration Center Based on etcd for Microservice Configuration Management
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 CollectionGrafanaJVM
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.

HibernateJavaSaaS
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.

Backend DevelopmentJava AnnotationsMyBatis
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.

Bean ValidationException HandlingJava
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 ExpirationSecurity
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.

DebuggingMaven DependencyNoSuchMethodError
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.

InterceptorJavaSpring 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.

FlywayPermission ErrorSpring Boot
0 likes · 5 min read
How to Resolve Flyway Permission Errors in Spring Boot Deployments
Java Architecture Diary
Java Architecture Diary
Nov 28, 2019 · Backend Development

What’s New in Spring Cloud Hoxton RELEASE? Key Features and Migration Guide

Spring Cloud Hoxton RELEASE, built on Spring Boot 2.2.1, introduces major reactive enhancements, a new load‑balancer implementation, updated documentation with PDF support, and numerous changes across Gateway, Netflix, Config, Sleuth, and Discovery clients, providing a comprehensive upgrade path for developers.

HoxtonLoad BalancerSpring Boot
0 likes · 4 min read
What’s New in Spring Cloud Hoxton RELEASE? Key Features and Migration Guide
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.

Backend DevelopmentJavaSpring Boot
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.

Multi-EnvironmentMyBatisSpring Boot
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.

Mobile DevelopmentSSM frameworkSpring Boot
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 ProcessorConfigurationPropertiesJava
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 ProcessingExcelJava
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.

BackendJavaOAuth2
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.

JSONPropertySourceSpring Boot
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.

FiltersSpring BootSpring Cloud Gateway
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.

ConfigurationPropertiesJavaSpring Boot
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.

JavaNginxShiro
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.

ActuatorAuto-ConfigurationBackend Development
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.

BenchmarkJavaSpring Boot
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.

BackendFrameworkJava
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.

JavaSpring BootTomcat
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.

Backend DevelopmentJavaPerformance Testing
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 APIRxJava
0 likes · 7 min read
Build a Reactive Spring Boot REST API with RxJava: Step‑by‑Step Guide
Java Captain
Java Captain
Sep 1, 2019 · Information Security

Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control

This tutorial demonstrates how to integrate the lightweight Apache Shiro security framework into a Spring Boot 2.1.5 project, covering environment setup, Maven dependencies, Redis session storage, custom utilities, Shiro configuration, permission annotations, test controllers, and Postman verification.

AuthenticationAuthorizationJava
0 likes · 27 min read
Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control
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.

JavaSpring Booteureka
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.

JavaSpring BootSpring MVC
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.

EnvironmentJavaProfiles
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.

ActuatorMetricsMicrometer
0 likes · 13 min read
How to Expose and Customize Spring Boot Metrics with Micrometer
Programmer DD
Programmer DD
Aug 10, 2019 · Information Security

Secure Your Spring Boot App with Apache Shiro: Auth, Authz, and Redis

This article walks through integrating Apache Shiro into a Spring Boot project to handle authentication, authorization, session management, and caching, including custom realms, Redis-backed sessions, and cache managers, while providing detailed code examples and configuration guidance.

Apache ShiroAuthenticationAuthorization
0 likes · 20 min read
Secure Your Spring Boot App with Apache Shiro: Auth, Authz, and Redis
Programmer DD
Programmer DD
Aug 6, 2019 · Backend Development

Mastering Spring @Conditional: 13 Conditional Annotations Explained

This article explains how Spring's @Conditional annotation and its 13 specialized @ConditionalOnXxx variants let you load beans only when specific runtime conditions are met, covering usage on classes and methods, combination logic, and how to create custom conditional annotations.

Backend DevelopmentConditional AnnotationsJava
0 likes · 9 min read
Mastering Spring @Conditional: 13 Conditional Annotations Explained
FunTester
FunTester
Aug 6, 2019 · Databases

How to Build a Reusable MongoDB Utility Class in Java

This article presents a Java MongoDB utility comprising a static helper class and a MongoObject wrapper, explains methods for server and credential handling, client creation, collection access, and demonstrates usage with a sample main program and its output.

Code ExampleDatabase UtilityJava
0 likes · 7 min read
How to Build a Reusable MongoDB Utility Class in Java
Programmer DD
Programmer DD
Aug 2, 2019 · Backend Development

Top 10 Spring Boot Interview Questions Every Backend Developer Must Know

This article presents the ten most frequently asked Spring Boot interview questions, covering annotations, package exclusion, auto‑configuration control, Actuator features, initializer usage, embedded Tomcat customization, and how to disable the default web server, providing concise answers and code examples for each.

ActuatorEmbedded TomcatJava
0 likes · 8 min read
Top 10 Spring Boot Interview Questions Every Backend Developer Must Know
Java Captain
Java Captain
Aug 1, 2019 · Backend Development

Deploying a Spring Boot Application to Docker Using IDEA and Maven

This tutorial walks through preparing the environment, configuring Docker remote access, creating a Spring Boot project with Maven, writing Dockerfile and related configuration files, building the image, and running the container, demonstrating how to deploy a Java web application to Docker using IntelliJ IDEA.

IDEAJavaSpring Boot
0 likes · 8 min read
Deploying a Spring Boot Application to Docker Using IDEA and Maven
Architect's Tech Stack
Architect's Tech Stack
Jul 30, 2019 · Backend Development

Spring Boot Best Practices for Building Microservices

This article presents a comprehensive collection of Spring Boot best practices—ranging from custom BOM management, automatic configuration, project initialization with Spring Initializr, clean controller and service design, externalized configuration, logging, testing strategies, and more—to help developers build robust, maintainable Java microservices efficiently.

Backend DevelopmentMicroservicesSpring Boot
0 likes · 13 min read
Spring Boot Best Practices for Building Microservices
Programmer DD
Programmer DD
Jul 28, 2019 · Backend Development

How to Gracefully Shut Down a Spring Boot Application with Embedded Tomcat

Learn how to implement a smooth, graceful shutdown for Spring Boot applications that use an embedded Tomcat server by customizing the Tomcat connector, enabling the Actuator shutdown endpoint, and automating the process with scripts, ensuring in‑flight requests complete before the service stops.

ActuatorGraceful ShutdownSpring Boot
0 likes · 10 min read
How to Gracefully Shut Down a Spring Boot Application with Embedded Tomcat
FunTester
FunTester
Jul 27, 2019 · Backend Development

How to Build an Asynchronous MySQL Storage Service with Spring Boot & MyBatis

This article walks through rebuilding an asynchronous MySQL logging service using Spring Boot and MyBatis, providing full source code for the application entry point, DAO, service, controller, MyBatis mapper, and configuration, and shows the resulting database entries.

Async StorageBackend DevelopmentJava
0 likes · 5 min read
How to Build an Asynchronous MySQL Storage Service with Spring Boot & MyBatis
360 Tech Engineering
360 Tech Engineering
Jul 24, 2019 · Backend Development

Exploring Java Microservices: Current Situation, Choices, and Future Directions with Service Mesh

This article examines the evolution of Java microservices at Huajiao, compares existing PHP and Java solutions, justifies the adoption of Spring Boot 2 with MyBatis and Undertow, outlines incremental improvements such as CI/CD migration and service mesh adoption, and presents a roadmap for future microservice components.

BackendJavaMicroservices
0 likes · 10 min read
Exploring Java Microservices: Current Situation, Choices, and Future Directions with Service Mesh
Huajiao Technology
Huajiao Technology
Jul 23, 2019 · Backend Development

Why Switch to Java Spring Boot for Microservices? A Practical Exploration

This article examines the challenges of a PHP‑based microservice stack, compares open‑source Java solutions, explains the rationale for adopting Spring Boot 2 with MyBatis and Undertow, and outlines a roadmap toward CI/CD automation, service discovery, and Service Mesh adoption.

Backend DevelopmentCloud NativeJava
0 likes · 11 min read
Why Switch to Java Spring Boot for Microservices? A Practical Exploration
Programmer DD
Programmer DD
Jul 21, 2019 · Backend Development

Understanding Spring, Spring MVC, and Spring Boot: Core Problems Solved and Best Use Cases

This article provides a comprehensive overview of the Spring framework, Spring MVC, and Spring Boot, explaining how dependency injection reduces boilerplate and enables loose coupling, illustrating code examples with and without DI, and describing Spring Boot’s auto‑configuration, starter projects and typical starter options for building modern Java backend applications.

Backend DevelopmentJavaSpring Boot
0 likes · 12 min read
Understanding Spring, Spring MVC, and Spring Boot: Core Problems Solved and Best Use Cases
Java Captain
Java Captain
Jul 17, 2019 · Backend Development

A Comprehensive Spring Boot Project Template and Best Practices for Backend Development

This article presents a complete Spring Boot project template for an e‑commerce order service, covering README composition, one‑click local build scripts, business‑oriented package layout, automated test classification, logging, exception handling, background tasks with distributed locks, static analysis, health checks, Swagger API documentation, database migration, multi‑environment configuration, CORS setup, and a curated list of useful third‑party libraries.

Backend DevelopmentMicroservicesProject Template
0 likes · 24 min read
A Comprehensive Spring Boot Project Template and Best Practices for Backend Development
Java Backend Technology
Java Backend Technology
Jul 14, 2019 · Backend Development

From a Simple Spring Boot Blog to a GitHub Trending HR System

The author recounts how, after his company closed, he built a lightweight Spring Boot‑Vue blog project, iterated it into a more complex human‑resource management system, documented each feature, released it on GitHub, and eventually saw it climb the GitHub Trending list, sharing lessons learned and advice for newcomers.

Backend DevelopmentGitHub TrendingJava
0 likes · 10 min read
From a Simple Spring Boot Blog to a GitHub Trending HR System
Architect's Tech Stack
Architect's Tech Stack
Jul 3, 2019 · Backend Development

Implementing a Distributed Rate Limiter with Redis, Spring Boot, and Lua Scripts

This article demonstrates how to build a distributed rate‑limiting component named shield‑ratelimiter using Redis’s INCR and TTL features, Spring‑Boot‑starter integration, Lua scripting for atomic operations, custom annotations, and AspectJ, providing a robust, configurable solution for limiting API calls in Java backend services.

Distributed SystemsLuaSpring Boot
0 likes · 16 min read
Implementing a Distributed Rate Limiter with Redis, Spring Boot, and Lua Scripts
Programmer DD
Programmer DD
Jun 24, 2019 · Backend Development

Mastering Spring Boot Embedded Tomcat: Essential Configuration Tips

This tutorial explains how to customize Spring Boot's embedded Tomcat server by adjusting ports, addresses, error handling, connection limits, SSL settings, and access log options through application.properties, providing clear code examples for each configuration.

ConfigurationJavaSpring Boot
0 likes · 6 min read
Mastering Spring Boot Embedded Tomcat: Essential Configuration Tips
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 22, 2019 · Backend Development

15 Frequently Asked Spring Boot Interview Questions and Answers

This article presents fifteen common Spring Boot interview questions covering its definition, features, starters, configuration files, CORS handling, security choices, session sharing, hot deployment, scheduling, API documentation, data access, XML usage, executable JAR differences, and property file distinctions, providing concise explanations and practical references for Java developers.

ConfigurationJavaSecurity
0 likes · 11 min read
15 Frequently Asked Spring Boot Interview Questions and Answers
Programmer DD
Programmer DD
Jun 20, 2019 · Backend Development

Why Spring Fails to Load Encrypted @Component Classes and How It Scans Bytecode

An encrypted Spring @Component class causes a startup failure because Spring reads class files as raw byte arrays using ASM before loading them, and the encrypted bytecode violates JVM specifications, leading to an ArrayIndexOutOfBoundsException; the article explains this scanning mechanism and the hidden cause.

ASMJVMTISpring Boot
0 likes · 10 min read
Why Spring Fails to Load Encrypted @Component Classes and How It Scans Bytecode
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 17, 2019 · Backend Development

Implementing AOP Logging in a Spring Boot Application

This tutorial demonstrates how to integrate an AOP logging module into a Spring Boot project by adding required dependencies, creating a custom aspect that extends LBaseWebLogAspect, defining a pointcut, and exposing a sample REST endpoint that returns user data while logging detailed request information.

JavaSpring Bootaop
0 likes · 4 min read
Implementing AOP Logging in a Spring Boot Application
Programmer DD
Programmer DD
Jun 16, 2019 · Backend Development

From Two‑Month Crawl to Four‑Hour Sprint: Optimizing a 20M‑Record Data Migration

This article chronicles a step‑by‑step performance overhaul of a 20‑million‑record migration project, detailing four architectural revisions—from a single‑threaded procedural script to a fully decoupled, multithreaded, interface‑driven solution—that reduced processing time from two months to just four hours while ensuring data consistency, recoverability, and scalability.

Batch ProcessingData MigrationJava
0 likes · 15 min read
From Two‑Month Crawl to Four‑Hour Sprint: Optimizing a 20M‑Record Data Migration
Java Backend Technology
Java Backend Technology
Jun 15, 2019 · Backend Development

How to Share HTTP Sessions Across Spring Boot Instances with Redis and Nginx

This article explains why session sharing is required in distributed Java back‑ends, demonstrates how Spring Session automatically synchronizes HttpSession data to Redis, and shows step‑by‑step how to configure Spring Boot, Redis, and Nginx to achieve transparent session sharing across multiple service instances.

Backend DevelopmentNginxSpring Boot
0 likes · 8 min read
How to Share HTTP Sessions Across Spring Boot Instances with Redis and Nginx
Java Captain
Java Captain
Jun 14, 2019 · Backend Development

Implementing Session Sharing with Spring Session and Redis in a Spring Boot Cluster

This article explains how to use Spring Session together with Redis to achieve transparent HTTP session sharing across multiple Spring Boot instances in a clustered environment, including project setup, Redis configuration, sample controller code, Nginx load‑balancing, and deployment steps.

Backend DevelopmentNginxSpring Boot
0 likes · 9 min read
Implementing Session Sharing with Spring Session and Redis in a Spring Boot Cluster