Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As inidicated in the comments above, I am working with OpenEJB (TomEE) committers to resolve this issue. Personally, I feel the issue is possibly due to the following:</p> <ol> <li>CDI managed beans defined and referenced in the app</li> <li>Possible CDI cyclic references (which will possibly be resolved in CDI 1.1)</li> <li>A really large CDI @SessionScoped bean, which references/injects many other CDI beans to accomplish business logic (or tasks) within the app</li> <li>TomEE/OpenWebBeans (which is still under development)</li> </ol> <p>So, the answer remains to be determined. I opened the following OpenEJB JIRA for this issue (URL below). Feel free to watch this JIRA, if interested.</p> <p><a href="https://issues.apache.org/jira/browse/OPENEJB-1955" rel="nofollow">TomEE 1.5.1 SNAPSHOT (and CDI beans) running slow on my production server</a></p> <p>UPDATE:</p> <p>Now, TomEE/CDI-managed-beans is performing just as well as Glassfish/JSF-managed-beans on the production server, because I recently did the following:</p> <ol> <li>replace frequently-used dynamic SQL with @entity named queries</li> <li>added query hints to JPA createQuery() and createNamedQuery()</li> <li>replaced frequently-used rendered="#{EL expression}" with new facelets and ui:include src="#{EL expression}", since TomEE committers advised that rendered="#{EL expression}" gets called 6 times.</li> </ol> <p>So, my TomEE/CDI-managed-beans is now running on production server and I'm monitoring performance and enduser reports/experience.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload