Java Tech Workshop
Author

Java Tech Workshop

Focused on Java backend technologies, sharing fundamentals, multithreading, JVM, the Spring ecosystem, microservices, distributed systems, high concurrency, source‑code analysis, and practical experience. Continuously delivers high‑quality original content, interview guides, and learning roadmaps to help Java developers progress from beginner to advanced, enhancing technical skills and core competitiveness.

92
Articles
0
Likes
62
Views
0
Comments
Recent Articles

Latest from Java Tech Workshop

92 recent articles
Java Tech Workshop
Java Tech Workshop
May 8, 2026 · Fundamentals

6 Common Misconceptions About Java’s static Keyword

This article debunks six frequent misunderstandings of Java’s static keyword, covering its class-level nature, the impossibility of overriding static methods, the prohibition of this/super in static contexts, the one‑time execution of static blocks, the lack of inherent thread safety for static variables, and why static fields should not be initialized in constructors or instance blocks.

Javainitializationmemory model
0 likes · 10 min read
6 Common Misconceptions About Java’s static Keyword
Java Tech Workshop
Java Tech Workshop
May 5, 2026 · Backend Development

Java Reflection: Powerful Magic or Dangerous Black Art?

The article explains Java’s reflection mechanism, showing how it lets code inspect and manipulate classes at runtime—enabling frameworks like Spring and MyBatis—while warning about performance overhead, security risks, and maintenance challenges, and offers best‑practice guidelines to use it safely.

Best PracticesFrameworksJava
0 likes · 14 min read
Java Reflection: Powerful Magic or Dangerous Black Art?
Java Tech Workshop
Java Tech Workshop
May 3, 2026 · Backend Development

Mastering Java Annotations: From Basic Usage to Custom Annotation Processors

This article explains the fundamentals of Java annotations, their core purposes, built‑in annotations, meta‑annotations, and provides step‑by‑step practical examples for creating a runtime @Sensitive annotation and a compile‑time @AutoGetter processor, while also dissecting how Spring leverages annotations for component scanning, dependency injection, and request mapping.

Annotation ProcessorAnnotationsJava
0 likes · 27 min read
Mastering Java Annotations: From Basic Usage to Custom Annotation Processors
Java Tech Workshop
Java Tech Workshop
May 2, 2026 · Fundamentals

Java Generics Deep Dive: Pros and Cons of Type Erasure

The article explains how Java generics, introduced in Java 5 to improve type safety and reduce code duplication, rely on type erasure for backward compatibility, detailing its implementation, advantages such as compatibility and performance, drawbacks like lack of primitive support and overload restrictions, and practical techniques to mitigate these issues.

CompilerGenericsJava
0 likes · 19 min read
Java Generics Deep Dive: Pros and Cons of Type Erasure
Java Tech Workshop
Java Tech Workshop
May 1, 2026 · Backend Development

Exception Handling Best Practices: From try‑catch to Custom Exceptions

This article explores Java exception handling from basic try‑catch‑finally syntax, through multi‑catch and try‑with‑resources, to designing custom business exceptions, offering concrete code examples, logging tips, global handlers, and performance considerations for robust backend development.

Exception HandlingJavacustom exceptions
0 likes · 18 min read
Exception Handling Best Practices: From try‑catch to Custom Exceptions
Java Tech Workshop
Java Tech Workshop
May 1, 2026 · Fundamentals

7 Crucial Differences Between Java int and Integer You Must Know

This article explains the seven key differences between Java's primitive int and its wrapper Integer, covering default values, memory layout, comparison pitfalls, caching, autoboxing/unboxing, performance impact, and appropriate usage scenarios with concrete code examples and benchmarks.

IntegerJavaautoboxing
0 likes · 22 min read
7 Crucial Differences Between Java int and Integer You Must Know
Java Tech Workshop
Java Tech Workshop
Apr 30, 2026 · Fundamentals

Why You Should Stop Misusing String: Complete Guide to String, StringBuffer, and StringBuilder

This article thoroughly examines Java's String, StringBuffer, and StringBuilder, explaining their internal implementations, immutability, JDK 9 changes, performance characteristics, and best‑practice usage scenarios, while providing concrete code examples, benchmarks, and interview questions to help developers choose the right tool.

JavaStringStringBuffer
0 likes · 21 min read
Why You Should Stop Misusing String: Complete Guide to String, StringBuffer, and StringBuilder
Java Tech Workshop
Java Tech Workshop
Apr 30, 2026 · Fundamentals

Do You Really Understand the Difference Between == and equals() in Java?

This article explains how == compares primitive values and object references, why Object.equals() defaults to ==, how classes like String and Integer override equals(), the impact of the string constant pool, integer caching, auto‑boxing, floating‑point pitfalls, and best practices for correctly comparing objects in Java.

==Javaequals()
0 likes · 16 min read
Do You Really Understand the Difference Between == and equals() in Java?