Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-944

Create a Weld Servlet service deployer to add CDI services to Servlet containers

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Weld Containers
    • 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

            Unassigned Unassigned
            dan.j.allen Dan Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: