Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is my Glassfish3.1.2.2/MyFaces2.1.9/JSF-managed performing better than TomEE1.5+/CDI-managed?
    text
    copied!<p>I just migrated my web app from JSF managed beans to CDI managed beans, and I specifically wanted Tomcat or TomEE Plus to be the container of choice, because of the great things I heard about 'OpenWebBeans'. After deploying, configuring, and testing the TomEE 1.5+ / CDI-managed-beans web application, Full Page Refreshes are much much slower than Glassfish 3.1.2.2 / MyFaces 2.1.9 / JSF managed beans.</p> <p>With Glassfish 3.1.2.2 / MyFaces 2.1.9 / JSF managed beans, full page refreshes only take 2 to 3 seconds.</p> <p>With TomEE 1.5+ / CDI-managed-beans, full page refreshes take 5 to 10 seconds, and maybe even more than that at times. :(</p> <p>Can you please tell me why is that?</p> <p>Yesterday, prior to deploying the TomEE 1.5+ / CDI managed beans webapplication to the production server (Windows 2003 32-bit 4GB RAM and 1TB of diskspace), I read the following, which really did not answer my/this question at all:</p> <p><a href="https://stackoverflow.com/questions/3557679/glassfish-v3-vs-tomcat-7">glassfish v3 vs tomcat 7</a></p> <p>I read that PPR is better on performance than FPR, but my session timeout/management implementation involved the following:</p> <ol> <li><p>LoginFilter (servlet filter)</p></li> <li><p>the following in h:head</p></li> </ol> <p>meta http-equiv="refresh" content="#{session.maxInactiveInterval};url=pf_viewExpired.jsf"</p> <p>Is CDI more (time) expensive than JSF managed beans, or is TomEE the container of choice for CDI? I know that JBoss (or Weld) is or has the reference implementation for CDI, so it may be best to consider JBoss/Weld.</p> <p>Prior to completing the task of migrating from JSF-managed bean to CDI-managed bean (as well as migrating from Glassfish to TomEE), I had issues starting CDI-managed-bean web app on Glassfish/Weld.</p> <p>Please answer the following questions above, and/or advise. Thanks.</p>
 

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