Reputation: 1065
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?
Upvotes: 0
Views: 920
Reputation: 12538
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.
Upvotes: 3
Reputation: 813
Are there any benefits that I may get from overriding the default IBM JSF with Mojarra JSF ?
No, There are no extra benifits. The specification is same only the implementation differs.
Mojarra is implemented by Oracle. It is more stable implementation of JSF.
yes, you can go with default IBM JSF implementation.
Upvotes: 0
Reputation: 27496
I think that there is only slight difference. Basically some of the original JSF libraries has been replaced with some others to work smoothly with IBM Websphere. So it's not recommended to use Mojarra (and you don't have any reason for that) because it can cause you unnecessary problems. Also see this article from IBM.
Upvotes: 0