Tagged articles
6 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Apr 23, 2026 · Fundamentals

Java Annotations from Scratch: A Step‑by‑Step Guide

The article explains Java annotations, covering their purpose, usage in compilation, documentation and runtime, demonstrates built‑in annotations such as @Deprecated, @Override and @SuppressWarnings, shows how to define custom annotations, set retention policies, and create annotation processors with concrete code examples.

CustomAnnotationJavaPredefinedAnnotations
0 likes · 11 min read
Java Annotations from Scratch: A Step‑by‑Step Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 13, 2023 · Fundamentals

Understanding Java Annotations and Custom Annotation Usage with Spring AOP

This article explains Java annotations, their purposes such as providing compiler metadata, generating code, runtime processing, and documentation, introduces built‑in and meta‑annotations, and demonstrates how to create and use custom annotations both via reflection and with Spring AOP for logging, including full code examples.

BackendCustomAnnotationJava
0 likes · 7 min read
Understanding Java Annotations and Custom Annotation Usage with Spring AOP
Senior Brother's Insights
Senior Brother's Insights
Oct 17, 2020 · Backend Development

Why Your SpringBoot Components Aren’t Initialized and How to Fix It

This article explains why SpringBoot fails to initialize components after extracting common modules due to mismatched package names, demonstrates how to use @ComponentScan and custom @Enable annotations to specify scan paths, and outlines the basics of creating a custom starter for automated configuration.

BackendComponentScanCustomAnnotation
0 likes · 7 min read
Why Your SpringBoot Components Aren’t Initialized and How to Fix It
Top Architect
Top Architect
Oct 17, 2020 · Backend Development

Understanding Java Annotations: Benefits, Types, Custom Annotations and Runtime Parsing

This article explains the purpose and advantages of Java annotations, introduces common JDK and third‑party annotations, classifies them by lifecycle and source, shows how to define custom annotations with meta‑annotations, and demonstrates parsing them at runtime using reflection with concrete code examples.

CustomAnnotationJavaannotations
0 likes · 9 min read
Understanding Java Annotations: Benefits, Types, Custom Annotations and Runtime Parsing
Java Captain
Java Captain
Oct 18, 2019 · Backend Development

Understanding Java Annotations: Types, Benefits, Custom Creation, and Runtime Parsing

This article explains the purpose and advantages of Java annotations, categorizes built‑in, third‑party and custom annotations, describes meta‑annotations, demonstrates how to define and apply custom annotations, and shows how to parse them at runtime using reflection, complete with code examples.

CustomAnnotationJavaMetaAnnotation
0 likes · 9 min read
Understanding Java Annotations: Types, Benefits, Custom Creation, and Runtime Parsing