Re: how a Client(write in Java Corba) communicate to a Server(write in ORBit)?



bgl218@21cn.com wrote:
hi :    Now I want to write a Sever program in ORBit and the Client program in Java Corba .


this is really academic:

1.) define an interface (IDL)

2.) generate Skeleton for C using orbit-idl
3.) use the skeleton to wrap your service written in C
4.) activate ObjectAdapter pointing to your service and register at naming service

4.) generate Stub for Java Code  (maybe with java-idl??)
5.) instanciate Java-Stub,using naming service

6.) search bugs

Cheers, Frank
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]