BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    public static void main(String[] args) throws Exception {        java.util.Properties props = System.getProperties();        // props.put( "org.omg.CORBA.ORBClass", "org.openorb.CORBA.ORB" );        // props.put("org.omg.CORBA.ORBSingletonClass","org.openorb.CORBA.ORBSingleton" );        // props.put( "verbose", "5" );        props.put("org.omg.PortableInterceptor.ORBInitializerClass.de.berlios.jmds.client.ClientORBInitializer", "");        props.put("org.omg.CORBA.ORBInitialPort" , "1234");                ORB orb = ORB.init(args, props);        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));        // Cration du service d'annuaire        Object ns = orb.resolve_initial_references("NameService");        NamingContextExt nc = NamingContextExtHelper.narrow(ns);        NameComponent[] name = null;        try {            name = nc.to_name("jmdsForum");        } catch (org.omg.CosNaming.NamingContextPackage.InvalidName e2) {            e2.printStackTrace();        }        Object objProxy = nc.resolve(name);                Forum forumProxy = ForumHelper.narrow(objProxy);        Any any = orb.create_any();        TextMessage message = new TextMessage("titi", "toto",(new Date()).toString(), "tutu");        TextMessageHelper.insert(any, message);        try {        	forumProxy.postMessage("titi", any);        } catch (Reject e) {            System.out.println("Message non ajout pour cette raison:\n" + e.message);        }            }