HelloClient.java
/* * * */ package toejb; public class HelloClient { public static void main(String[] args) { try { HelloIF_Stub stub = (HelloIF_Stub)(new MyHello_Impl().getHelloIFPort()); System.out.println(stub.sayHello("Buzz!")); } catch Exception(ex) { ex.printStackTrace(); } } }