From: Roland Häder Date: Thu, 24 Aug 2017 18:25:21 +0000 (+0200) Subject: Must be RequestScoped annotated as it is an administrative bean (project X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05e701ca5b4fceb1e256fb0e8ae6f7d991ec9c7e;p=pizzaservice-war.git Must be RequestScoped annotated as it is an administrative bean (project convention). Only the "regular" (non-administrative) beans (except bean helper) may be annotated with SessionScoped. Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java index ad027ee0..83db9404 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/business/basicdata/PizzaAdminBusinessDataWebRequestBean.java @@ -17,7 +17,7 @@ package org.mxchange.pizzaapplication.beans.business.basicdata; import javax.annotation.PostConstruct; -import javax.enterprise.context.SessionScoped; +import javax.enterprise.context.RequestScoped; import javax.faces.view.facelets.FaceletException; import javax.inject.Named; import javax.naming.Context; @@ -36,7 +36,7 @@ import org.mxchange.pizzaapplication.beans.BasePizzaController; * @author Roland Häder */ @Named ("adminBusinessDataController") -@SessionScoped +@RequestScoped public class PizzaAdminBusinessDataWebRequestBean extends BasePizzaController implements PizzaAdminBusinessDataWebRequestController { /**