dcsimg
Is IIOP just an Inter-ORB protocol or is it also used inside an ORB i.e INTRA-ORB?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sandhya_s
Posted On:   Sunday, August 19, 2001 10:10 PM

Is data flow inside an ORB implemented using IIOP or is it proprietary? Is this the correct sequence when a client makes a request:

Client language -> IIOP -> Server language? Who does the translation btwn client-IIOP and IIOP-server language?

Re: Is IIOP just an Inter-ORB protocol or is it also used inside an ORB i.e INTRA-ORB?

Posted By:   Dermot_Hennessy  
Posted On:   Monday, August 20, 2001 01:38 AM

The translation is done via utilities which create stubs and skeleton classes out of your idl. What you do is as follows:

  1. Define some IDL
  2. Compile this IDL using and IDL compiler (supplied with your CORBA implementation). This creates stubs and skeletons for your CORBA objects in the target language. So if your server is C++ and your client Java, you compile your idl twice, and use the skeleton classes created by the C++ idl compiler and the stub classes created by the Java compiler.
  3. Communication between client and server from now on is effected using IIOP (unless you are using a very old CORBA implementation which may have had a proprietary protocol).
  4. However there is nothing to stop either client or server from communicating with other processes using whatever protocol you like, e.g. the server might use a proprietary database protocol to connect to the database before it renders the results into a format which can be passed over IIOP. Likewise the client might communicate over some secure protocol with a session key generator before talking to the server.

Dermot
About | Sitemap | Contact