Coder Trainee
Author

Coder Trainee

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

206
Articles
0
Likes
1.7k
Views
0
Comments
Recent Articles

Latest from Coder Trainee

100 recent articles max
Coder Trainee
Coder Trainee
Jun 8, 2026 · Artificial Intelligence

Rapidly Build AI Agents with LangChain: A Hands‑On Tutorial

This article walks through why LangChain is the leading framework for AI agents, compares it with low‑level implementations, and provides step‑by‑step code examples for installation, prompt templates, LCEL pipelines, memory modules, RAG, custom tools, and a complete customer‑service agent, concluding with a concise feature comparison.

AI AgentsLLMLangChain
0 likes · 14 min read
Rapidly Build AI Agents with LangChain: A Hands‑On Tutorial
Coder Trainee
Coder Trainee
Jun 7, 2026 · Artificial Intelligence

AI Agent Deep Dive: Understanding Planning, Memory, Tools, and Action

This article revisits the AI Agent architecture and provides a detailed analysis of its four core components—Planning, Memory, Tools, and Action—covering mainstream planning strategies, memory types, tool specifications, and execution loops, accompanied by concrete LangChain code examples that demonstrate building a fully integrated multi‑component agent.

AI agentLangChainMemory
0 likes · 12 min read
AI Agent Deep Dive: Understanding Planning, Memory, Tools, and Action
Coder Trainee
Coder Trainee
Jun 6, 2026 · Artificial Intelligence

What Is an AI Agent? From Large Language Models to Autonomous Agents

This article explains why large language models are powerful yet limited, defines AI agents as autonomous systems that combine a model, memory, tools, and actions, details the ReAct reasoning‑and‑acting loop, provides a 30‑line Python LangChain example and a Java Spring AI implementation, and outlines five practical use‑case scenarios and the roadmap for the series.

AI agentJavaLangChain
0 likes · 10 min read
What Is an AI Agent? From Large Language Models to Autonomous Agents
Coder Trainee
Coder Trainee
Jun 6, 2026 · Backend Development

Spring Cloud Message‑Driven Part 5: High‑Availability RocketMQ Deployment & Message Tracing

This tutorial walks through deploying a highly available RocketMQ cluster with Docker Compose, configuring master‑slave brokers, enabling message tracing, integrating Prometheus‑Grafana monitoring, setting up Spring Boot HA properties, applying performance tweaks, validating failover, and troubleshooting common issues.

Docker ComposeGrafanaHigh Availability
0 likes · 16 min read
Spring Cloud Message‑Driven Part 5: High‑Availability RocketMQ Deployment & Message Tracing
Coder Trainee
Coder Trainee
Jun 5, 2026 · Backend Development

Implementing Ordered Messages and Dead Letter Queues with Spring Cloud and RocketMQ

This article explains why message ordering is critical for order‑state flows, demonstrates how to use RocketMQ's ordered messaging and dead‑letter queue features in a Spring Cloud project, shows the full project structure, provides runnable code, testing steps, performance numbers, and common pitfalls.

Dead Letter QueueMessage RetryOrdered Messages
0 likes · 21 min read
Implementing Ordered Messages and Dead Letter Queues with Spring Cloud and RocketMQ
Coder Trainee
Coder Trainee
Jun 3, 2026 · Cloud Native

Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs

This article demonstrates how Spring Cloud Stream provides a unified programming model that decouples business logic from the underlying message broker, allowing a single codebase to work with RocketMQ, Kafka, or RabbitMQ by only changing configuration, and walks through project structure, implementation, conditional routing, MQ switching, testing, and common pitfalls.

JavaKafkaMessage-driven
0 likes · 19 min read
Unified Messaging with Spring Cloud Stream: One Codebase for Multiple MQs
Coder Trainee
Coder Trainee
Jun 2, 2026 · Backend Development

How to Use RocketMQ with Spring Cloud Stream: A Beginner’s Guide

This tutorial explains why microservices need a message queue, outlines RocketMQ’s core concepts, shows how to set up RocketMQ with Docker Compose, integrates it into Spring Boot projects with detailed producer and consumer code, provides testing steps, and lists common pitfalls and solutions.

Docker ComposeJavaRocketMQ
0 likes · 15 min read
How to Use RocketMQ with Spring Cloud Stream: A Beginner’s Guide
Coder Trainee
Coder Trainee
May 31, 2026 · Information Security

Spring Security + OAuth2 Part 5: Managing Clients and Production‑Ready Extensions

This article shows how to move OAuth2 client credentials out of source code into a database, add dynamic registration, multi‑tenant isolation, encrypted secret storage, login‑failure throttling, audit logging, a management REST API, and provides testing steps and common pitfalls.

Client ManagementDatabase PersistenceSpring Security
0 likes · 17 min read
Spring Security + OAuth2 Part 5: Managing Clients and Production‑Ready Extensions
Coder Trainee
Coder Trainee
May 30, 2026 · Information Security

Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)

This article walks through building a Spring Security resource server with OAuth2, enabling method‑level, object‑level and URL‑level permission checks using annotations like @PreAuthorize, @PostAuthorize, @PostFilter, and demonstrates configuration, utility helpers, controller examples, testing steps, best practices, and common pitfalls.

JWTJavaSpring Boot
0 likes · 17 min read
Implementing Fine-Grained Permission Control with Spring Security and OAuth2 (Part 4)