Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-164

Optimization on reading built-in tld files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: