Most Helpful Customer Reviews
17 of 17 people found the following review helpful:
2.0 out of 5 stars
Not Good..., June 30, 2007
This review is from: Expert Spring MVC and Web Flow (Expert's Voice in Java) (Paperback)
Other reviews have mentioned that there are many problems with the examples in this book. I can only reaffirm what they've said.
The other thing that I really didn't like was the disorganized fashion with which the examples were presented. The authors seemed to jump around describing one small section of the problem in great detail, then 3-4 pages later would give you the critical piece of information you needed to understand their example 3 pages before. I am a fan of examples that are logically presented:
First you do x,
Then you do y,
you configure x to point to y
now deploy it, type this in the url field, and there you go, it works.
I found these examples to be more like:
First you do x,
then let me tell you everything there is to know about x.
y is very important as well.
if you wanted to set up y you could do it like this.
of another popular way of configuring y is like this.
and then there's this thing called z.
z is also very important, and here's some more information about z.
But of course, before we can set up z, we need to configure x to point to y.
I'm sure you can figure out how to configure x and y.
that's it, we're done.
So when you're done reading you feel like you have increased your general knowledge of the subject, but you really don't know exactly what you're supposed to do to actually make something that works.
I also would have liked more information about using commons-validator with Spring MVC instead of so much detail on VaLang. This would have been especially helpful for people moving from Struts to Spring MVC.
Those are the negative aspects of the book. On a positive note, it is fairly well written. There is a lot of good information that will increase your general understanding of the MVC and WebFlow frameworks. I do use this book as a reference from time to time, and it has provided me some value in that respect.
Overall though, I do not recommend purchasing this book. I think you can get a better idea of the WebFlow framework just by using the documentation on Spring's website, downloading the framework and walking through the examples. As far as MVC I think this book is better in the MVC chapters than it is in the WebFlow chapters, but with the release of Spring 2.0 even those chapters are now out of date.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
27 of 32 people found the following review helpful:
5.0 out of 5 stars
Spring MVC In-depth && Spring Web Flow Introduction, July 4, 2006
This review is from: Expert Spring MVC and Web Flow (Expert's Voice in Java) (Paperback)
What is this book about?
Today, an abundance of MVC frameworks - each with its own pros and cons - plague a web-developers decision to choose one. Out of them, frameworks like Struts, Webwork and Maverick are deemed as request-driven frameworks, where as JSF and Tapestry are deemed as component-driven frameworks. Request-Driven broadly means, that the framework does not hide the HTTP-ness of the web world, but provides absractions that can simplify your job to handle them. Component-Driven means, that the web-framework seeks to hide the HTTP-ness, and provides the developer with an abstraction equivalent to Swing programming. Both types of frameworks have their own advantages and disadvantages. Spring MVC falls into the request-driven web frameworks category.
In my career, i have worked with many web frameworks. Out of all of them, i prefer Spring MVC for the following reasons
1. It has access to the full power of the Spring IoC and AOP container.
2. It is very well architected and brings true seperation of model, view and controller better than any other framework out there.
3. It is highly customizable.
4. It is interface driven, and doesnt force you to extend any framework classes.
5. It is easily testable - both unit and integration tests.
6. It helps apply good OO principles to the web-tier.
7. It provides easy-to-use template implementations of basic workflows.
8. It provides support for various view types(JSP, Velocity, Freemarker, etc) and completely decouples this support from other parts of the MVC.
9. It provides an exhaustive set of interface based hooks that one can customize or freshly implement for their own purposes.
10.And many more...
The above list is by no means exhaustive. So, i sincerely suggest to consider this framework if you are researching on an MVC implementation for your next project.
This book is all about Spring MVC and a sub-project called Spring Web Flow (SWF). Now, that you know what Spring MVC is, and where it fits into the plethora of available web-frameworks, you might be wondering what SWF is. Is it yet another web-framework that Spring supports? Is it a seperate implementation of Spring MVC? Is it something else? These kind of questions might come up, and i had all these questions in mind when spring announced SWF.
Anyways, SWF attacks a different problem. It is a seperate and self-contained framework, where you can define flows. Each flow is potentially a conversation between the user and the server over multiple pages and requests. The flows can be defined declaratively, and integrated with the MVC framework of your choice for execution. Spring MVC, Struts, JSF, Portlet MVC are supported out-of-the-box, but it is easy to implement an integration for your favorite framework.
How this book does it?
There are quite a few spring framework books around, that covers the entire framework. Sadly, none of those books gives Spring MVC enough importance and coverage is decent at best. Those books are geared towards covering the IoC and AOP features in-depth and finally when the book reaches the MVC section, they just breeze past it, not giving us enough practical ways to use it.
That is where this book comes in. This book takes from where other spring books leave and covers the entire Spring MVC framework in-depth. The author's writing skill is fabulous. You will be turning pages, before you even know. Typically, when you learn a new topic, you dont want to get into the details out-right. You want a complete mental picture first, then dive into details. That is exactly what the author does. He takes a topic and explains the overall picture in a couple of paragraphs. This first gives you the idea and scope of that topic. Then the author revisits the topic to explain it in depth with examples. I liked this approach very much. Trust me, I have read many spring books before, this one covering Spring MVC the best.
That said, this book is not for developers who are not familiar with spring. You should know Spring's IoC container, AOP, and other basic features before you can make sense out of this book. The author devotes one full chapter to provide a brief introduction to spring. That may be enough, but to be really confident, it is better if you first learn spring. I would suggest Pro Spring for that. Read my "Pro Spring" review for more information.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
10 of 13 people found the following review helpful:
1.0 out of 5 stars
Unable to get Chapter 4 example to even work, November 7, 2006
This review is from: Expert Spring MVC and Web Flow (Expert's Voice in Java) (Paperback)
I am so disappointed with this book, to say the least. I think it is very poorly edited.
Or maybe the book is not so bad, but I am unable to get my questions answered on support forums. If I were the author I would at least be monitoring a forum section devoted exclusively to this book, but no such luck.
While the explanation in the book seems OK, It looks like there is a lot left out in the code listings and illustrations. I am starting to think there is a section of chapter 4 missing from my printed copy.
Listing 4-3, page 45, I don't know if the authors wanted to call this class SearchFlights or FlightSearchCriteria. The confusion over the same issue continues in Listing 4-6, page 69, shows List<Flight> findFlights(SearchFlights search);
when it should probably read List<Flight> findFlights(FlightSearchCriteria search);
None of the Java listings give package declarations, you don't find out how to package this or what imports you need until you get to page 62, which shows a file layout. Fortunately I have been developing this in Eclipse, which has helped me find the imports.
That file layout on page 62, by the way, is missing the Airport class and introduces JSPs that haven't even been coded yet, nor has the SearchFlightsController Java class been developed yet.
I am not that much of a web development newbie - I've deployed web applications under Tomcat before. But I'm not finding either the book or the development community very helpful at this point.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
|