Configuring Redis for Servlet-Based Services and WebFlux Gateways in Microservices
In modern microservice architectures, Redis is widely used for caching, distributed locking, session storage, and rate limiting. However, the way you interact with Redis differs significantly between a traditional Servlet‑based service (blocking) and a WebFlux‑based gateway (non‑blocking). This guide explains both approaches and provides ready‑ ...
Posted on Sun, 17 May 2026 11:14:36 +0000 by feckless
Handling Request Parameters in Spring Boot
Traditionally, request parameters can be retrieved manually using the HttpServletRequest object. This approach requires explicit parsing and type conversion.
@RestController
public class BasicController {
@RequestMapping("/manual-param")
public String manualParam(HttpServletRequest request) {
String username = request. ...
Posted on Sun, 17 May 2026 09:59:25 +0000 by m5638829
Building a Travel Website with SSM, Vue.js, and Uniapp
Technology Stack
Backend Framework: SSM
The SSM framework integrates Spring, Spring MVC, and MyBatis to construct robust Java web applications. Each component serves a distinct purpose:
Spring Framework: A lightweight framework offering dependency injection, aspect-oriented programming (AOP), and transaction management. Its core container mana ...
Posted on Sat, 16 May 2026 14:23:22 +0000 by vin_akleh
Design and Implementation of a Homestay Booking Management System Using Spring Boot and Vue
Core Technologies
Backend Language: Java
Framework: Spring Boot
Frontend Stack: JavaScript, Vue.js, CSS3
Development Tools: IntelliJ IDEA / Eclipse / Visual Studio Code
Database: MySQL 5.7 or 8.0
DB Management: Navicat / phpStudy
JDK Version: 1.8
Build Tool: Apache Maven 3.8.1
The system employs a B/S architecture, leveraging Java for busines ...
Posted on Sat, 16 May 2026 07:27:25 +0000 by Bhaal
Modern Spring Boot Development Fundamentals
Spring Boot serves as an opinionated extension of the Spring framework, designed to minimize boilerplate configuration and accelerate the development lifecycle. Instead of manual XML setups or complex Java-based configurations, it relies on convention-over-configuration principles. When dependencies are included, the framework automatically boo ...
Posted on Sat, 16 May 2026 00:48:01 +0000 by jkewlo
Synchronous REST Communication Between Two Java Backend Services
Implementation WorkflowPhaseAction1Initialize workspace environments2Define provider API endpoints3Configure consumer HTTP client4Validate cross-service connectivityPhase 1: Initialize Workspace EnvironmentsEstablish independent Spring Boot projects for both the providing and consuming services, ensuring that all Maven or Gradle dependencies, i ...
Posted on Fri, 15 May 2026 20:03:15 +0000 by phpMitch
Managing Web Application Sessions with Spring Security
Session Creation Policies
Spring Security provides several session creation policies that control how sessions are handled:
stateless: Spring Security does not create or utilize any session. This is ideal for stateless API applications and helps conserve server resources.
To configure session creation strategy, extend WebSecurityConfigurerAda ...
Posted on Fri, 15 May 2026 08:00:00 +0000 by lordfrikk
Spring Boot Office Automation System Implementation
System Overview
This enterprise-grade Office Automation (OA) solution integrates advanced management concepts with digital workflows. By automating administrative processes, it enables paperless operations, reduces manual errors, and enhances organizational efficiency through systematic management of office activities.
Technical Architecture
Th ...
Posted on Fri, 15 May 2026 04:48:12 +0000 by daggardan
Mastering Jackson JSON Processing in Java
For Spring Boot applications, configure Jackson settings in application.yml:
spring:
# jackson configuration
jackson:
# date format
date-format: yyyy-MM-dd HH:mm:ss
# timezone
time-zone: GMT+8
# serialization settings
serialization:
# pretty print output
indent-output: false
# ignore unconvertible o ...
Posted on Thu, 14 May 2026 23:11:37 +0000 by svguerin3
Spring Security 5.7.5 Core Authentication and Authorization Setup
Project Dependencies
Include the following essential dependencies in a Spring Boot project:
spring-boot-starter-parent (parent POM)
spring-boot-starter-web
spring-boot-starter-security
spring-boot-starter-test (optional, for testing)
spring-security-test (opsional, for testing)
<?xml version="1.0" encoding="UTF-8"?>
...
Posted on Thu, 14 May 2026 22:41:33 +0000 by mepaco