]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 12 Aug 2017 16:03:10 +0000 (18:03 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 12 Aug 2017 16:03:10 +0000 (18:03 +0200)
- 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 <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/category/PizzaAdminCategoryWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/product/PizzaAdminProductWebRequestBean.java

index dfa3c37c7ef56a13e8d048c32b28065e958670c6..dd1592ec267613d48d1acd483e01f8ca1ca3d4bd 100644 (file)
@@ -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);
index 63d8580d0a8695eb0b4dbcf987a95f951e7be1ac..7ff6b9af73fb3deeb3805c3d95c00b6fbb515703 100644 (file)
@@ -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);