Full-Stack Internet Architecture
Author

Full-Stack Internet Architecture

Introducing full-stack Internet architecture technologies centered on Java

871
Articles
0
Likes
1.7k
Views
0
Comments
Recent Articles

Latest from Full-Stack Internet Architecture

100 recent articles max
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 18, 2025 · Fundamentals

Strategy Design Pattern in Java: Definition, Structure, Example, and Refactoring

This article explains the behavioral Strategy design pattern, describes its definition and structure, demonstrates a real‑world e‑commerce discount scenario with both a tangled if‑else implementation and a clean refactoring using Java interfaces, concrete strategy classes, a context, and a client, and finally discusses its advantages and drawbacks.

JavaObject-Oriented Programmingdesign-patterns
0 likes · 9 min read
Strategy Design Pattern in Java: Definition, Structure, Example, and Refactoring
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 10, 2025 · Fundamentals

Strange Behaviors in Java: Integer Caching, String Comparison, Unary Plus, and Unicode Tricks

This article explains several counter‑intuitive Java behaviors—including integer caching with configurable range, string literal pool versus new objects, the unary plus being a sign rather than an operator, and Unicode escape processing that can make commented code execute—providing code examples and practical insights.

integer-cachingprogramming-quirksstring-comparison
0 likes · 5 min read
Strange Behaviors in Java: Integer Caching, String Comparison, Unary Plus, and Unicode Tricks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 6, 2025 · Backend Development

Understanding Java CyclicBarrier with Practical Examples

This article explains Java's CyclicBarrier synchronization tool, compares it with CountDownLatch, demonstrates basic and array‑sum examples with reusable barriers and callback actions, and shows how it can coordinate multiple threads for tasks such as parallel computation and result aggregation.

ConcurrencyCyclicBarrierJava
0 likes · 6 min read
Understanding Java CyclicBarrier with Practical Examples
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 5, 2025 · Backend Development

Using CountDownLatch in Java to Synchronize Multiple Threads for a Lucky Card Collection Example

This article explains the Java CountDownLatch utility, demonstrates its countdown synchronization mechanism with a lucky‑card‑collection scenario, provides a complete runnable example, and shows how the main thread waits for all worker threads to finish before proceeding to the lottery step.

ConcurrencyCountDownLatchJava
0 likes · 5 min read
Using CountDownLatch in Java to Synchronize Multiple Threads for a Lucky Card Collection Example