A Java client
public static void main(String args[]) {
System.out.println("Initializing the ORB...");
ORB orb = ORB.init(args, null);
// bind to an Accounting Object named "Account"
System.out.println("Binding...");
Money.Accounting acc =Money.AccountingHelper.bind(orb,"Account");
// Get the balance of the account.
System.out.println("Making Remote Invocation...");
float balance = acc.get_outstanding_balance();
// Print out the balance.
System.out.println("The balance is $" + balance);
catch(SystemException e) {
System.err.println("Oops! Caught: " + e);