public static ReadOnlyBeanNotifier getReadOnlyBeanNotifier(String ejbName) {
try {
Context ctx = new InitialContext();
Object obj = ctx.lookup(ejbName);
ReadOnlyEJBHome home = (ReadOnlyEJBHome)
PortableRemoteObject.narrow(obj, ReadOnlyEJBHome.class);
ReadOnlyBeanNotifier roNotifier = new ReadOnlyBeanNotifierImpl();
roNotifier.setHome(home);
return roNotifier;
} catch (Exception ex) {