Registry / other / javax-annotation-api

javax-annotation-api

JSON →
library1.3.2javamavenunverified

Common annotations for the Java platform, including @Resource and @PostConstruct.

<dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </dependency>
INSTALL
IMPORT
SIG · JAVAX-ANNOTATION-A
J
javax-annotation-api
otherjavav1.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Resource
javax.annotation.Resource

Minimal usage of @Resource annotation for resource injection.

import javax.annotation.Resource; public class Example { @Resource private DataSource dataSource; }
Debug
Known issues
breakingjavax.annotation is deprecated in favor of jakarta.annotation for Java EE 9+.
fix
Use jakarta.annotation for new projects; migrate existing code.
affects: >=1.3
Upgrade
Version history
1.3.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
javax-annotation-api — mvn dependency:get javax-annotation-api · libregistry