Registry / web-framework / jersey-cdi1x

jersey-cdi1x

JSON →
library4.0.2javamavenunverified

Jersey extension providing integration with CDI 1.1 for dependency injection in JAX-RS applications.

<dependency> <groupId>org.glassfish.jersey.ext.cdi</groupId> <artifactId>jersey-cdi1x</artifactId> <version>4.0.2</version> </dependency>
INSTALL
IMPORT
SIG · JERSEY-CDI1X
J
jersey-cdi1x
web-frameworkjavav4.0.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.

CdiComponentProvider
org.glassfish.jersey.ext.cdi.CdiComponentProvider

Minimal example registering CDI component provider in a Jersey application.

import org.glassfish.jersey.ext.cdi.CdiComponentProvider; import org.glassfish.jersey.server.ResourceConfig; public class App extends ResourceConfig { public App() { register(CdiComponentProvider.class); packages("com.example.resources"); } }
Debug
Known issues
breakingJersey 4.x uses Jakarta EE 9+ namespace; ensure your CDI container is compatible.
fix
Use Jersey 3.x for javax namespace or upgrade your CDI implementation to Jakarta.
affects: 4.0.2
Upgrade
Version history
4.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
38
OpenAI (training)
1
Resources
jersey-cdi1x — mvn dependency:get jersey-cdi1x · libregistry