Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1694

Weld-Servlet JSF integration does not reuse the ExpressionFactory

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.1.Final
    • Fix Version/s: 2.2.2.Final
    • Labels:
      None
    • Environment:

      Oracle Linux Server-uek (2.6.32-100.34.1.el6uek.x86_64), Weblogic 12.1.1.1

    • Steps to Reproduce:
      Hide

      Make many call's of facesContext.getApplication().getExpressionFactory() to invoke createValueExpression(...)

      Show
      Make many call's of facesContext.getApplication().getExpressionFactory() to invoke createValueExpression(...)

      Description

      When JSF integration create an ExpressionFactory, the instance created is not cached to be reused in next calls. The object creation in the Weblogic is expensive, because of JNDI lookup to obtain the BeanManager.

      My application has many runtime EL to be evaluated, and the request is spensive because of this ExpressionFactory creation overhead.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adolfojunior Adolfo Junior
                Reporter:
                adolfojunior Adolfo Junior
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: