posted 16 years ago
Edvins,
I took that approach to make the examples easier to follow, with no "missing information". Segments of the code that illustrate new concepts are highlighted in bold, to draw attention to the relevant segments of the code.
The examples tend to be small, focused and self contained therefore listing them in their entirety made sense.
David
Author, <a href="http://www.packtpub.com/java-ee5-development-with-netbeans-6" target="_blank" rel="nofollow">Java EE 5 Development with NetBeans 6</a>