Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSF Render Response slow performance due to Mojarra

Sydney H.Aug 4 2015 — edited Aug 7 2015

Hi,

JDev 11.1.2.4

We are facing really bad performance issue even with a 10GB dedicated server. The main bottleneck is the JSF Render Response which can take up to 20 seconds.

So we added a phase listener that counts the number of components in the component tree.

https://blog.oio.de/2013/01/11/how-to-get-the-total-number-of-components-in-the-jsf-component-tree/

Here are some results:

<ComponentCounter> <beforePhase> Number of Components: 1209

<ComponentCounter> <beforePhase> Number of Components: 230973

<ComponentCounter> <beforePhase> Number of Components: 5228

<ComponentCounter> <beforePhase> Number of Components: 1136

<ComponentCounter> <beforePhase> Number of Components: 1874481

Yes you read it well the component tree has almost 2 millions objects.

Then we found an article about mojarra performance on huge tree component (1000+). Basically Mojarra performance is not linear (exponential), so it performs badly on huge tree component.

https://blog.oio.de/2013/04/08/jsf-comparison-myfaces-vs-mojarra/

The previous article refers to Mojarra 2.1.14 and on that same blog, they mention that the version Mojarra 2.1.22 is far better (linear performance).

https://blog.oio.de/2013/05/16/jsf-performance-mojarra-improves-dramatically-with-latest-release/

I checked what is the Mojarra version shipped with ADF 11.1.2.4 and I found out it's an old version and also a SNAPSHOT version (really ????): Mojarra 2.0.9-SNAPSHOT

Is there a way to upgrade Mojarra version to 2.1.22 and get the performance boost? Or are we stuck with that version and bad performance?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2015
Added on Aug 4 2015
7 comments
1,439 views