Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Tapestry 5: Building Web Applications: A step-by-step guide to Java Web development with the developer-friendly Apache Tapestry framework Paperback – January 15, 2008
|New from||Used from|
About the Author
Alexander Kolesnikov is an author and software developer from Greenock, Scotland. He wrote his first program in FORTRAN back in 1979 for a computer that occupied several rooms. He currently works as a Java Web Developer for CIGNA International. A Soviet military researcher in the past, he recently graduated as a Master of Science with Distinction in Enterprise Systems Development from Glasgow Caledonian University and has also gained a number of professional certifications from Sun Microsystems (SCJP, SCWCD, SCBCD). His first book on software development was "Java Drawing With Apache Batik" (BrainySoftware, 2007). He is interested in many things, ranging from the most recent web technologies to alternative medicine and wishes wholeheartedly that a day was at least three times longer than it is.
If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 80%). Print edition purchase must be sold by Amazon. Learn more.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
Top Customer Reviews
As this book was obviously written a couple of years back, a lot of information is out-dated. I had to jump through quite a number of hoops, looking for info and tips on the web, to get the project going. There are numerous errors starting from using Maven to create a Tapestry 5 project all the way down to attributes of form tags. While some of these errors are minor and are caused by the continued evolution of Tapestry 5, they put a considerable damper on my learning process and make it unnecessarily frustrating.
A major omission from this book is the integration with any ORM tool such as Hibernate. In my opinion, this leaves the book "half-baked." After going through this book, one would not be able to create a "real" project that include DB persistence. All in all, whether you are experienced in Java EE or not, if you wish to learn Tapestry 5, you will be much better off by following Ship's official tutorial listed above instead of using this book.
After the introduction to Tapestry, its history and reasons why developers should look at Tapestry, Chapter 2 of the book describes how to create a working environment. This chapter assumes the reader has little Java knowledge as it first describes how to install the relevant JDK and Maven for both Windows and Mac OS X. Maven is not however used as the build system throughout the book, but is instead used for its support for building project templates. I found this to be an excellent idea as it enables the reader to concentrate on learning Tapestry rather than learning the intricacies of Maven. Chapter 2 continues and describes how to create basic Tapestry projects and how to open, run and debug them within both Eclipse and NetBeans. I was pleased to see that the book covers both Eclipse and NetBeans throughout whenever it refers to managing Tapestry projects within IDEs.
In Chapter 3 of the book, "The Foundations of Tapestry", Alexander describes the architecture of a Tapestry 5 application and how each page consists of an XML page template and a corresponding page class. The chapter starts by taking the simple Tapestry 5 application created in the previous chapter and describing the various components and how they all fit together, including what happens when applications crash and need debugging.Read more ›
The biggest problem of the book is lack of best practises. In fact, I think many things were shown in a way that should be avoided. When showing page flow author uses session scoped variables or tiring serialization instead of using local, request scoped, variables whenever possible. Component, that should be reusable, created at the end of the book requires big changes of the validation on a page that wants to use that component. So have we just created bad component or the code developed through the whole book was badly designed? Chapter about validation doesn't go far beyond 'hello world' and for sure doesn't meet nowadays market needs. And there is no answer if it's tapestry that sucks because it doesn't provide anything more or just the book doesn't say anything useful.
All the rest are small things: very verbose language, similar concepts introduced in many different places, variables named 'c', awkward IDE setup etc. Although irritating, you can live with them.
What are the pros of the book? First of all: it exists. As there aren't many books about tapestry 5 (only one in English?). Furthermore it shows some of the basic concepts of tapestry. Once it even goes beyond 'hello world' and shows hand-made partial form submission using js. The whole book is about developing a single application so all introduced concepts are ordered properly, for me, much better than online tutorials. You can see how easy is to start. The book is very straight and avoids complicated language, you can read it very fast.
To sum it up.Read more ›
Still, if you are somewhat experienced in setting up development environments and installing the JDK, you should be able to get this working. Chapter 2 focuses on setting up your environment and references some now out-of-date tools. For example, it tells you to use Maven 2.0.5 and explicitly says not to use Maven 2.0.7, whereas Maven is currently on 3.x. It also refers to non-current IDE versions for which the setup instructions differ from the included screenshots.
I was able to get the IDE set up with the latest tools after some trial and error combined with some Google searches on problems I was having. But if you need hand-holding in getting the development environment set up, you should look for a more recent book or agree to look for a web tutorial to set up the IDE and use the rest of the book for becoming familiar with Tapestry.
Personally, I'm not sure I fault the book for this. While I'm sure Tapestry is, internally, a great framework for Java web development, the path it has taken in terms of backwards compatibility of the framework and its various support tools seems chaotic. I'm sure there are good reasons for it, but you can't fault a 4-year-old book for not being able to see the future. And you can credit the book for trying to document this thing -- there are not many Tapestry books out there, particularly of version 5.
If your main interest is in understanding how Tapestry works and why it's a good choice for Java-based web development, this book does the job. It's a thin book and is more of a fast way to get the general idea than anything else. If you already have experience in development, this is the kind of book that can bring you up to speed quickly so, for that, I'm happy with it.
Most Recent Customer Reviews
The author Alexander Kolesnikov has significant experience in programming, dating back to 1979 and Fortran. This is his second book that follows the one published in 2007. Read morePublished on January 11, 2010 by Micha Grzejszczak
[...]This book is written with very simple examples. Few things are here and there but over all, this book will help you to get started in right direction. Read morePublished on February 27, 2009 by Bakul P. Brahmbhatt
I received an offer to review the Tapestry 5 by Alexander Kolesnikov from Packt Publishing. I use JSF for most of my web based work and I knew nothing about Tapestry save the name. Read morePublished on April 17, 2008 by John Yeary
I really enjoyed reading Alexander's book on Tapestry 5. What I liked most was the fact that it takes the reader all the way from setting up the development environment to advanced... Read morePublished on April 11, 2008 by BrianH
Tapestry 5: Building Web Applications was not written by the creator of Tapestry, but the author Alexander Kolesnikov is a contributor to the project and has been associated with... Read morePublished on March 18, 2008 by David O'Meara
The book claims to be a step-by-step guide for those who want to build contemporary web applications. And it does stick to the objective. Read morePublished on March 17, 2008 by sankarshan
Small and detailed book for quickly jumping to the details of T5.
It also helps to understand the new Java 5 features through out the examples. Read more