NetBeans
comes with bundled Tomcat, so you don't have to install a servlet container if
you have chosen NetBeans.
As soon as everything is installed, we shall create and run our first Tapestry 5 project
and then we shall have a look at what it consists of.
Please note that the approach described here is not the only possible approach. In
fact, the official Tapestry 5 tutorial written by Howard Lewis Ship recommends a
somewhat different set of tools and describes in great detail how to install them. Refer
to http://tapestry.apache.org/tapestry5/tutorial1/ for further information.
???
???
???
Creating Your Working Environment
[ 18 ]
Install a JDK
You might already have a JDK on your computer??”say, if you were doing any kind
of Java programming before, or if you are running Mac OS X that comes with a
preinstalled JDK. Even so, you will need to check the version of the JDK that you
have. Tapestry 5 makes an extensive use of annotations, and this feature appeared
in the Java language only in version 1.5 (also known as Java 5). So you need to make
sure that your version is not older than that.
Fortunately, you can check both things??”whether you have a JDK at all, and which
version it is??”by using just one command.
Pages:
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44