[weld-issues] [JBoss JIRA] Commented: (WELDX-3) Use shared library mode in Servlet containers, allowing packaging as a shared library mode

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Mar 3 12:46:10 EST 2010


    [ https://jira.jboss.org/jira/browse/WELDX-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12517937#action_12517937 ] 

Pete Muir commented on WELDX-3:
-------------------------------

Currently we require weld-servlet.jar to be inside WEB-INF/lib. We then use statics to provide singletons for the deployment. Now, Weld also supports alternative strategies for providing singletons, such as keying on the TCCL. This allows weld-servlet to be a shared library, which improves memory usage.

Look at SingletonProvider for how to switch the strategy.

> Use shared library mode in Servlet containers, allowing packaging as a shared library mode
> ------------------------------------------------------------------------------------------
>
>                 Key: WELDX-3
>                 URL: https://jira.jboss.org/jira/browse/WELDX-3
>             Project: Weld Extensions
>          Issue Type: Feature Request
>          Components: Servlet Containers
>            Reporter: Pete Muir
>             Fix For: Servlet Containers 1.0.2.CR1
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list