i am using spring 3 with JSF 2 and i replaced JSF managed beans with spring beans, by adding on top of bean:
@Component(\"mybean\")
@Scope(\"session\")
Well, finally i was able to make it work fine as follows:
1- The Service:
@Service
@Scope("singleton")
public class PersonService{
}
2- The Spring Managed Bean:
@Component("person")
@Scope("session")
public class PersonBean implements Serializable{
@Inject
private PersonService personService;
}
waiting for your feedback.