Coder Trainee
Author

Coder Trainee

Experienced in Java and Python, we share and learn together. For submissions or collaborations, DM us.

98
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Coder Trainee

98 recent articles
Coder Trainee
Coder Trainee
Apr 14, 2026 · Operations

5 Production Nightmares in an Education Mini‑Program and How to Avoid Them

The author recounts five critical production incidents that crippleed an education mini‑program—Redis connection‑pool exhaustion, duplicate bookings, double refunds, mis‑firing no‑show jobs, and inventory oversell—detailing root causes, concrete fixes, and hard‑won lessons for building resilient backend services.

Distributed LockIdempotencyMonitoring
0 likes · 10 min read
5 Production Nightmares in an Education Mini‑Program and How to Avoid Them
Coder Trainee
Coder Trainee
Apr 12, 2026 · Backend Development

Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement

This article walks through the complete WeChat Pay integration for an education‑focused mini‑program, covering the business flow, database schema, Java backend implementation for order creation, callback handling, automatic refunds, scheduled tasks, common pitfalls, and practical tips for reliable payment processing.

Database DesignJavaMini Program
0 likes · 21 min read
Integrating WeChat Pay for Education Mini‑Programs: Automated Deposit and Final‑Payment Settlement
Coder Trainee
Coder Trainee
Apr 8, 2026 · Backend Development

How to Fix CORS Issues After Upgrading to Spring Boot 2.5.x

Upgrading a Spring Boot application from 2.1.8 to 2.5.6 can break existing CORS configurations, but adding a WebMvcConfigurer bean with allowedOriginPatterns resolves the new cross‑origin restrictions, as demonstrated with concrete code examples.

BackendCORSJava
0 likes · 3 min read
How to Fix CORS Issues After Upgrading to Spring Boot 2.5.x
Coder Trainee
Coder Trainee
Apr 7, 2026 · Backend Development

Setting Up Seata (pre‑1.0) for Distributed Transactions in Microservices

This guide explains what a distributed transaction is and walks through the complete setup of a Seata server (version 0.9.0), including downloading, configuring file.conf and registry.conf for Nacos, initializing the database, starting services, and creating the required undo_log table.

Distributed TransactionsNacosSQL
0 likes · 4 min read
Setting Up Seata (pre‑1.0) for Distributed Transactions in Microservices
Coder Trainee
Coder Trainee
Apr 7, 2026 · Operations

How to Resolve Seata “can not register RM” Connection Errors

The article explains why Seata clients fail with “can not register RM, err: can not connect to services‑server” errors, shows that the issue stems from the default.grouplist IP setting, and provides the correct server configuration and startup command to connect using an external IP, plus a method to verify and stop lingering Seata processes.

Connection ErrorDistributed TransactionsSeata
0 likes · 3 min read
How to Resolve Seata “can not register RM” Connection Errors
Coder Trainee
Coder Trainee
Apr 5, 2026 · Operations

How to Build a RocketMQ Cluster with Dual Master‑Slave Async Replication

This guide walks through setting up a two‑node RocketMQ cluster with dual master‑slave asynchronous replication, covering host role assignment, configuration file edits, binary deployment, memory tuning, and the exact commands to start NameServers, master brokers, and slave brokers.

Message Queueasync-replicationbroker-configuration
0 likes · 11 min read
How to Build a RocketMQ Cluster with Dual Master‑Slave Async Replication
Coder Trainee
Coder Trainee
Apr 4, 2026 · Mobile Development

Getting Started with Kotlin‑Java Mixed Development for Android

This guide walks through creating an Android project that combines Java and Kotlin, adding Kotlin dependencies via Maven, and implementing a simple controller with Kotlin syntax, illustrating variable definitions, method signatures, and basic service interaction.

AndroidControllerKotlin
0 likes · 5 min read
Getting Started with Kotlin‑Java Mixed Development for Android
Coder Trainee
Coder Trainee
Apr 2, 2026 · Backend Development

Configurable Java Scheduled Tasks with Quartz

This guide explains how to build a configurable Java scheduling microservice using the Quartz framework, covering task entity CRUD integration, a utility class for creating, updating, pausing, and deleting jobs, and concrete code examples that demonstrate building JobDetails, CronTriggers, and invoking the scheduler.

CronJavaJob Scheduling
0 likes · 4 min read
Configurable Java Scheduled Tasks with Quartz