This content has been marked as final. Show 9 replies
hello.sayHello(mom);1 person found this helpful
is that means that there is listening method on the hello object that listens the actions made over the object hello??
No. It means that the ORB with which the Hello object is registered is listening to a TCP port for incoming method calls, which it despatches to the appropriate method in the appropriate object.1 person found this helpful
Hi,a final question is how can we send back the string to the client and the client handle that string and print it in the screen to?
thanks so much
Edited by: rachid on May 24, 2012 11:15 PM
Just change the definition of Hello to do that, and the implementation, and the use. The definition is in Hello.idl or Hello.java depending on whether you are using IDL or RMI/IIOP.
I am really a beginner in corba, I haven't understand the hole thing yet, but can we have write the same code of the server in the client side to get it work without changing the idl file??
IDL stands for Interface Definition Language. It is the glue that binds everything together: the interface used by the client and implemented by the server. Your question therefore makes no actual sense, as you could have established for yourself ages ago by trying it, but more to the point you shouldn't be just messing around with these things without trying to understand them first. Just asking random questions on a forum isn't a rational strategy.1 person found this helpful
I actually tried, and it works
eventually I changed the idl file
string say_hello(in string message);
I've just complicate the situation, I wonted to understand the role of each generated file..
thanks for your help
Edited by: rachid on May 25, 2012 10:21 PM