X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fjjobs%2Fbeans%2Fsmsprovider%2FJobsSmsProviderWebApplicationBean.java;h=f8feebaea1f7a341475257623d532d02f6a3678b;hb=e950938b180e7bfe44b28b674ac2e6eb88964672;hp=e43b28f426d0d037449aa77be215f7ec28c0a5ed;hpb=4e546552ffe7e52284872b5b45ff05d550e71d40;p=jjobs-war.git diff --git a/src/java/org/mxchange/jjobs/beans/smsprovider/JobsSmsProviderWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/smsprovider/JobsSmsProviderWebApplicationBean.java index e43b28f4..f8feebae 100644 --- a/src/java/org/mxchange/jjobs/beans/smsprovider/JobsSmsProviderWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/smsprovider/JobsSmsProviderWebApplicationBean.java @@ -25,7 +25,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.jphone.phonenumbers.smsprovider.AddressbookSmsProviderSingletonBeanRemote; +import org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote; import org.mxchange.jphone.phonenumbers.smsprovider.SmsProvider; /** @@ -45,7 +45,7 @@ public class JobsSmsProviderWebApplicationBean implements JobsSmsProviderWebAppl /** * Remote country EJB */ - private AddressbookSmsProviderSingletonBeanRemote cellphoneBean; + private JobsSmsProviderSingletonBeanRemote cellphoneBean; /** * List of all countries @@ -62,7 +62,7 @@ public class JobsSmsProviderWebApplicationBean implements JobsSmsProviderWebAppl Context context = new InitialContext(); // Try to lookup the bean - this.cellphoneBean = (AddressbookSmsProviderSingletonBeanRemote) context.lookup("ejb/jjobs-singleton-smsprovider"); //NOI18N + this.cellphoneBean = (JobsSmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N } catch (final NamingException ex) { // Continue to throw throw new FaceletException(ex);