I have tested this, trying to inject an service object to a @ManagedBean, but it failed with a nullpointerexception, being the userService is null.
I am currently us
missing variable resolver in faces-config.xml
<application>
<variable-resolver>
org.springframework.web.jsf.DelegatingVariableResolver
</variable-resolver>
</application>
missing RequestContextListener listener in web.xml
<listener>
<listener-class>
org.springframework.web.context.request.RequestContextListener
</listener-class>
</listener>
In your applications context xml define a bean for "UserService" for example,
<bean id="userService" class="org.albertkam.yourclassname"/>