How is Spring MVC different from Spring Web Flow?

1.8k Views Asked by At

I have to build the online ecommerce website using Java. As I want to use AJAX libraries like jQuery/prototupe/moottols, someone told me to go for Request/action based frameworks as I am from web development background.

So i started learing Spring. I have done Spring DI and AOP.

Can someone please guide me that in order to reach my goal of developing ecommerce web site using spring and JQuery (same as in html pages) what thing i nned to learn

Should i go Spring MVC or web flow or they are same. i am confused. Please help me

Also, do I need to have knowledge of servlets and JSP for Spring MVC or web flow? Someone told me not to do servlet/JSP thing as it is old.

or i have to learn that for spring MVC. i can spend 1 week on getting the basics but i am not sure what to do

2

There are 2 best solutions below

6
On BEST ANSWER

Spring MVC is a standard action-based, MVC framework.

Webflow provides extra functionality - conversations. That is useful for wizard-like flows.

0
On

Resurrecting an old thread for good reason, and maybe this will help someone else.

Since the OP was building an eCommerce site, then flow is important... select item, place in cart, go find more junk, place in cart, review cart, delete some junk you don't really need, search some more, add junk, review cart, go to checkout, change mind and go get other stuff... finally get to checkout and pay. All of this is more easily handled in weblow than in mvc.