Installing Apache My Faces

You install Apache My Faces as follows:

  1. Download the Apache MyFaces JSF implementation from the Apache MyFaces Project website: http://myfaces.apache.org/

    Select the current release of Apache MyFaces, for example, myfaces-1.1.1.zip.

  2. Download the current release of Apache MyFaces, and unzip it into a folder, which will contain the following jar files:
    • myfaces-all.jar

    • myfaces-api.jar

    • myfaces-impl.jar

    Remove the myfaces-api.jar and myfacs-impl.jar files.

  3. Download the dependency jar files from the same site and copy the jar files of the folder myfaces-blank-example\WEB-INF\lib to the Apache MyFaces lib folder. You should have the following jar files:
    • commons-beanutils-1.6.1.jar

    • commons-codec-1.2.jar

    • commons-collections-3.0.jar

    • commons-digester-1.5.jar

    • commons-el.jar

    • commons-logging.jar

    • commons-validator.jar

    • log4j-1.2.8.jar

  4. Define a "JSF_LIB" variable in the PowerDesigner "General Options" window, Variables tab to indicate the Apache MyFaces implementation lib folder path.