Context context = new InitialContext();
// Try to lookup the bean
- this.countryBean = (AddressbookCountrySingletonBeanRemote) context.lookup("ejb/addressbook-singleton-country"); //NOI18N
+ this.countryBean = (AddressbookCountrySingletonBeanRemote) context.lookup("ejb/jjobs-singleton-country"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw
throw new FaceletException(ex);
Context context = new InitialContext();
// Try to lookup the bean
- this.cellphoneBean = (AddressbookSmsProviderSingletonBeanRemote) context.lookup("ejb/addressbook-singleton-smsprovider"); //NOI18N
+ this.cellphoneBean = (AddressbookSmsProviderSingletonBeanRemote) context.lookup("ejb/jjobs-singleton-smsprovider"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw
throw new FaceletException(ex);
this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
// ... and country controller
- this.countryController = (AddressbookCountrySingletonBeanRemote) context.lookup("java:global/addressbook-ejb/country!org.mxchange.jcountry.data.AddressbookCountrySingletonBeanRemote"); //NOI18N
+ this.countryController = (AddressbookCountrySingletonBeanRemote) context.lookup("java:global/jjobs-ejb/country!org.mxchange.jcountry.data.AddressbookCountrySingletonBeanRemote"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw it
throw new RuntimeException("context.lookup() failed.", ex); //NOI18N
this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
/// and SMS provider controller
- this.providerController = (AddressbookSmsProviderSingletonBeanRemote) context.lookup("java:global/addressbook-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.AddressbookSmsProviderSingletonBeanRemote"); //NOI18N
+ this.providerController = (AddressbookSmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.AddressbookSmsProviderSingletonBeanRemote"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw it
throw new RuntimeException("context.lookup() failed.", ex); //NOI18N