开发者

Spring iceFaces integration questions

i intend to use IceFaces with spring framework and i have some questions, before going to this process:

  1. Is it possible to use it with spring-mvc ?
  2. If it's possible to use it with spring-mvc, what's better mvc or webflow ?
  3. Can i use spring controllers as beans inste开发者_开发百科ad of the JSF managed beans ?
  4. How the binding process is done, through spring binding or another way ?

please advise, if there are suggested links it will be great, thanks in advance.


You can mix spring with JSF easily for bean management. In such scenario spring can entirely replace JSF managed beans support and you will be able to address spring beans directly from your EL expressions in xhtml pages. The mechanism is described in spring documentation: http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/web-integration.html#jsf

I don't think adding spring-mvc or spring-webflow to this mix makes much sense. JSF relies on its own servlet. You may use spring servlets for some side tasks like generating documents or specific views which can't be rendered by JSF but I'm not sure your project will really need that. For basic usage JSF is exclusive with spring-mvc/spring-webflow.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜