Theres a bug in wildfly 9 Final
Even if a set on web.xml
<context-param> <param-name>com.sun.faces.numberOfLogicalViews</param-name> <param-value>3</param-value> </context-param>
It keep storing 25 views.
I tried @Named (CDI) and @ManagedBean and the problem persisted.
My workaround was use @ViewScoped from Omnifaces