aspose file tools*
The moose likes Spring and the fly likes Spring MVC Flow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC Flow" Watch "Spring MVC Flow" New topic
Author

Spring MVC Flow

Lisa Bass
Greenhorn

Joined: Jan 29, 2009
Posts: 6
Guys i m struts developer.

so i know there is flow from screen to back to screen..how data go..then action class called..bla bla bla

Can someone tell the Spring MVC flow..

I will really appreciate a quick response

Thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Lisa Bass wrote:I will really appreciate a quick response

Please read this.


[My Blog]
All roads lead to JavaRanch
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
After you've read the link that Christophe suggested...

Spring Web Flow, in short, is a way of building flow-ful web applications...that is web applications that follow a predefined path(s). A typical example is the checkout on an e-commerce site, but there are more interesting examples if you look hard enough.

You can build flow applications without Spring Web Flow. In fact, I've seen them built in Struts. But when you do that, you typically spread the flow across multiple actions/controllers. There's no one place that describes the flow.

Spring Web Flow promotes the flow as a first class citizen of the application. You can go to one or more flow definition files and get a pretty good idea of what the flow looks like. The actions (which are usually just method on some bean somewhere) have no idea where they fit within a flow or that they're even part of a flow.


Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
Lisa Bass wrote:Guys i m struts developer.

so i know there is flow from screen to back to screen..how data go..then action class called..bla bla bla

Can someone tell the Spring MVC flow..

I will really appreciate a quick response


A practical introduction with example.


SCJP 1.5, SCEA, ICED (287,484,486)
Craig Walls
author
Ranch Hand

Joined: Sep 19, 2003
Posts: 301
Actually, that example covers Spring Web Flow 1. Spring Web Flow 2 is quite a bit different (in a better way).

I don't have a concise example of web flow handy or else I'd toss it in here. But a more elaborate web flow example will be in the book.
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
Craig Walls wrote:I don't have a concise example of web flow handy or else I'd toss it in here. But a more elaborate web flow example will be in the book.


This link has example on Spring Web Flow 2.0.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC Flow