A component-oriented framework for creating highly scalable web applications in Java.

Clone this repo:
  1. 8b90a1d TAP5-2816: SeleniumTestCase increase wait time on opening links by Ben Weidig · 6 days ago master
  2. 6ff6ded TAP5-2816: SeleniumTestCase replace By.link with By.xpath locator by Ben Weidig · 6 days ago
  3. 68fc38b TAP5-2809: Setting java toolchain in submodules where required by Ben Weidig · 12 days ago
  4. 34ffa9f core: XMLTokenStreamTest disabled for now by Ben Weidig · 12 days ago
  5. d087882 TAP5-2809: Update dependency version before 5.10 RC by Ben Weidig · 12 days ago

Tapestry is a component-oriented Java web app framework focusing on performance and developer productivity.

A component is just a reusable part of a page. It's trivially easy to create your own components, and Tapestry comes with a large number of components you can use (Form, Loop, Select, Checkbox, Grid, BeanEditor, etc.).

In Tapestry, each page and component is a simple Java POJO with a corresponding HTML template. The HTML template and corresponding Java class have the same name (e.g. “Breadcrumbs.html” and “Breadcrumbs.java”), so you don‘t have to tell Tapestry which template uses which Java class. It’s automatic.

Tapestry features live class reloading: change your Java code, refresh the browser and see the changes instantly.

AJAX support allows you to create responsive web interfaces while writing little to no JavaScript. (But if you like writing JavaScript, great, no problem, Tapestry gets out of your way.)

Quick Start

Main article: Getting Started

You can let Apache Maven create your initial project for you:

mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org

Maven will prompt you for the archetype to create (“Tapestry 5 Quickstart Project”) and the Tapestry version number (e.g., “5.4.3”). It also asks you to create a group id, artifact id (e.g., “newapp”) and version number for your app. Once Maven dowloads everything, then you can start the app:

$ cd newapp
$ mvn jetty:run

Then just send your browser to http://localhost:8080/newapp

See the Getting Started introduction as well as the Tapestry Tutorial for a deeper dive.

Main Docs

See https://tapestry.apache.org/documentation.html for the details on every Tapestry topic.