Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18065

Distributed @SessionScoped @Stateful EJBs require excessive cache transactions per invocation

XMLWordPrintable

      @SessionScoped @Stateful EJBs org.jboss.weld.ejb.api.SessionObjectReference.isRemove() several times per EJB invocation. The current implementation (as of [1]) of this is far too expensive, and results in several cache transactions per invocation.
      Given that the purpose of this method is to throw a NoSuchEJBException, it should be sufficient to replace the current logic with a local variable.

      [1] https://github.com/wildfly/wildfly/commit/437515fed2ffa1c6f19b7fdd9b847e7974cc9e4d

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: