]> git.mxchange.org Git - addressbook-war.git/commitdiff
need splitting as well ...
authorRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 20:53:51 +0000 (21:53 +0100)
committerRoland Haeder <roland@mxchange.org>
Wed, 2 Mar 2016 21:01:22 +0000 (22:01 +0100)
src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java
src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java
src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java
src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java
src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java

index 90af33899dbc4b99241f32d622ec2202278d9e88..019fb7159fba8832d0bfc0c07a1ac7719f3bce2f 100644 (file)
@@ -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);
index 314285e42d90bebcf81eb95f06d2eb75142e6f0b..d01bba70c23635f26879719740fb65cec8f48684 100644 (file)
@@ -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);
index c4ce48922267dae0286d6b77fd6b28095a63700a..ffbf2243b907a82edbb75b87de14a65d13a07a39 100644 (file)
@@ -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);
index c6ab33e6920031d48aae548fce738008223b655a..5a59d3d2e057fd1db0a8514d57c6cada61468012 100644 (file)
@@ -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);
index adc75295a500508f1f394ad1690bcf254a16b20a..83272cac453e63d98fab26059b9a1d205b50fa2e 100644 (file)
@@ -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);