• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on IDL language!!!

 
jyothi sunke
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a question on CORBA. CORBA was made specifically for interoperability across programming languages. And it acts as middleware service between client and server. IDL is a neutral language that is used to specify the attributes and methods of an object that will be accessible by a client. Due to its neutral nature, language mappings have been created for several popular languages include Ada, C++, Cobol, Java, and Smalltalk. IDL separates an object's interface from its implementation, allowing objects to be written in different languages than the clients accessing them. The clients do not know or care about the implementation details of the objects they are accessing.
From above, suppose server program is written in Cobol & Client application in Java. Corba is used for comminicating between them and for that IDL language can be used.
Can anyone tell me the role of IDL language here in above situation??
Thanks!!
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd use IDL to write an abstracted representation of the service calls available on the COBOL side of your example.
The Java client would use this interface to make whatever requests it could.
Pretty simple, really.
 
jyothi sunke
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael,
Originally posted by Michael Ernest:
You'd use IDL to write an abstracted representation of the service calls available on the COBOL side of your example.
The Java client would use this interface to make whatever requests it could.
Pretty simple, really.

Thanks for your response. But, as far as I understand we need not know the syntax of cobol language to write corba interface above. Then, my question is how can I write the corba code with out knowing anything about cobol.
Is IDL language is standard for mapping any programming language or does it's syntax varies based on mapping language. how can we write abstact representation of service calls available on cobol side?? I am not getting the sensitive link above. Please explain.
Never mind, if it is a silly question. I don't have any experience in corba application development.
Thanks a lot!!!
[ March 14, 2003: Message edited by: jyothi sunke ]
 
Enrique Pedraza
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. You'd write the same idl for both cobol server and java client. Then, you would compile this idl with an idl2corba compiler for the server, and and idl2java compiler for the client.
The code produced with this compiler would be the bridge between the cobol based server and the corba out world, and the same for the java side. idl is universall, mappings are language-dependent.
 
jyothi sunke
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Enrique,
Thanks for your response. Now I got the clear picture. So, it's the compiler.
Thanks a lot!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!