]> git.mxchange.org Git - addressbook-war.git/commitdiff
Fixed JNDI names + converter
authorRoland Häder <roland@mxchange.org>
Wed, 11 May 2016 13:45:49 +0000 (15:45 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 11 May 2016 13:45:49 +0000 (15:45 +0200)
Signed-off-by: Roland Häder <roland@haeder.net>
src/java/org/mxchange/addressbook/beans/contact/AddressbookAdminContactWebRequestBean.java
src/java/org/mxchange/addressbook/beans/contact/AddressbookContactWebSessionBean.java
src/java/org/mxchange/addressbook/beans/user/AddressbookUserWebSessionBean.java
src/java/org/mxchange/addressbook/converter/mobileprovider/AddressbookMobileProviderConverter.java

index 917234ba491af8a1ea1722e17f37665b7b7d9587..33870172ecdd098c55d42c95b3c127db3a5fd2c2 100644 (file)
@@ -234,7 +234,7 @@ public class AddressbookAdminContactWebRequestBean implements AddressbookAdminCo
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
+                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/addressbook-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index ed9c740f2d8644751f58f155129291b6b2f32089..397f039a28abe38fe77dce39cfe28e34693ee9df 100644 (file)
@@ -213,7 +213,7 @@ public class AddressbookContactWebSessionBean implements AddressbookContactWebSe
                        Context context = new InitialContext();
 
                        // Try to lookup
-                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
+                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/addressbook-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 411f08234ab07bc68bcbb722fbfca12a95b430d7..7f369991c294c670f65401c799419a68579c2956 100644 (file)
@@ -157,7 +157,7 @@ public class AddressbookUserWebSessionBean implements AddressbookUserWebSessionC
                        this.userBean = (UserSessionBeanRemote) context.lookup("java:global/addressbook-ejb/user!org.mxchange.jusercore.model.user.UserSessionBeanRemote"); //NOI18N
 
                        // Try to lookup
-                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/jratecalc-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
+                       this.contactBean = (ContactSessionBeanRemote) context.lookup("java:global/addressbook-ejb/contact!org.mxchange.jcontacts.contact.ContactSessionBeanRemote"); //NOI18N
                } catch (final NamingException e) {
                        // Throw again
                        throw new FaceletException(e);
index 6c0e8f048f86e88d17d2aa9eecff2be0d1ef7a43..e257ea36d33f2559161f4f559763085f766cf3fa 100644 (file)
@@ -36,7 +36,7 @@ import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProviderSingletonBe
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-@FacesConverter (value = "cellphoneCarrier")
+@FacesConverter (value = "MobileProviderConverter")
 public class AddressbookMobileProviderConverter implements Converter {
 
        /**