PrimeFaces v3.5 Integration

This samples demonstrates PrimeFaces component suite integration through a simple phonebook Web application deployed to Liberty.

This sample can be installed onto runtime versions 8.5.5.0 and later.

Installation Instructions

Online installation (requires 8.5.5.6 or later):

  1. Install the sample by running the command below from the bin directory of your server installation:
    installUtility install PrimeFacesSample

Any missing features required by the server will be installed for you.

Offline installation:

  1. Download the PrimeFacesSample.jar using the download button at the top of the page and place it in the root of your server installation.
  2. Extract the sample into the Liberty installation by running the command below from the root of your server installation:
    java -jar PrimeFacesSample.jar

Any missing features required by the server will need to be installed separately.

Running The Application

  1. Start the PrimeFacesSample server by running the command 'bin/server run PrimeFacesSample' from the root of the Liberty profile installation, and confirm the application started by looking in the console output":
    CWWKZ0001I: Application PhoneBookByPrimeFaces started in XX.XX seconds.
  2. In your browser, enter the URL for the application: http://localhost:9108/PhoneBookByPrimeFaces (where port 9108 assumes the httpEndpoint provided in the sample server.xml has not been modified).
  3. In your browser, you should see a phone book shown up.

Notes

This sample does not include the open source dependencies. The installer will provide a list of the open source pre-requisite libraries and where they can be downloaded from. To help obtaining these libraries, the installer provides the option to download them on your behalf.

Sample Structure

  • wlp
    • usr
      • servers
        • PrimeFacesSample
          • Copyright.txt
          • apps
            • PrimeFacesApp.war
            • primefacesApp.war
          • lafiles
            • LA_en
            • LI_en
          • readme.html
          • server.xml
      • shared
        • config
          • PrimeFacesSampleLibs.xml
        • resources
          • PrimeFacesSampleLibs
            • primefaces-3.5.jar