]> git.mxchange.org Git - addressbook-war.git/commitdiff
fixed name?
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 15:08:07 +0000 (17:08 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 15:09:23 +0000 (17:09 +0200)
src/java/org/mxchange/addressbook/beans/country/CountryWebBean.java

index 3f0de149312ca8ecc36249e63a1db0dcab9336b7..b6b171ff99d4049e24f3fbddb381ea8e88a8464f 100644 (file)
@@ -62,7 +62,7 @@ public class CountryWebBean implements CountryWebController {
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.countryBean = (AddressbookCountrySingletonBeanRemote) context.lookup("java:global/addressbook-ejb/country!org.mxchange.jcountry.data.AddressbookCountrySingletonBeanRemote"); //NOI18N
+                       this.countryBean = (AddressbookCountrySingletonBeanRemote) context.lookup("ejb/addressbook-singleton-country"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);