CORBA 2.3.3 Getting Started Guide (NonStop CORBA 2.3.3+)
Previously, the application could call the method:
String org.omg.CORBA.ORB.Object_to_string
(org.omg.CORBA.Object object)
with an object implementation. Now the application must first call the method:
org.orm.CORBA Object
org.omg.PortableServer.POA.servant_to_reference(
org.omg.PortableServer.Servant servant)
to get a CORBA object reference, which may then be passed to
org.omg.CORBA.ORB.object_to_string
org.omg.CORBA.ORB.object_to_string
5.
If an application implemented:
com.tandem.nsdom.PortableServer.ServantExtension
then the method:
POA _default_POA()
needs to be moved into the object implementation.
6.
If an IDL contained a "const" declaration located within an "interface," then the generated constant
identifier and its value have moved from:
<interface>Package.<const-id>.value
to
<interface>.<const-id>
An application needs to change its references to the constant. If the following IDL example were
followed:
interface Stack {
const long StackSize = 10;
};
an old reference would be:
int size = StackPackage.StackSize.value;
a new reference would be:
int size = Stack.StackSize;
7.
The IDL compiler generated files are changes:
NonStop JORB 1.0 NonStop CORBA 2.3
POA_<interface>.java <interface>POA.java
_<interface>ServantRef.java <not generated>
8.