From 08993a52544f8f31b04fc379443a3844442b0bd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 12 Aug 2017 18:03:10 +0200 Subject: [PATCH] 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) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../beans/category/PizzaAdminCategoryWebRequestBean.java | 2 +- .../beans/product/PizzaAdminProductWebRequestBean.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5