Expert Spring MVC and Web Flow (Expert's Voice in Java) and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading Expert Spring MVC and Web Flow (Expert's Voice in Java) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Expert Spring MVC and Web Flow (Expert's Voice in Java) [Paperback]

Colin Yates , Seth Ladd , Steven Devijver , Darren Davison
3.0 out of 5 stars  See all reviews (21 customer reviews)

List Price: $44.99
Price: $30.27 & FREE Shipping. Details
You Save: $14.72 (33%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Wednesday, May 22? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $19.79  
Paperback $30.27  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

February 24, 2006 Expert's Voice in Java

Expert Spring MVC and Web Flow provides in-depth coverage of Spring MVC and Spring Web Flow, two highly customizable and powerful web frameworks brought to you by the developers and community of the Spring Framework. Spring MVC is a modern web application framework built upon the Spring Framework, and Spring Web Flow is a new project that compliments Spring MVC for building reusable web controller modules that encapsulate rich page navigation rules. Along with detailed analysis of the code and functionality, plus the first-published coverage of Spring Web Flow, this book includes numerous tips and tricks to help you get the most out of Spring MVC, Spring Web Flow, and web development in general.

Spring MVC and Spring Web Flow are engineered with an important consideration for design patterns and expert object oriented programming techniques. This book explains not only the design decisions of the frameworks, but also how you can apply similar designs and techniques to your own code.

This book takes great care in covering every inch of Spring MVC and Spring Web Flow to give you the complete picture. Along with all the best known features of these frameworks, you’ll discover some new hidden treasures. You’ll also learn how to correctly and safely extend the frameworks to create customized solutions.

From beginner to expert, this book is for anyone who wishes to write robust, modern, and useful web applications with the Spring Framework.

Table of Contents

  1. Introduction
  2. Spring Fundamentals
  3. Spring MVC Application Architecture
  4. Jump into Spring MVC
  5. The Processing Pipeline
  6. The Controller Menagerie
  7. The View Layer
  8. Supported View Types
  9. Validation
  10. Testing Spring MVC Applications
  11. Introduction to Spring Web Flow
  12. Advanced Spring Web Flow

Frequently Bought Together

Expert Spring MVC and Web Flow (Expert's Voice in Java) + Struts 2 in Action
Price for both: $61.80

Buy the selected items together
  • Struts 2 in Action $31.53

Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Colin Yates is a J2EE principal architect who specializes in web-based development. He has been a freelance consultant for the past three years and has worked in a number of environments, both structured and chaotic. Since graduating with a software engineering degree in 1997, he has held a number of positions, including development lead, principal systems engineer, mentor, and professional trainer. His principal skill set includes mentoring others, architecting complex problems into manageable solutions, and optimizing development processes. 

Colin was first introduced to the Spring Framework in January 2003 by his mentors, Peter Den Haan and David Hewitt, and he has never looked back. After a couple of years using the Spring and Hibernate technology stack to good effect, in May 2005 he became one of the early adopters of Spring Web Flow, finally finding the missing item in the web development toolbox. A self-confessed addict of the green bar that comes from following test-driven development and XP, Colin regularly frustrates new team members by introducing a continuous build environment.

When not hanging around the Spring support forums (http://forum.springframework.org), Colin can be found out walking with his wife and two dogs, practicing martial arts, attending his local church, or preparing for the arrival of his first child.



Seth Ladd is a software engineer and professional Spring Framework trainer and mentor specializing in object-oriented and testable web applications. He started his own company building websites at age 17, but now enjoys having a real job. Currently working for Camber Corporation, Seth has built and deployed systems for NEC, Rochester Institute of Technology, Brivo Systems, and National Information Consortium. He has architected and developed enterprise applications in Java and C for both the server and remotely connected embedded devices. He enjoys speaking and teaching, and is a frequent presenter at local Java user groups and at corporate developer conferences. Seth is very thankful for living and working in Kailua, Hawaii, with his wife.

Steven Devijver is an experienced Java developer who started developing J2EE applications in 2000. In 2003 he discovered the Spring Framework, and since then he has been one of its most enthusiastic users. Steven is a senior consultant at Interface21, teaching hundreds of students every year about the Spring Framework.

Darren Davison is a principal consultant for UPCO, specializing in J2EE and open source Java technologies. He has been involved with Spring since the summer of 2003, well before its 1.0 release, and he used the framework to underpin a global intranet site for an investment bank. Darren has previously worked for multinational manufacturing and engineering companies on e-business, infrastructure, and many web-based projects. Away from work, Darren enjoys the never-ending journey of discovery that is GNU/Linux. When not in front of a computer screen, he likes reading and any form of live entertainment.

Product Details

  • Paperback: 424 pages
  • Publisher: Apress; 1 edition (February 24, 2006)
  • Language: English
  • ISBN-10: 159059584X
  • ISBN-13: 978-1590595848
  • Product Dimensions: 7.1 x 1 x 9.1 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (21 customer reviews)
  • Amazon Best Sellers Rank: #191,127 in Books (See Top 100 in Books)

Customer Reviews

Those are the negative aspects of the book. C. Latimer  |  5 reviewers made a similar statement
This book takes from where other spring books leave and covers the entire Spring MVC framework in-depth. Ganeshji Marwaha  |  4 reviewers made a similar statement
Most Helpful Customer Reviews
22 of 22 people found the following review helpful
2.0 out of 5 stars Not Good... June 30, 2007
Format: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.
Comment | 
Was this review helpful to you?
28 of 35 people found the following review helpful
Format: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.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
2.0 out of 5 stars Poorly organized and obsolete January 25, 2008
Format:Paperback
I completely agree with the reviewer who points out how almost chaotically the information is delivered in this book - for the most part. Generally, you need to skip from section to section and back a few times before you can get all the pieces together. That's unacceptable. It's impossible to use this book as a convenient reference since each example generally provides only partial answers, and you have to scan back and forth through the pages to look for the clarification on the missing pieces. Often, the coverage is quite superficial. The official Spring Reference Guide on the Spring site does not get into too much detail on Spring MVC, leaving out lots of important and interesting details. Nevertheless, much more - and better - information is indeed available on-line today - at no cost. I haven't yet seen a perfect one-stop source for Spring MVC, but this book is definitely a waste of money. It may have been okay a couple of years ago when much less info was available online, but certainly not today.

The only part of this book that is very well written is the chapters on Spring Web Flow. Indeed, it appears that the chapters were written by someone other than the authors of the rest of the book. Someone who understood and appreciated the importance of a very thoughtfully organized FLOW of any sequence of logical steps, be it a software application, or a flow of information such as an instructions manual, or a tutorial. That's why Colin Yates, the apparent main contributor to Chapters 11 and 12 (on Spring Web Flow), does a much better job than the rest of the authors. Unfortunately, those Web Flow chapters are largely obsolete today. Some code in the book won't work. You'll immediately see that the classes in the org.springframework.webflow.test package you get with your latest Webflow distribution differ from the ones used in the book's examples. What's even worse is that the flow configuration XML files in the examples apparently use the old/obsolete XML schema. That means you shouldn't use them as examples for your own code. Just compare the code from the latest Spring [on-line] Reference Guide and the examples in the book and you will instantly see the difference.

For a very good introduction to Spring Web Flow, see the Spring Reference Guide (http://static.springframework.org/spring-webflow/docs/1.0.x/reference/introduction.html) and the article by the author of Spring Web Flow at http://www.ervacon.com/products/swf/intro/index.html, which is excellent.

Do not waste money on this book! Honestly. ;)
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
3.0 out of 5 stars Pretty messy
First, to much usual "architectural" blah-blah and marketing, copy-pasted from other books like this. Read more
Published 1 month ago by Dimitri K
1.0 out of 5 stars Unorganized and incomplete
I had trouble getting what I needed out of this book. It was a little unorganized and fragmented.

I suggest Spring Recipes.
Published 22 months ago by paul williams
5.0 out of 5 stars Well written, thorough book - Great reference
Learning Spring is a valuable undertaking, and this book was one of the better books I have read. I would suggest another book to cover the Spring fundamentals, as this book is... Read more
Published on July 7, 2010 by Colin Sulin
2.0 out of 5 stars Very Shabby !!
I think the author is technically good but very shabby & lazy! .. as usual with developers (including me). Thats why developers dont make good authors. Read more
Published on April 2, 2010 by Ronn Macc
3.0 out of 5 stars Web Flow lightly covered
I bought this book with the hope of getting a better idea of how I should build the Web Flow flows in my Grails ( [...]) application. Read more
Published on August 4, 2008 by Keith S. Thomas
4.0 out of 5 stars Great book when Spring WebFlow was just being released
The book was great pre-release book, but like most programming books for specific frameworks becomes almost useless within a few months
Published on June 9, 2008 by Kelly Evarts
3.0 out of 5 stars Material is worthy of a strong 4 stars, but poor editing makes it 3
The book provides really good information and I was able to build out an application after reading it. Read more
Published on October 17, 2007 by Loc Nguyen
1.0 out of 5 stars Great fiction
As computer books continue their never ending slide into the abyss, Apress and Manning seem to be leading the way. This book is one of the best works of fiction ever written. Read more
Published on September 27, 2007 by Bryon S. Lape
4.0 out of 5 stars Very good, needs more on WebFlow
I had been developing within Spring MVC for about half a year before I purchased this book. The section on testing Spring MVC was a little sparse, and the authors should have... Read more
Published on April 27, 2007 by D. Young
1.0 out of 5 stars Not enough Form examples
There were not enough form examples. It is fine if you want to do binding with a text input form only, but if you want to do radio buttons, selects or hidden input boxes that have... Read more
Published on February 25, 2007 by Rachel Kozlowski
Search Customer Reviews
Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Forums

Topic From this Discussion
How popular is Spring ? Be the first to reply
Have something you'd like to share about this product?
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Search Customer Discussions
Search all Amazon discussions


So You'd Like to...


Create a guide


Look for Similar Items by Category