技术库 > Java

Why do we need Spring Web Flow(SWF)?

技术库:tec.5lulu.com

from:tec.5lulu.com

Why do we still need Spring Web Flow while we have good web frameworks already?

Spring Web Flow(SWF) focus entirely on the definition and execution of complex conversation in a web application, i.e. web application page flow.

To understand why it is a good solution, it is a good idea to start with the problem it tries to solve and the complexities involved in the solution. An example case is the shopping transaction which involves adding/updating shopping cart, providing buyer info, confirming order payment, etc. It has a clear web page flow, if there is no security problem. However, there might be problems like, jumping payment, refreshing pages, etc. SWF is a good solution for those situations.

SWF can easily integrated with existing frameworks like Spring MVC, Struts, and JSF, in both servlet and portlet environments.

The relation between Spring Web Flow and Spring MVC is clear in this picture.

Why do we need Spring Web Flow(SWF)?,by 5lulu.com

Why do we need Spring Web Flow(SWF)?


标签: mvc servlet spring struts cart本文链接 http://tec.5lulu.com/detail/110dan2ehcgr285a8.html

我来评分 :6.1
0

转载注明:转自5lulu技术库

本站遵循:署名-非商业性使用-禁止演绎 3.0 共享协议

www.5lulu.com