Tapestry 5.1.0
Tapestry is very good for creating presentation layer. It’s feel like we code PHP, or Ruby! We don’t waste our time to wait restarting our server. And the container itself will run only in 2 secs (Jetty). It’s Unbelievably!!
How to start your tapestry?
My goal is to start Tapestry from my Eclipse, using Maven Eclipse integration.
For newbie, you can use Maven to start your project. Maven is a project that creating such a template project for you. The easiest way to start Maven on Eclipse is following these tutorial:
http://m2eclipse.sonatype.org/installing-m2eclipse.html
After that you can do these following article to start your tapestry project:
http://tapestry.apache.org/tapestry5/tutorial1/first.html and so on, and so on.
It’s fun right?
Noted, for this following tutorial http://tapestry.apache.org/tapestry5/tutorial1/hilo.html, it might be difficult to implement due to error on implement code on Guess.java:
if (guess == target) return gameOver.initialize(count);
Dont be afraid, the solution is you must add:
@InjectPage
private GameOver gameOver;
on Guess.java
Ok, thats all.
For better understanding, please visit these site: