![]() |
|
|
|
|
1
4th April 17:07
External User
Posts: 1
|
Hi i'm quite new to corba.
I need to implement Add.idl, but i can't find something similar on the net, or some closer examples. The idea is to implement the interface Add to store an array of results (the sum of a and b). The client sends a and b to the server and the server sends back an Add object that contains the resulting sum (this is a must, this is how it should be done, i know i could do this easier, also found examples here: http://java.sun.com/developer/techni...eleases/corba/ ). Could anyone give some links to achieve this, or code, or try to do this together on this thread? Here is my idl: //Add.idl module ArithApp { interface Add; typedef sequence <Add> AddJob; const unsigned short SIZE=10; typedef long array[SIZE]; interface Add { AddJob addArrays(in array a, in array b); }; }; Thanks for your time. |
|
|
|
|
|