Search code examples
javaspringspring-mvcspring-webflow

Spring web flow v/s simple mvc controllers


I have been doing some research about spring web flows and have some questions for which I cannot find any clear answers.

Question 1: Does Spring Web Flow replace a simple MVC Controller? Can we have a simple MVC Controllers and Web flow configured in one project?

I withdraw question 2 as I was looking at documentation for a Spring web flow 2.0.9.


Solution

  • If you are using Spring MVC, it will completely replace simple MVC structure, however you must have knowledge of Simple MVC as well. Refer documentation

    http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/mvc.html

    And model is a part of Spring MVC you can find it in document. However I did not get your 2nd question.