Wicket v6.6 Integration

This samples demonstrates Wicket framework 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 WicketSample

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

Offline installation:

  1. Download the WicketSample.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 WicketSample.jar

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

Running The Application

  1. Start the WicketSample server by running the command 'bin/server run WicketSample' from the root of the Liberty profile installation, and confirm the application started by looking in the console output":
    CWWKZ0001I: Application PhoneBookByPWicket started in XX.XX seconds.
  2. In your browser, enter the URL for the application: http://localhost:9116/PhoneBookByWicket (where port 9116 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
        • WicketSample
          • Copyright.txt
          • apps
            • WicketApp.war
          • lafiles
            • LA_en
            • LI_en
          • readme.html
          • server.xml
      • shared
        • config
          • WicketSampleLibs.xml
        • resources
          • WicketSampleLibs
            • log4j-1.2.16.jar
            • slf4j-api-1.6.4.jar
            • slf4j-log4j12-1.6.4.jar
            • wicket-core-6.6.0.jar
            • wicket-request-6.6.0.jar
            • wicket-util-6.6.0.jar