refactoring spring mvc to jsf