| Home > Advance
Java FAQ
> CORBA FAQ |
| CORBA |
| |
|
Q . What is CORBA?
|
Ans :
CORBA stands for Common Object Request Broker Architecture. CORBA is a mechanism that allows applications to invoke object methods that will execute on remote systems. CORBA isn't limited to any single platform, or language. CORBA systems are written in C++, Ada, Java, and other languages. This makes it more interoperable than remote procedure calls and remote method invocation.
|
|
Q .
When should I use CORBA?
|
Ans
:
Here's a few rules of thumb :
When you wish to use services that are running on remote machines (distributed systems)
When you have a heterogeneous networking environment, containing systems that aren't capable of supporting JVMs because a port is not yet available
When you want your applications to be accessed by other systems written in C, C++, Ada, Cobol, and other languages (including Java)
|
|
Q .
What support does Java have for CORBA?
|
Ans
:
Third party class libraries allow you to write CORBA application clients and services in earlier versions of Java, but support for CORBA is also included with the newly released Java 2 Platform. Clients and services can be written (though an extra download of the idltojava tool is required). For more information on Java IDL, see "Java and CORBA - a smooth blend".
http://www.javacoffeebreak.com/articles/javaidl/javaidl.html
|
|
Q .
How do I start the CORBA nameservice for Java 2?
|
Ans
:
The nameservice can be started by running the tnameserv command, which should be located in your Java 2 binaries directory. Remember however that this service will run continuously, so you'll need to run it in a separate console window.
|
|
|