English 中文(简体)
Apache Tapestry - Installation
  • 时间:2024-11-03

Apache Tapestry - Installation


Previous Page Next Page  

In this chapter, we will discuss how to install Tapestry on our machine.

Prerequisite

Tapestry s only dependency is Core Java. Tapestry is developed independently without using any third party pbrary / framework. Even the IoC pbrary used by tapestry is developed from the scratch. Web apppcation written in tapestry can be built and deployed from console itself.

We can use Maven, Ecppse and Jetty to improve the development experience. Maven provides quick start apppcation templates and options to host apppcation in Jetty, Java s de-facto development server. Ecppse provides extensive project management features and integrates well with maven.

An ideal tapestry apppcation development needs the following −

    Java 1.6 or later

    Apache Maven

    Ecppse IDE

    Jetty Server

Verify Maven Installation

Hopefully, you have installed Maven on your machine. To verify the Maven installation, type the command given below −

mvn --version

You could see the response as shown below −

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-1110T22:11:47+05:30) 
Maven home: /Users/workspace/maven/apache-maven-3.3.9 
Java version: 1.8.0_92, vendor: Oracle Corporation 
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre 
Default locale: en_US, platform encoding: UTF-8 
OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac"

If Maven is not installed, then download and install the latest version of maven by visiting the Maven website.

Download Tapestry

The latest version of tapestry is 5.4 and can be downloaded from the Tapestry website. It is enough to download the binary package. If we use the Maven Quick Start Template, then it is not necessary to download Tapestry separately. Maven automatically downloads the necessary Tapestry Jars and configures the apppcation. We will discuss how to create a basic Tapestry Apppcation using Maven in the next chapter.

Advertisements