In lieu of JSF 2.3+ greater coupling with CDI, will Spring integrate with JSF 2.3, and if so any timeline on this?
It appears there are still issue with JSF 2.2 ViewScope.
Related
I am migrating from Grails 1.1 to Grails 4.0.11. we have used Spring Webflow in it, but it never works in Grails 4. Is there any solution to implement Spring Webflow in Grails4?
Here's an open issue about the situation of Spring Webflow in newest grails version. The plugin is broken since version 2.x and seems that will not have any kind of refactoring.
I have an application with Spring 4.x and Primefaces 7. Now I need to introduce push functionality. Starting from Primefaces 7, push function was removed (in previous releases it was provided by atmosphere framework). Now in release notes of version 7, the developer team suggests using Omnifaces or JFS 2.3. I tried to integrate Omnifaces but, if I understand correctly, the #Push tag is interpreted by CDI only and ignored by Spring. I've all my beans and services managed with Spring. Is there a way to make #Push to works with Spring?
For JFS 2.3 I've the same problem.
Is there a compatibility matrix for spring, spring security and spring webflow for recent releases resp. versions running under Java 7 and JSF 2.2? Or are simply all versions > some threshold compatible?
you can check on maven here and check the compile dependencies of the versions.
for example you can see that WebFlow 2.4.4 is compatible with Spring Security 4.1.0.RELEASE and Spring 4.3.0.RELEASE which is then compatible with jsf 2.2 (through spring-web)
I really want to use JSF 2.2 but with Spring as I want to use Tomcat as the application server. However based on documentation #ManagedBean is deprecated and CDI is the way to go with JSF 2.2+. Thus I was asking if this combination {Spring+CDI for backend and JSF 2.2 frontend} all running on Tomcat will work without glitches?
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-spring-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.