This open source integration demonstrates the use of the Mojarra JSF implementation through a simple phonebook sample Web application deployed to Liberty.
This samples demonstrates the use of the Mojarra JSF implementation through a simple phonebook Web application deployed to Liberty.
This sample can be installed onto runtime versions 220.127.116.11 and later.
- Install the packaged server by typing ‘java -jar MojarraSample.jar’ and following the instructions.
- Start the MojarraSample server by running the command ‘bin/server run MojarraSample’ from the root of the Liberty profile installation, and confirm the application started by looking in the console output:
CWWKZ0001I: Application PhoneBookByMojarra started in XX.XX seconds.
- In your browser, enter the URL for the application: http://localhost:9106/PhoneBookByMojarra/ (where port 9106 assumes the httpEndpoint provided in the sample server.xml has not been modified).
- In your browser, you should see the phone book displayed.
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.
- PhoneBookByMojarra-0.1.war (the sample JSF application)
- Copyright.txt (copyright notice for this sample)
- readme.html (these instructions)
- server.xml (sample server using the Mojarra application)