-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Create a Weld Servlet service deployer as part of the arquillian-container-weld module. This Arquillian extension will automatically add CDI services to a Servlet container such as Tomcat or Jetty.
Using an Arquillian extension to deploy Weld Servlet keeps the test portable when switching between a Java EE 6-compliant container and a Servlet container. It also makes testing CDI on Servlet containers simpler.
This extension should be created as a submodule of the arquillian-container-weld. It can be based on the weld-servlet extension example in the Arquillian showcase [1]. However, it should be enhanced to make the version of Weld configurable, similar to how the Spring and Seam 2 service deployers work.
To activate this extension, it would be added as a dependency in the profile for the Servlet container adapter.
[1] https://github.com/arquillian/arquillian-showcase/tree/master/extensions/weld-servlet