-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support inheritance of cdi contexts #39
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented I'm unlikely to use this as justification for a revision of the spec. I think the text is already clear enough and would only benefit marginally from further clarification. |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
MicroProfile Context Propagation and WELD prototyped some work in this space and was able to get some scenarios working. I would like to see how CDI context propagation works standardized within Jakarta EE, but I think the proper place for that to happen is within the CDI specification, which will be better aware of and better equipped to deal with the intricacies of the different scopes and life cycles, as well as able to levy actual requirements against the CDI implementations to make it possible. Is there any way this issue could be transferred over to CDI? |
Currently ee concurrency utilities are a nice candidates for reactive pools but not being able to reuse cdi instances kind of make it useless - a simple pool does the same. Being able to say cdi bean instances are inherited would be awesome and would make servlet 3 async feature integrated at ee level in a smooth manner (keep in mind servlet request lifecycle is not cdi one for instance).
Some would say it is dangerous cause not thread safe bit most of these cases are under programmer responsability so it is fine i think
The text was updated successfully, but these errors were encountered: