How to improve JSF/RichFaces performance

Tudip Technologies
1 min readMay 9, 2022

--

We have a complex ERP application that has RichFaces 3.3, JSF 1.2, Hibernate, Spring, MySQL which is running under JBoss on a 16GB AWS CentOS instance. This application has lot of grids, calendars, popups, tabs and richfaces components that any ERP application is expected to have.

Over a period of time, we realized that the performance of our application is pathetically slow and we started exploring options to improve the performance. We read several articles on this and to our surprise we discovered that lot of people are annoyed with slow performance of RF3.3. After various readings, we did following tweaks:

  • Tweaked the MySQL for better performance throughput.
  • Put together EHCache which has seamless integration with the Hibernate.
  • Tweaked the web.xml with all the suggestions available on the net.
  • Configured Niko parser (and our UI was all messed up!!)
  • Removed the theme changer, changed the loading strategy etc.
  • Used A4JRegion, Ajaxied tab loading etc
  • Used the ‘minimalist’ RichFaces themes
  • Changed bean scope

Our performance did improve but it was a very slight improvement. Our application was STILL crawling. And the most baffling performance bottleneck was that the simple page load itself was taking anywhere between 10–20seconds.

Read more: https://tudip.com/blog-post/improve-jsfrichfaces-performance/

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response