You will
see that a small blue circle appears there as shown in the following screenshot:
Now click on the small bug icon on the right side above the Servers view to start
Tomcat in debug mode. Click on the refresh link in the web browser. Eclipse will
now suggest to switch into a Debugging perspective??”accept that. Very soon you
will see something similar to what the following figure shows??”a rich array of
information that you can use to debug the application. Note the Variables view at
the top right that displays the values of the two currently available variables??”date
and message.
Chapter 2
[ 45 ]
When the debugging is over, press Ctrl + F2. You might want to switch back to the
Java EE perspective (there is a control for switching perspectives in the top right
corner of Eclipse's window).
From here, we can continue developing the application, debugging it when
necessary and this is exactly what we are going to do in the chapters that follow.
Creating Your Working Environment
[ 46 ]
Summary
The easiest way to create a foundation for a Tapestry project is to use Maven,
a popular project management tool. Maven will create a complete skeleton
of the project, with all necessary files and libraries already in place.
Pages:
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68