开发者

Disadvantages of using JSF+Spring without webflow

开发者 https://www.devze.com 2023-04-05 21:20 出处:网络
in following examples of JSF Spring integration, i can see that the examples makes a normal integration between spring and JSF without using webflow, so is there are any problems or issues when using

in following examples of JSF Spring integration, i can see that the examples makes a normal integration between spring and JSF without using webflow, so is there are any problems or issues when using Spring with JSF without using webflow, and what are the advantages of using webflow with JSF, please advise.

links:

http://www.mkyong.com/jsf2/jsf-2-0-sprin开发者_Python百科g-integration-example/

http://www.mkyong.com/jsf2/jsf-2-0-spring-hibernate-integration-example/


In my experience, the decision whether to use WebFlow is based on your UI requirements....and if JSF is in the box, too, the only reason to actually use WebFlow is if you'd have a vast amount of "wizard-like" UI forms whose plumbing could be more elegantly handled by WebFlow (rather than JSF faces-context navigation rules).

The level of pain could also vary between different JSF implementation. For example, we've had nothing but trouble trying to integrate WebFlow 2.0.4 with IceFaces 1.8.2 (which is based on JSF 1.2).

More on that (together with a straightforward explanation on how to integrate JSF and Spring) can be found on this SO thread.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号