jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes Interface design - IDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Interface design - IDL" Watch "Interface design - IDL" New topic

Interface design - IDL

Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
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.
Dani G

Joined: Feb 22, 2002
Posts: 1
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
I agree. Here's the link: http://aspose.com/file-tools
subject: Interface design - IDL
It's not a secret anymore!