Context context = new InitialContext();
// Try to lookup
- this.addressbookBean = (AddressbookSessionBeanRemote) context.lookup("ejb/stateless-addressbook"); //NOI18N
+ this.addressbookBean = (AddressbookSessionBeanRemote) context.lookup("ejb/stateless-addressbook-adr"); //NOI18N
} catch (final NamingException e) {
// Throw again
throw new FaceletException(e);
Context context = new InitialContext();
// Try to lookup
- this.loginBean = (UserLoginSessionBeanRemote) context.lookup("ejb/stateless-login"); //NOI18N
+ this.loginBean = (UserLoginSessionBeanRemote) context.lookup("ejb/stateless-addressbook-login"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw
throw new FaceletException(ex);
Context context = new InitialContext();
// Try to lookup
- this.registerBean = (UserRegistrationSessionBeanRemote) context.lookup("ejb/stateless-register"); //NOI18N
+ this.registerBean = (UserRegistrationSessionBeanRemote) context.lookup("ejb/stateless-addressbook-register"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw
throw new FaceletException(ex);
Context context = new InitialContext();
// Look up bean
- this.shareBean = (SharedAddressbooksSessionBeanRemote) context.lookup("ejb/stateless-share"); //NOI18N
+ this.shareBean = (SharedAddressbooksSessionBeanRemote) context.lookup("ejb/stateless-addressbook-share"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw
throw new FaceletException(ex);
Context context = new InitialContext();
// Try to lookup
- this.userBean = (UserSessionBeanRemote) context.lookup("ejb/stateless-user"); //NOI18N
+ this.userBean = (UserSessionBeanRemote) context.lookup("ejb/stateless-addressbook-user"); //NOI18N
} catch (final NamingException e) {
// Throw again
throw new FaceletException(e);