A Java server object
class AccountingImpl extends _AccountingImplBase
public float get_outstanding_balance()
float bal = (float)14100.00; // Implement real outstanding balance function here
public static void main(String[] args)
ORB orb = ORB.init(args, null); // Initialize the ORB.
BOA boa = orb.BOA_init(); // Initialize the BOA.
System.out.println("Instantiating an AccountingImpl.");
AccountingImpl impl = new AccountingImpl("Account");
System.out.println("Entering event loop."); // Wait for incoming requests
catch(SystemException e) {
System.err.println("Oops! Caught: " + e);