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
  • 54,432
  • 29
  • 203
  • 199
bittersour
  • 937
  • 2
  • 11
  • 32

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
  • 30,971
  • 16
  • 136
  • 217