[ https://issues.apache.org/jira/browse/OWB-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881729#comment-16881729 ]
Romain Manni-Bucau commented on OWB-1293: ----------------------------------------- Well, owb-jetty9 module is very recent and is almost not used so we can still move it. Now technically there is cdi-se API which can be used by jetty to bootstrap the container, inject beans in servlet components. The missing piece will be the request/session/conversation/principal handling - note that our current integration is not complete on these parts anyway. Portably the beans are mostly doable, the request scope is doable but not the other ones which can require a custom context implementation - but still not crazy to do. So at the end jetty can get a portable support of CDI. We should likely open a CDI ticket to get a better portable API for web scopes and built-in beans but don't think there is a real blocker - checking quickly I am only unsure our principal bean is decorable to let jetty handle it without our security service SPI but if not it clearly should so we can clearly and easily fix it. wdyt? > Update Jetty integration prior to Jetty-10 release > -------------------------------------------------- > > Key: OWB-1293 > URL: https://issues.apache.org/jira/browse/OWB-1293 > Project: OpenWebBeans > Issue Type: Improvement > Components: Interceptor and Decorators > Reporter: Greg Wilkins > Priority: Major > > The current jetty integration relies on exposing private jetty APIs so a > jetty Decorator can be registered. This is fragile and requires different > APIs for the upcoming jetty-10 release. > Instead, Jetty is developing a mechanism where a object with a decorator > signature can be set as a context attribute and it will be introspected and > dynamically registered as a decorator without any API dependencies. > This is currently being developed in > [https://github.com/eclipse/jetty.project/pull/3838] and an integration with > Weld is at [https://github.com/weld/core/pull/1926] > Feedback is sought from the OpenWebBeans team on the approach and then we'd > like to collaborate to make a similar integration. > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)