Re: How to run Corba Client and Server in different machines
Posted By:
sandhya_s
Posted On:
Friday, August 17, 2001 03:37 AM
Simple. Run the Bank.idl file through idl2java.
Remember, you still have only the interfaces and the stubs and skeletons.
Now compile all the java files in the 'Bank' folder.
Copy these class files into your client machine.
On the server, you will have to write the implementation and the server program.
Run the OSAgent on any machine on the network.
Start the server and the client using vbj.
Thats it !
Re: How to run Corba Client and Server in different machines
Posted By:
Arvind_Sama
Posted On:
Monday, July 30, 2001 05:07 AM
Buddy I think I can help you out.
I have working experience on CORBA applications using C++ only but I can give you some hints.
Use :
orb->string_to_object("corbaloc:iiop:xyz.com:3075/NameService");
here xyz.com is your server host IP address
and
"3075" { could be different in your case }is the default port.
The above thing will give give access to the initial naming context of the server. The rest you must be knowing.
Hope this helps.