]> git.mxchange.org Git - addressbook-war.git/commitdiff
Fixed EJB name
authorRoland Haeder <roland@mxchange.org>
Mon, 11 Apr 2016 16:47:50 +0000 (18:47 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 11 Apr 2016 16:47:50 +0000 (18:47 +0200)
src/java/org/mxchange/addressbook/beans/country/AddressbookAdminCountryWebApplicationBean.java
src/java/org/mxchange/addressbook/beans/user/AddressbookAdminUserWebSessionBean.java

index d342b319bb35908bb4cdde2c941ba4182c4e33b2..608eccddc9cafa55961c7a02e878a7bf39582c41 100644 (file)
@@ -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);
index 86ef0aa702ba9dc68c886aa42e8aa09004f91fd8..229d4bf9f580d722a2dd47229856578d42b0bc5a 100644 (file)
@@ -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);