import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
-import org.mxchange.jcountry.data.AddressbookCountrySingletonBeanRemote;
+import org.mxchange.jcountry.data.AddressbookCountrySingletonBeanLocal;
import org.mxchange.jcountry.data.Country;
/**
/**
* Remote country EJB
*/
- private final AddressbookCountrySingletonBeanRemote countryBean;
+ private final AddressbookCountrySingletonBeanLocal countryBean;
/**
* List of all countries
Context context = new InitialContext();
// Try to lookup the bean
- this.countryBean = (AddressbookCountrySingletonBeanRemote) context.lookup("ejb/addressbook-singleton-country"); //NOI18N
+ this.countryBean = (AddressbookCountrySingletonBeanLocal) context.lookup("ejb/addressbook-singleton-country"); //NOI18N
} catch (final NamingException ex) {
// Continue to throw
throw new FaceletException(ex);