From: Roland Haeder Date: Wed, 2 Mar 2016 20:53:51 +0000 (+0100) Subject: need splitting as well ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0a80e9231941dca7c752d9820fa328c0f054140;p=addressbook-war.git need splitting as well ... --- diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java index 90af3389..019fb715 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java @@ -125,7 +125,7 @@ public class AddressbookWebSessionBean implements AddressbookWebSessionControlle 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); diff --git a/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java index 314285e4..d01bba70 100644 --- a/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java @@ -97,7 +97,7 @@ public class UserLoginWebSessionBean implements UserLoginWebSessionController { 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); diff --git a/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java index c4ce4892..ffbf2243 100644 --- a/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java @@ -78,7 +78,7 @@ public class UserRegisterWebSessionBean implements UserRegisterWebSessionControl 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); diff --git a/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java index c6ab33e6..5a59d3d2 100644 --- a/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java @@ -105,7 +105,7 @@ public class SharesWebSessionBean implements SharesWebSessionController { 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); diff --git a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java index adc75295..83272cac 100644 --- a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java @@ -231,7 +231,7 @@ public class UserWebSessionBean implements UserWebSessionController { 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);