This question might actually be a reworded version of Colin's question, but I will put it more in layman's terms. Is there a way in CORBA to pass objects as parameters to methods (or operations as they are called in CORBA) or to return objects as return values from methods/operations?? It would seem like CORBA would be very limited if it were restricted to passing and returning only primitive types. ------------------ Sun Certified Java Programmer -Walter
Dinesh Sadhvani
Greenhorn
Joined: Apr 04, 2001
Posts: 5
posted
0
Well two things here one is a simple object passing yes u can pass objects declare <struct>'s in CORBA idl. U can return these or pass these (in or inout or out).
another is Pass-by-Value with CORBA 2.3 u can pass objects by Value using the Value and ValueHolder interfaces.
Hope it helps Dinesh
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
The object I am looking to pass is already implemented in Java. It is a not-so-simple yet not-so-complex storage object that has a fairly shallow inheritance tree. We are currently porting an interface from Java to CORBA. Would I have to reimplement the object in CORBA or is it possible to inherit a CORBA object from a Java object perhaps? Is there a reverse compiler from Java to CORBA (perhaps the Java-to-IDL compiler would do this)?
------------------ Sun Certified Java Programmer -Walter