class StructServer {
static public void main(String[] args) {
try {
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null);
org.omg.CORBA.BOA boa = orb.BOA_init();
StructExampleImpl s = new StructExampleImpl("My Struct");
boa.obj_is_ready(s);
boa.impl_is_ready();
}
catch(org.omg.CORBA.SystemException e) {
System.err.println(e);
}
}
}
Die Quelle:
StructServer.java