public class MainTest {
public static void main(String[] args) {
CustomerControllerHome customerControllerHome;
AccountControllerHome accountControllerHome;
TxControllerHome txControllerHome;
try {
Context initial;
Object objref;
initial = new InitialContext();
objref = initial.lookup("MyCustomerController");
customerControllerHome =
(CustomerControllerHome)PortableRemoteObject.narrow(objref,
CustomerControllerHome.class);
System.out.println('\n' + "*** CustomerTest ***" + '\n');
new CustomerTest(customerControllerHome.create());
initial = new InitialContext();
objref = initial.lookup("MyAccountController");
accountControllerHome =
(AccountControllerHome)PortableRemoteObject.narrow(objref,