]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Fixed EJB JNDI names.
authorRoland Haeder <roland@mxchange.org>
Wed, 20 Apr 2016 18:07:18 +0000 (20:07 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 20 Apr 2016 18:07:18 +0000 (20:07 +0200)
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaAdminContactWebRequestBean.java
src/java/org/mxchange/pizzaapplication/beans/contact/PizzaContactWebSessionBean.java

index 565358b535a2a81e4961c97edfa6b23c132ac847..49b75499cb9213a00e4034e4adc39b99dc3e8d86 100644 (file)
@@ -192,7 +192,7 @@ public class PizzaAdminContactWebRequestBean implements PizzaAdminContactWebRequ
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
+                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/PizzaService-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 94d397f1452c89d1142b20d053723b9795630ad7..5e4338f195f190f7b0807966009df0f4e943ffbd 100644 (file)
@@ -196,7 +196,7 @@ public class PizzaContactWebSessionBean implements PizzaContactWebSessionControl
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
+                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/PizzaService-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);