jakartaee / jakartaee/common-annotations-api

Add Qualifiers to DataSourceDefinition

Open
#147 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
67
Forks
42
PR merge metrics
No merged PRs in 30d

Description

To align with CDI and Jakarta EE 11 Concurrency, add optional Qualifier classes to `@DataSourceDefinition` and allow developers to inject `DataSource` by `@Inject`.

As mentioned by @gavinking, also update the existing application/web/ejb-jar descriptors, add `qualifer/scope` to the XML elements.

Contributor guide

Open the contributing guide

Research direction

Start with the @DataSourceDefinition annotation and the existing application, web, and ejb-jar descriptors mentioned in the issue. Review the CDI and Jakarta EE 11 Concurrency requirements first; done means optional qualifiers are supported, DataSource can be injected with @Inject, and the XML elements include qualifier/scope settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.