dependency « JSF « Spring Q&A





1. problem with using spring beans from jsf managed bean    stackoverflow.com

I have web application wich uses jsf 2.0 and spring 3.0 The problem is that: jsf managed beans can't use spring beans using dependency injection There are my config files: web.xml:

<web-app>
<display-name>Archetype Created Web Application</display-name>

<!-- ...

2. How to inject a Spring 3 Bean into a JSF 2 Converter    stackoverflow.com

I am trying to @javax.naming.Inject a Spring 3 Bean called WtvrBean into a JSF 2 @FacesConverter. Both the Bean and the Converter are on the same package. And, in my spring's applicationContext.xml, ...

3. Injecting JSF bean into Spring bean - impossible?    stackoverflow.com

I have a JSF 2.0 bean:

@ManagedBean
@SessionScoped
public class LoginBean implements Serializable
{
    protected String name;

    public String getName()
    {
      ...

4. JSF Spring injection via XML or code    stackoverflow.com

I've inherited some JSF Spring code, and can see instead of injecting the Spring beans via the faces-config.xml as

<managed-bean>
the team have done it in the code as
FacesContext facesContext = FacesContext.getCurrentInstance();
 ...

5. Dependency Injection Spring - JSF    forum.springsource.org

Hi, can please someone tell me, what are the differences between the dependency injection in Spring and in JSF. I just read something about, that dependency injection in Spring is more ...