|
User can use Jetty CDI module, which downloads all required Weld/CDI dependencies on request (jetty/lib/cdi directory is created). However note that if you want to use JSF along with CDI (weld numberguess example) you need to copy following dependencies directly to the CDI lib module directory as well:
-
jsf-api jar
-
jsf-imp jar
-
weld-core-jsf jar
Jetty also implements CDI extension registering and providing WebSocketScopeContext. I am not sure if there are any particular problems but I guess the integration between CDI and WebSocket is not clearly specified.
|