Tapestry v5.3.6 Integration

Description

This samples demonstrates Tapestry component 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 TapestrySample.jar' and following the instructions.
  2. Start the TapestrySample server by running the command 'bin/server run TapestrySample' from the root of the Liberty profile installation, and confirm the application started by looking in the console output:
    CWWKZ0001I: Application PhoneBookByTapestry started in XX.XX seconds.
  3. In your browser, enter the URL for the application: http://localhost:9115/PhoneBookByTapestry/ (where port 9115 assumes the httpEndpoint provided in the sample server.xml has not been modified).
  4. In your browser, you should see the phone book displayed.

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
        • TapestrySample
          • Copyright.txt
          • apps
            • PhoneBookByTapestry-1.0.0.war
              • WEB-INF
                • classes
                  • com
                    • ibm
                      • ws
                        • samples
                          • components
                            • Layout.class
                            • Layout.java
                            • Layout.tml
                          • pages
                            • Index.class
                            • Index.java
                            • Index.properties
                            • Index.tml
                          • phonebook
                            • PhoneBookEntry.class
                            • PhoneBookEntry.java
                            • SimplePhoneBookManager.class
                            • SimplePhoneBookManager.java
                  • log4j.properties
                • web.xml
              • layout
                • layout.css
          • bootstrap.properties
          • lafiles
            • LA_en
            • LI_en
          • readme.html
          • server.xml
      • shared
        • config
          • TapestrySampleLibs.xml
        • resources
          • TapestrySampleLibs
            • antlr-2.7.7.jar
            • antlr-runtime-3.3.jar
            • commons-codec-1.5.jar
            • javassist-3.12.1.GA.jar
            • javax.inject-1.jar
            • js-1.7R2.jar
            • log4j-1.2.14.jar
            • plastic-5.3.6.jar
            • slf4j-api-1.6.1.jar
            • slf4j-log4j12-1.6.1.jar
            • stringtemplate-3.2.1.jar
            • tapestry-core-5.3.6.jar
            • tapestry-func-5.3.6.jar
            • tapestry-ioc-5.3.6.jar
            • tapestry-json-5.3.6.jar
            • tapestry-yuicompressor-5.3.6.jar
            • tapestry5-annotations-5.3.6.jar
            • yuicompressor-2.4.7.jar

External Dependencies

The table below shows the dependencies that are required for: Tapestry sample shared libraries..

Target install path Source URL
shared/resources/TapestrySampleLibs/tapestry-core-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/tapestry-core/5.3.6/tapestry-core-5.3.6.jar
shared/resources/TapestrySampleLibs/tapestry-json-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/tapestry-json/5.3.6/tapestry-json-5.3.6.jar
shared/resources/TapestrySampleLibs/antlr-runtime-3.3.jar http://search.maven.org/remotecontent?filepath=org/antlr/antlr-runtime/3.3/antlr-runtime-3.3.jar
shared/resources/TapestrySampleLibs/stringtemplate-3.2.1.jar http://search.maven.org/remotecontent?filepath=org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar
shared/resources/TapestrySampleLibs/antlr-2.7.7.jar http://search.maven.org/remotecontent?filepath=antlr/antlr/2.7.7/antlr-2.7.7.jar
shared/resources/TapestrySampleLibs/tapestry-ioc-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/tapestry-ioc/5.3.6/tapestry-ioc-5.3.6.jar
shared/resources/TapestrySampleLibs/tapestry5-annotations-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/tapestry5-annotations/5.3.6/tapestry5-annotations-5.3.6.jar
shared/resources/TapestrySampleLibs/slf4j-api-1.6.1.jar http://search.maven.org/remotecontent?filepath=org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
shared/resources/TapestrySampleLibs/tapestry-func-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/tapestry-func/5.3.6/tapestry-func-5.3.6.jar
shared/resources/TapestrySampleLibs/slf4j-log4j12-1.6.1.jar http://search.maven.org/remotecontent?filepath=org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar
shared/resources/TapestrySampleLibs/javax.inject-1.jar http://search.maven.org/remotecontent?filepath=javax/inject/javax.inject/1/javax.inject-1.jar
shared/resources/TapestrySampleLibs/plastic-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/plastic/5.3.6/plastic-5.3.6.jar
shared/resources/TapestrySampleLibs/log4j-1.2.14.jar http://search.maven.org/remotecontent?filepath=log4j/log4j/1.2.14/log4j-1.2.14.jar
shared/resources/TapestrySampleLibs/javassist-3.12.1.GA.jar http://search.maven.org/remotecontent?filepath=javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar
shared/resources/TapestrySampleLibs/commons-codec-1.5.jar http://search.maven.org/remotecontent?filepath=commons-codec/commons-codec/1.5/commons-codec-1.5.jar
shared/resources/TapestrySampleLibs/tapestry-yuicompressor-5.3.6.jar http://search.maven.org/remotecontent?filepath=org/apache/tapestry/tapestry-yuicompressor/5.3.6/tapestry-yuicompressor-5.3.6.jar
shared/resources/TapestrySampleLibs/yuicompressor-2.4.7.jar http://search.maven.org/remotecontent?filepath=com/yahoo/platform/yui/yuicompressor/2.4.7/yuicompressor-2.4.7.jar
shared/resources/TapestrySampleLibs/js-1.7R2.jar http://search.maven.org/remotecontent?filepath=rhino/js/1.7R2/js-1.7R2.jar

Support Information

For further information and resources for developers using IBM WebSphere Application Server, please visit wasdev.net.

Licensed Materials - Property of IBM © Copyright IBM Corp. 1997, 2013. All Rights Reserved. IBM, and the IBM logo are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at Copyright and trademark information.