• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Examples in Survival Guide

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just wondering what sort of example code can be found in the book. Are there lots of small examples, or is there a common example which is built upon as you progress through the book?
Thanks,
Mike
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is the link to the sample codes. As far as I saw in the sample chapter of the book, the author used lots of small examples to explain each chapter...
He said that the chapters in the book are not dependent to each other that much... So we can imagine that he used small examples, which are independent of each others in the chapters.. You might want to have a look at this thread also...
 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks - looking at the TOC I was wondering how dependent one chapter was on another. Since I really don't know anything about struts, the more areas that are covered, the better!
Mike
 
author
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Only two chapters use examples - Chapter 3 - The one that builds the first Hello World Struts and Chapter 7 - the one that ports the example to Tiles
In other chapters, I describe scenarios and then source code to solve the problem posed by the scenario - They can be almost called small examples.
Since best practices is really an assorted collection of strategies, tips and ideas, it is tough to use a single example throughout the book.
 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That makes sense - I didn't think about it that way... . Actually, I find it better to see examples that address specific situations anyway. You're more likely to find something that you can actually apply to your own particular problems.
Thanks,
Mike
 
reply
    Bookmark Topic Watch Topic
  • New Topic