2

Why Wildfly uses Mojarra instead of MyFaces? In JSF-Comparison: MyFaces vs. Mojarra one of the main conclusions is

Apache MyFaces performs lifecycle runs a lot faster than Mojarra, no matter which state saving mechanism is used. [https://i.stack.imgur.com/4zcVX.png][1]

The truth of the said that article is irrelevant to WildFly but I'm just curious is it difficult to switch jsf impl to MyFaces in WidFly?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
rozero
  • 149
  • 3
  • 15

1 Answers1

2

The original article that the you refer to was very valid at the time it was posted. In the mean time (and way before you created your question) from the same site, just 1.5 months later is the follow up

So the truth of the article where this image comes from is very relevant.

The actual perfomance differences now are small and most overhead is in your code and that is where you can gain the most.

Steps/options for switching Mojarra for myfaces can be found all over the internet https://www.google.nl/search?q=using+myfaces+in+wildfly

One good article: https://developer.jboss.org/wiki/DesignOfWildFlyMulti-JSFFeature (summary would be to complex to add here, so just a link)

Kukeltje
  • 12,223
  • 4
  • 24
  • 47
  • Thanks, also I fount there that more than a year later they rerun the test suite http://blog.oio.de/2014/07/07/resurfaced-performance-issue-mojarra-fixed-2-2-7/ and they found that `An initial test showed that we can confirm this (2-2-7) and this latest release performs well even with larger component trees.` – rozero May 21 '15 at 18:44
  • Hmmm I always wondered why there were so many upvotes (don't think this answer deserved it, rather that the effort put in the question was to little since my answer came from the same site). But what I certainly did not expect was a downvote... weird... is it because I did not include text from the links I referred to? Explanation of why that is is in the answer. If the downvoter reads this, please respond... No hard feelings... – Kukeltje Nov 19 '15 at 13:29
  • @Kukeltje "The truth of the article where this image comes from is very relevant" - I also don't understand what the image has to do with the article credibility. Perhaps it was a different image when you posted the answer? In any case, my impression is that the article was considered to be credible, that an issue was filed, and that a fix for that issue was applied to a later release of Mojarra. So I think the downvotes came because the answer seems to cast doubt on the article credibility with no basis for doing so. – John Donn Aug 10 '16 at 10:17
  • @JohnDonn: Ok, that was certainly not my intention (and maybe due to not being a native English speaker). I rephrased it to make that clear. – Kukeltje Aug 23 '16 at 07:34
  • And now it is plus 7, minus 3... :-) – Kukeltje Aug 23 '16 at 07:58
  • @JohnDonn. Albeit 6+ year ago & searching for information re migrating WildFly Mojarra to MyFaces. An excellent response. I have encountered Mr. Kukeltje's sarcasm many times over the years ... – NOTiFY Jan 19 '23 at 10:42