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.
—
- Jetty is a well-known high-performance servlet container. Jetty starts up quickly, and implements the official Servlet specification very closely. ↩