You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

General Questions

How do I get started with Tapestry?

The easiest way to get started is to use Apache Maven to create your initial project; Maven can use an archetype (a kind of project template) to create a bare-bones Tapestry application for you.

One you have Maven installed, execute the command mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org. Maven will (after performing a large number of one-time downloads) ask you questions about how to create the new project, including a group id (like a package name) and an artifact id for your new project. Once it is created, you can load it into any IDE and start coding, or use mvn jetty:run 1 . Again, more one-time downloads, but then you can open you browser to http://localhost:8080 to run the application.

Limitions

How do I add new components to an existing page dynamically?

The short answer here is: you don't. The long answer here is you don't have to, to get the behavior you desire.

One of Tapestry basic values is high scalability: this is expressed in a number of ways, reflecting scalability concerns within a single server, and within a cluster of servers.

Although you code Tapestry pages and components as if they were ordinary POJOs 2

Specific Errors

  1. Jetty is a well-known high-performance servlet container. Jetty starts up quickly, and implements the official Servlet specification very closely.
  2. Plain Old Java Object. Tapestry does not require you to extend any base classes or implement any special interfaces.

  • No labels