1

An application is installed to WebSphere 8. I would like to know if there is any way to check if the application is using MyFaces or Mojarra and the version used.

ROMANIA_engineer
  • 51,252
  • 26
  • 196
  • 186
bittersour
  • 867
  • 2
  • 9
  • 27

1 Answers1

2

Different ways for checking which vendor is it:

For the version, you can also retrieve its number from the FacesContext:

FacesContext.class.getPackage().getImplementationVersion();

That will return the major implementation version. To check the minor ones, see the second link attached, once you know the vendor.


It seems WebSphere 8 uses a MyFaces implementation by default. You could find the JSF implementation jar and open its MANIFEST.MF file, the implementation version must be stored there.

See also:

Community
  • 1
  • 1
Aritz
  • 29,795
  • 13
  • 135
  • 209