Search code examples
jsfjsf-2webspherewebsphere-7mojarra

What are the advantages of Mojarra JSF over IBM JSF (which is by default on Websphere7 server)


I am using Websphere7 server and it is shipped with a default IBM version of JSF. Are there any benefits that I may get from overriding the default IBM JSF with Mojarra JSF?

If I use Mojarra with Webspehere7, will I gain something?Should I go with the default IBM JSF implementation?


Solution

  • It depends on what you do and need.

    WebSphere Application Server 7 already comes with two different JSF flavors. One the Mojorra and the other one is MyFaces. You can even switch the implementation in the WebSphere Administration Console. They added some WebSphere specific patches.

    I'm not sure if they update the JSF implementation with their fix packs. If you need a specific patch you could go for the original implementation, however I would usually stay with the default implementation.

    The built in libraries for WAS7 are JSF 1.2, because its a Java EE 5 server. When exchanging the libraries you can use JSF 2.0. Make sure you set up the classloading correctly.