Getting StartedPage edited by Bob Harner
Comment:
Rewrote the intro paragraphs for better flow and clarity
Changes (6)
Full ContentGetting started with Tapestry is easy, and you have lots of ways to begin your adventure: watch a video, browse the source code of a working demo app, create a skeleton app using Maven, or step through the tutorial. Watch a short videoFor a fast-paced introduction, watch Mark W. Shead's 10 Minute Demo. This video shows how to set up a simple Tapestry application, complete with form validation, Hibernate-based persistence, and Ajax. The video provides a preview of the development speed and productivity that experienced Tapestry users enjoy. Play with a working demo appYou can also play with Tapestry via our live demonstration applications. To start, have a look at the Hotel Booking Demo. The source code is provided so you can download and play with it. Create your first Tapestry projectThe easiest way to start a new app 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. Once you have Maven installed, execute the following command (copy and paste it as-is) 1 : mvn -DarchetypeVersion=5.2.4 -Darchetype.interactive=false -DgroupId=com.example -DarchetypeArtifactId=quickstart -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.apache.tapestry -Dpackage=com.example.newapp -DartifactId=newapp --batch-mode -DarchetypeRepository=http://tapestry.apache.org archetype:generate Maven will (after performing a large number of one-time downloads) create a skeleton project ready to run. Because we specified an artifactId of "newapp", the project is created in the newapp directory. (Note: if you get "Unable to get resource" warnings at this stage, you may be behind a firewall which blocks outbound HTTP requests to Maven repositories.) To run the skeleton application, change to the newapp directory and execute: mvn jetty:run After some more one-time downloads you can open your browser to http://localhost:8080 to see the application running.
Change Notification Preferences
View Online
|
View Changes
|
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence
- [CONF] Apache Tapestry > Getting Started confluence