]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Correct EJB name
authorRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 18:33:56 +0000 (20:33 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 18:33:56 +0000 (20:33 +0200)
src/java/org/mxchange/pizzaapplication/beans/country/PizzaCountryWebApplicationBean.java

index c63c393d24c13f13eed9feb4915c36ccfedbab12..3efd54b9fb9232484f4e874e96ca61b669686ff5 100644 (file)
@@ -62,7 +62,7 @@ public class PizzaCountryWebApplicationBean implements PizzaCountryWebApplicatio
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.countryBean = (CountrySingletonBeanRemote) context.lookup("java:global/PizzaService-ejb/country!org.mxchange.jcountry.data.AddressbookCountrySingletonBeanLocal"); //NOI18N
+                       this.countryBean = (CountrySingletonBeanRemote) context.lookup("java:global/PizzaService-ejb/country!org.mxchange.jcountry.data.CountrySingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);