I want to reset by JSF backing bean when some method is invoked. Assume that there is a command button, someone press it and after succesfull transaction, my View or Session
I found the solution for View scope.
public static void removeViewScopedBean(String beanName) { FacesContext.getCurrentInstance().getViewRoot().getViewMap().remove(beanName); }