Hi,
when comparing Spring Web MVC with Spring Webflow MVC for working with Model and Forms,
in Spring MVC i used extended SimpleForm or MultiActionController, with WebFlow i have to use extended FormAction.
Now in WebFlow i have a AbstractAction for adding Actions which where do something that is not model based. in Spring MVC the controllers have done this too.
so can i say that the Conntrollers from Spring MVC are more or less the Actions in WebFlow or the Actions in Webflow are the controllers?
but where is the benefit of WebFlow? If i have understand right, the only thing is, that the objects well be saved automaticly in a session and that i have only one url for the flow, so that a bookmark too that will always start at the beginning, with Spring MVC i can do the same but i have to save alle object states manuelly, and check if the flow have startet at the beginning, all at the controllers. is that right?
if so, how would be the future of Spring MVC? for my new project i will always use WebFlow because i of this, and because it can be better drawn (more use of externel UML Objects) and it have allready Portlet Support, or why should i use Spring MVC (resources, speed)?
thanks Gideon


Reply With Quote