Tag

AnnotationProcessor

0 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
May 30, 2025 · Backend Development

Using Google AutoService to Simplify Java SPI Implementations

This tutorial introduces Google AutoService, explains Java SPI concepts, shows Maven setup and @AutoService annotation examples, and demonstrates loading translation service providers with ServiceLoader, highlighting how the library automates SPI configuration and reduces errors.

AnnotationProcessorAutoServiceJava
0 likes · 6 min read
Using Google AutoService to Simplify Java SPI Implementations
macrozheng
macrozheng
Feb 5, 2024 · Backend Development

Inject Jar Version into Java Components with Insertable Annotation Processors

This article demonstrates how to create a custom insertable annotation processor in Java to automatically inject the jar version into component constants at compile time, eliminating manual updates and enabling Prometheus monitoring of library usage across versions.

AnnotationProcessorCompileTimeGradle
0 likes · 9 min read
Inject Jar Version into Java Components with Insertable Annotation Processors
Java Architecture Diary
Java Architecture Diary
Jul 20, 2019 · Backend Development

Boost Your Java Backend with JFinal‑event: Annotation Processor Powered Event System

This article introduces JFinal‑event, a Java event‑handling plugin inspired by Spring, explains its recent migration to compile‑time annotation processing for faster startup, provides detailed Maven/Gradle integration steps, and demonstrates how to define, listen to, and dispatch custom events with code examples.

AnnotationProcessorBackendEventPlugin
0 likes · 7 min read
Boost Your Java Backend with JFinal‑event: Annotation Processor Powered Event System