From ca7fb5d1b0841f0690b216e883c680b04261c35a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 11 Apr 2016 18:47:50 +0200 Subject: [PATCH] Fixed EJB name --- .../country/AddressbookAdminCountryWebApplicationBean.java | 2 +- .../beans/user/AddressbookAdminUserWebSessionBean.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebApplicationBean.java b/src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebApplicationBean.java index d342b319..608eccdd 100644 --- a/src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebApplicationBean.java +++ b/src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebApplicationBean.java @@ -96,7 +96,7 @@ public class AddressbookAdminCountryWebApplicationBean implements AddressbookAdm Context context = new InitialContext(); // Try to lookup the bean - this.countryBean = (CountrySingletonBeanRemote) context.lookup("java:global/PizzaService-ejb/country!org.mxchange.jcountry.data.CountrySingletonBeanRemote"); //NOI18N + this.countryBean = (CountrySingletonBeanRemote) context.lookup("java:global/addressbook-ejb/country!org.mxchange.jcountry.data.CountrySingletonBeanRemote"); //NOI18N } catch (final NamingException ex) { // Continue to throw throw new FaceletException(ex); diff --git a/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebSessionBean.java index 86ef0aa7..229d4bf9 100644 --- a/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebSessionBean.java @@ -194,7 +194,7 @@ public class AddressbookAdminUserWebSessionBean implements AddressbookAdminUserW Context context = new InitialContext(); // Try to lookup - this.userBean = (UserSessionBeanRemote) context.lookup("java:global/PizzaService-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N + this.userBean = (UserSessionBeanRemote) context.lookup("java:global/addressbook-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N } catch (final NamingException e) { // Throw again throw new FaceletException(e); -- 2.39.5