From: Roland Haeder Date: Sun, 10 Apr 2016 11:51:51 +0000 (+0200) Subject: Opps, copied to much ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28efccc4287a767ecdca1f756b7343cd09bc72dc;p=pizzaservice-war.git Opps, copied to much ... --- diff --git a/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java b/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java index 677373e1..bbd6116e 100644 --- a/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java +++ b/src/java/org/mxchange/jshopcore/model/category/PizzaCategoryConverter.java @@ -58,7 +58,7 @@ public class PizzaCategoryConverter implements Converter { Context context = new InitialContext(); // Lookup category bean - this.categoryBean = (CategorySessionBeanRemote) context.lookup("java:global/jshop-ejb/category, java:global/jshop-ejb/category!org.mxchange.jshopcore.model.category.CategorySessionBeanRemote"); //NOI18N + this.categoryBean = (CategorySessionBeanRemote) context.lookup("java:global/jshop-ejb/category!org.mxchange.jshopcore.model.category.CategorySessionBeanRemote"); //NOI18N // Lookup logger this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N diff --git a/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java index 7093a3f3..2d4db1b6 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/basket/PizzaBasketWebSessionBean.java @@ -80,7 +80,7 @@ public class PizzaBasketWebSessionBean implements PizzaBasketWebSessionControlle Context context = new InitialContext(); // Try to lookup - this.basketBean = (BasketSessionBeanRemote) context.lookup("java:global/jshop-ejb/basket, java:global/jshop-ejb/basket!org.mxchange.jshopcore.model.basket.BasketSessionBeanRemote"); //NOI18N + this.basketBean = (BasketSessionBeanRemote) context.lookup("java:global/jshop-ejb/basket!org.mxchange.jshopcore.model.basket.BasketSessionBeanRemote"); //NOI18N } catch (final NamingException ex) { // Continue to throw throw new FaceletException(ex); diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java index 494b9d94..11afb2f6 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java @@ -131,7 +131,7 @@ public class PizzaCustomerWebSessionBean implements PizzaCustomerWebSessionContr Context context = new InitialContext(); // Try to lookup - this.customerBean = (CustomerSessionBeanRemote) context.lookup("java:global/jshop-ejb/shopCustomer, java:global/jshop-ejb/shopCustomer!org.mxchange.jcustomercore.model.customer.CustomerSessionBeanRemote"); //NOI18N + this.customerBean = (CustomerSessionBeanRemote) context.lookup("java:global/jshop-ejb/shopCustomer!org.mxchange.jcustomercore.model.customer.CustomerSessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw 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 b8ebc234..8fe2033f 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java @@ -90,7 +90,7 @@ public class PizzaAdminProductWebRequestBean implements PizzaAdminProductWebRequ Context context = new InitialContext(); // Try to lookup the bean - this.productRemoteBean = (AdminProductSessionBeanRemote) context.lookup("java:global/jshop-ejb/admin_product, java:global/jshop-ejb/admin_product!org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote"); //NOI18N + this.productRemoteBean = (AdminProductSessionBeanRemote) context.lookup("java:global/jshop-ejb/admin_product!org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw it again throw new FaceletException(e); diff --git a/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java b/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java index 217fbbdd..29dbdfb2 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/shop/PizzaShopWebApplicationBean.java @@ -104,7 +104,7 @@ public class PizzaShopWebApplicationBean implements PizzaShopWebApplicationContr Context context = new InitialContext(); // Try to lookup the bean - CategorySessionBeanRemote categoryBean = (CategorySessionBeanRemote) context.lookup("java:global/jshop-ejb/category, java:global/jshop-ejb/category!org.mxchange.jshopcore.model.category.CategorySessionBeanRemote"); //NOI18N + CategorySessionBeanRemote categoryBean = (CategorySessionBeanRemote) context.lookup("java:global/jshop-ejb/category!org.mxchange.jshopcore.model.category.CategorySessionBeanRemote"); //NOI18N // Get all categories this.categories = categoryBean.getAllCategories();