jakartaee / jakartaee/rest

Integration with Jakarta Concurrency 3.0

Open
#950 12 comments 0 reactions 0 assignees View on GitHub
EE12
Dominant language
Java
Stars
400
Forks
143
PR merge metrics
No merged PRs in 30d

Description

I would like to suggest that we add a new section under [section 11.2 Integrations with Jakarta EE Technologies](https://jakarta.ee/specifications/restful-ws/3.0/jakarta-restful-ws-spec-3.0.html#javaee) for Jakarta Concurrency 3.0. In particular, I think that when a user passes a `ManagedExecutorService` to the `ClientBuilder.executorService(...)` method, that we ensure that implementations return `CompletionStage` objects using the new methods added to Concurrency 3.0 in issue https://github.com/eclipse-ee4j/concurrency-api/issues/40

This would resolve the nondeterministic problems listed in the issue and make it portable - at least for environments that support Jakarta Concurrency 3.0.

Contributor guide

Open the contributing guide

Research direction

Start by reading section 11.2 of the Jakarta RESTful Web Services 3.0 specification and the referenced Jakarta Concurrency issue 40. Determine how ClientBuilder.executorService(...) and ManagedExecutorService should interact with CompletionStage methods, then document the portable integration behavior for Jakarta Concurrency 3.0 environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.