• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Interface design - IDL

Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to ask how to design the interface properly and what is IDL? Can IDL help on design the interface?
Any other suggestions for designing interface?
Thanks in advance.
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to design an interface you can simply use the concept of java interfaces for java. For C++ you can write pure virtual classes.
Of course you can also use IDL, but i think it is an overkill for small projects which are not intended for distributed computing with Corba.
IDL is an Interface Descriptive Language.
It is usually used for distributed programming with Corba. You can specify the interface of a client/server in the IDL syntax und produce out of the IDL the source code for the client and the server.(by an idl compiler)
The advantage is, that you are free what code to implement the client or server as long as there exists an idl compiler for the language of your choice.
You define an interface for a client/server application by an IDL.
You can create the client code with an idl-to-java compiler to implement the client in java, and on the other side compile the same idl with a idl-to-C++ compiler to implement the server in C++, or vice versa. The idl compiler also generates the needed helper classes for a corba application.
Hope this helps
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic