• Post Reply Bookmark Topic Watch Topic
  • New Topic

Book Details

 
Michael McElwee
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presently own the book "JSP and Tag Libraries for Web Development" by Wellington L.S. da Silva. What does your book (Professional JSP Tag Libraries) cover that I do not get from the book I already have? Also, how much does it cost? Thanks.
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael
You can get all of the details on Simon's book here
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and there's some more information, including a summary of the contents and some sample chapters at http://www.projsptags.com.

As far as how it differs from the other tag books that's an excellent question. I wanted to provide insights into how to build tags from several different perspectives. First of all there is the usual "this is what is available, and this is how you use it" that demonstrates real world examples of basic tags, tags with attributes, iteration tags, body tags, cooperating tags, tags that introduce scripting variables and so on. In addition to this are the other facets of custom tag development that you don't often find covered such as validation with TagExtraInfo classes, validation with TagLibraryValidator classes and so on.
Something that I really wanted to cover alongside all of this stuff was best practices. For example, there are many ways in which tags can cooperate (e.g. using variables, directly, etc) so included in the text are various recommendations about when to use which mechanism, and the scenarios in which that mechanism can best be applied. Of course this is just one example and the best practices are part of every chapter.
The other aspect that makes my book different is that it has a couple of chapters dedicated to the best development techniques that span different types of tags. This covers low level issues such as tag pooling in the container and how to best make use of the tag lifecycle, to higher level issues such as how OO and component based development maps onto JSPs and custom tags, and a detailed comparison of JavaBeans vs. custom tags that brings to the forefront the issues around reusability and maintainability.
In essence, I wanted to write a book that dealt with as many of the custom tag features as possible, allowing anybody to start writing reusable, maintainable components.
Do take a look at the website and feel free to fire away with anymore questions you may have.
Simon
[ September 11, 2002: Message edited by: Simon Brown ]
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then who should read your book, Web authors or Java programmer? Thanks.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Doug Wang:
Then who should read your book, Web authors or Java programmer? Thanks.

I would say that it's more useful for Java developers that build or help to build JSP based web applications since it focuses on how to build custom tags rather than how to use them from a page author perspective.
However, included throughout the book are best practices that talk about how best to present functionality as tags so that it can be used in the easiest way possible. For example, during the discussion about the various tags, I also talk about how the user of those tags affects the way in which they should be implemented, in essence through the granularity of the tags. Developers typically want more control, whereas page authors generally want simplicity. This is, for example, achieved by abstracting away from the underlying programming techniques/concepts, and also by the language that is adopted when naming the tags.
Hope that answers your question...
Cheers
Simon
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!