package com.wiley.compbooks.brose.chapter9.dii;

import java.io.*;
import org.omg.CORBA.*;
import org.omg.CORBA.InterfaceDefPackage.*;

public class Rep 
{

    public static void main(String args[]) 
    {	

        try 
        {
            // initialize the ORB
            ORB orb = ORB.init( args, null );

            // get object reference

            // browsing the Interface Repository


 
                System.out.println( orb.object_to_string(orb.resolve_initial_references("InterfaceRepository")));
        }
        // catch exceptions
        catch(Exception ex) {
            ex.printStackTrace();
        }
    }
}

