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

        

Reply via email to