]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
more JNDIs fixed
authorRoland Haeder <roland@mxchange.org>
Mon, 10 Apr 2017 22:35:33 +0000 (00:35 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 10 Apr 2017 22:35:33 +0000 (00:35 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaCustomerWebSessionBean.java
src/java/org/mxchange/pizzaapplication/converter/customer/PizzaCustomerConverter.java

index c1caca052576f9db337a92791ab5f94be4912115..110433884768ab47b432480369723a314d64e952 100644 (file)
@@ -89,7 +89,7 @@ public class PizzaCustomerWebSessionBean extends BasePizzaController implements
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.adminCustomerBean = (PizzaAdminCustomerSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/admincustomer!de.chotime.jratecalc.model.customer.PizzaAdminCustomerSessionBeanRemote"); //NOI18N
+                       this.adminCustomerBean = (PizzaAdminCustomerSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/admincustomer!org.mxchange.pizzaservice.model.customer.PizzaAdminCustomerSessionBeanRemote"); //NOI18N
 
                        // Try to lookup
                        this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
index f9c444a4020810ab5e9de3c03c00d3cda22d6dbf..3b9b17e3eb36b9cbe1911c6eb4fcf9a3281e4024 100644 (file)
@@ -63,7 +63,7 @@ public class PizzaCustomerConverter implements Converter {
                        this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
 
                        // ... and user controller
-                       this.customerBean = (PizzaCustomerSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/customer!de.chotime.jratecalc.model.customer.PizzaCustomerSessionBeanRemote"); //NOI18N
+                       this.customerBean = (PizzaCustomerSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/customer!org.mxchange.pizzaservice.model.customer.PizzaCustomerSessionBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw it
                        throw new RuntimeException(MessageFormat.format("context.lookup() failed: {0}", ex.getMessage()), ex); //NOI18N