Lift v2.0 Integration

Download

This open source integration demonstrates Lift framework integration through a simple phonebook sample Web application deployed to Liberty.

Description

This sample demonstrates Lift 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.

Instructions

  1. Install the packaged server by typing ‘java -jar LiftSample.jar’ and following the instructions.
  2. Start the LiftSample server by running the command ‘bin/server run LiftSample’ from the root of the Liberty profile installation, and confirm the application started by looking in the console output":
    CWWKZ0001I: Application PhoneBookByLift started in XX.XX seconds.
  3. In your browser, enter the URL for the application: http://localhost:9105/PhoneBookByLift (where port 9105 assumes the httpEndpoint provided in the sample server.xml has not been modified).
  4. 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
        • LiftSample
          • Copyright.txt (copyright notice for this sample)
          • readme.html (these instructions)
          • server.xml (sample server using Lift shared library)
          • apps
            • liftApp
              • . . .
      • shared
        • config
          • LiftSampleLibs.xml (shared library configuration for Lift)
        • resources
          • LiftSampleLibs (Lift and pre-requisite libraries – downloadable during installation)