- fixed EJB names, no more jshop-ejb as it has to be in each project's EJB
project (right persistence unit)
Signed-off-by: Roland Häder <roland@mxchange.org>
Context context = new InitialContext();
// Try to lookup the bean
- this.categoryBean = (AdminCategorySessionBeanRemote) context.lookup("java:global/jshop-ejb/admin_category!org.mxchange.jshopcore.model.category.AdminCategorySessionBeanRemote"); //NOI18N
+ this.categoryBean = (AdminCategorySessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/adminCategory!org.mxchange.jshopcore.model.category.AdminCategorySessionBeanRemote"); //NOI18N
} catch (final NamingException e) {
// Throw it again
throw new FaceletException(e);
Context context = new InitialContext();
// Try to lookup the bean
- this.productRemoteBean = (AdminProductSessionBeanRemote) context.lookup("java:global/jshop-ejb/admin_product!org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote"); //NOI18N
+ this.productRemoteBean = (AdminProductSessionBeanRemote) context.lookup("java:global/pizzaservice-ejb/adminProduct!org.mxchange.jshopcore.model.product.AdminProductSessionBeanRemote"); //NOI18N
} catch (final NamingException e) {
// Throw it again
throw new FaceletException(e);