POA rootpoa = POAHelper.narrow(orb.resolve_initial_references("RootPOA"));
rootpoa.the_POAManager().activate();
LOG.info("RootPOA activated");
// create the bank
BankImpl bankImpl = new BankImpl();
LOG.info("Bank created");
// get object reference from the servant
org.omg.CORBA.Object ref = rootpoa.servant_to_reference(bankImpl);
Bank bankRef = BankHelper.narrow(ref);