[arquillian-issues] [JBoss JIRA] (ARQ-944) Create a Weld Servlet service deployer to add CDI services to Servlet containers

Dan Allen (JIRA) jira-events at lists.jboss.org
Tue May 22 02:24:18 EDT 2012


     [ https://issues.jboss.org/browse/ARQ-944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen updated ARQ-944:
--------------------------

    Description: 
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

  was:
Provide a Weld Servlet service deployer as part of the arquillian-container-weld module that 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


    
> Create a Weld Servlet service deployer to add CDI services to Servlet containers
> --------------------------------------------------------------------------------
>
>                 Key: ARQ-944
>                 URL: https://issues.jboss.org/browse/ARQ-944
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Weld Containers
>            Reporter: Dan Allen
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list