import org.mxchange.jphone.events.AdminAddedMobileProviderEvent;
import org.mxchange.jphone.events.AdminMobileProviderAddedEvent;
import org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException;
-import org.mxchange.jphone.phonenumbers.mobileprovider.AdminMobileProviderSingletonBeanRemote;
+import org.mxchange.jphone.phonenumbers.mobileprovider.AdminMobileProviderSessionBeanRemote;
import org.mxchange.jphone.phonenumbers.mobileprovider.CellphoneProvider;
import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
/**
* Remote EJB for mobile providers (administrative)
*/
- private AdminMobileProviderSingletonBeanRemote adminRemoteBean;
+ private AdminMobileProviderSessionBeanRemote adminRemoteBean;
/**
* Regular bean
Context context = new InitialContext();
// Try to lookup the beans
- this.adminRemoteBean = (AdminMobileProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/adminmobileprovider!org.mxchange.jphone.phonenumbers.mobileprovider.AdminMobileProviderSingletonBeanRemote"); //NOI18N
+ this.adminRemoteBean = (AdminMobileProviderSessionBeanRemote) context.lookup("java:global/jjobs-ejb/adminmobileprovider!org.mxchange.jphone.phonenumbers.mobileprovider.AdminMobileProviderSessionBeanRemote"); //NOI18N
} catch (final NamingException e) {
// Throw it again
throw new FaceletException(e);