From: Roland Häder Date: Sat, 12 Aug 2017 16:03:10 +0000 (+0200) Subject: Don't cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=08993a52544f8f31b04fc379443a3844442b0bd3;p=pizzaservice-war.git Don't cherry-pick: - fixed EJB names, no more jshop-ejb as it has to be in each project's EJB project (right persistence unit) Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java index dfa3c37c..dd1592ec 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java @@ -81,7 +81,7 @@ public class PizzaAdminCategoryWebRequestBean extends BasePizzaController implem Context context = new InitialContext(); // Try to lookup the bean - this.categoryBean = (AdminCategorySessionBeanRemote) context.lookup("java:global/jshop-ejb/admin_category!org.mxchange.jshopcore.model.category.AdminCategorySessionBeanRemote"); //NOI18N + this.categoryBean = (AdminCategorySessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/adminCategory!org.mxchange.jshopcore.model.category.AdminCategorySessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw it again throw new FaceletException(e); diff --git a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java index 63d8580d..7ff6b9af 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java @@ -99,7 +99,7 @@ public class PizzaAdminProductWebRequestBean extends BasePizzaController impleme Context context = new InitialContext(); // Try to lookup the bean - this.productRemoteBean = (AdminProductSessionBeanRemote) context.lookup("java:global/jshop-ejb/admin_product!org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote"); //NOI18N + this.productRemoteBean = (AdminProductSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/adminProduct!org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw it again throw new FaceletException(e);