You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2012/04/24 05:12:54 UTC

[jira] [Created] (TOMEE-164) Optimization on reading built-in tld files

David Blevins created TOMEE-164:
-----------------------------------

             Summary: Optimization on reading built-in tld files
                 Key: TOMEE-164
                 URL: https://issues.apache.org/jira/browse/TOMEE-164
             Project: TomEE
          Issue Type: Improvement
            Reporter: David Blevins
            Assignee: David Blevins
             Fix For: 1.0.0


We read in TLD files so that we can scan the listeners for annotations such as @Resource, @EJB, etc.

In the server libs between the jstl jar and myfaces-impl there are 17 tld files.  We read these in each and every single application deploy.  There is only one listener in all of these tld files.  The obvious optimization is to simply return the listener instead of actually reading and parsing these rather large tld files.

This small tweak shaves 1/2 second off of the deploy time.

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

        

[jira] [Commented] (TOMEE-164) Optimization on reading built-in tld files

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TOMEE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264835#comment-13264835 ] 

David Blevins commented on TOMEE-164:
-------------------------------------

2012-04-25 - http://svn.apache.org/viewvc?view=revision&revision=1330642 - dblevins

                
> Optimization on reading built-in tld files
> ------------------------------------------
>
>                 Key: TOMEE-164
>                 URL: https://issues.apache.org/jira/browse/TOMEE-164
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 1.0.0
>
>
> We read in TLD files so that we can scan the listeners for annotations such as @Resource, @EJB, etc.
> In the server libs between the jstl jar and myfaces-impl there are 17 tld files.  We read these in each and every single application deploy.  There is only one listener in all of these tld files.  The obvious optimization is to simply return the listener instead of actually reading and parsing these rather large tld files.
> This small tweak shaves 1/2 second off of the deploy time.

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

        

[jira] [Closed] (TOMEE-164) Optimization on reading built-in tld files

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TOMEE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed TOMEE-164.
-------------------------------

    Resolution: Fixed
    
> Optimization on reading built-in tld files
> ------------------------------------------
>
>                 Key: TOMEE-164
>                 URL: https://issues.apache.org/jira/browse/TOMEE-164
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 1.0.0
>
>
> We read in TLD files so that we can scan the listeners for annotations such as @Resource, @EJB, etc.
> In the server libs between the jstl jar and myfaces-impl there are 17 tld files.  We read these in each and every single application deploy.  There is only one listener in all of these tld files.  The obvious optimization is to simply return the listener instead of actually reading and parsing these rather large tld files.
> This small tweak shaves 1/2 second off of the deploy time.

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