2

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

Jonik
  • 80,077
  • 70
  • 264
  • 372

2 Answers2

5

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

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

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
  • it means i have to learn first MVC and then webflow or only MVC is enough. Can build ecommerce website in MVC only without flow –  Jan 28 '11 at 10:33
  • @Name - you can. Webflow is an extra. – Bozho Jan 28 '11 at 10:35
  • are both linked to each other or i can completely follow Weflow without MVC –  Jan 28 '11 at 10:48
  • 1
    as I said - webflow is ontop of MVC. So I don't think you can use it without it. – Bozho Jan 28 '11 at 10:51
  • I wouldn't say that web-flow is build on top of the MVC, if you look at the requirments [here](http://docs.spring.io/spring-webflow/docs/2.4.0.M1/reference/html/introduction.html#system-requirements), it only depends on spring core lib – Marko Vranjkovic Oct 03 '13 at 08:48
  • I'll investigate and fix my answer. I think it used to depend on MVC a couple of years ago – Bozho Oct 03 '13 at 15:29
0

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.

J Slick
  • 929
  • 11
  • 17