Making Stringified References
- When there is no naming service (or for many other reasons)
you can still pass around a stringified reference.
- Given an object reference
helloRef
, you can get
its stringified version.
String ior =
orb.object_to_string(helloRef)
- This string can be written to a file, emailed, etc. At the
other end it can be de-stringified with:
org.omg.CORBA.Object obj = orb.string_to_object(ior)
Hello helloRef = HelloHelper.narrow(obj)
José M. Vidal
.
18 of 21