I like information technoloy and Distributed Java and I want to know lots of things about it ...
at the begining I want to know about CORBA and RMI in details....
but I face some problems in that ..... I have some questions and I hope that you can help me to understand it
plz I want to know the following:
What is the common problem that RMI and Corba designed to solve??
What is the difference between RMI and CORBA??
What is the purpose of the interface definition language (IDL) in CORBA?? and why it essential to the CORBA approach to distributed objects???
What is the purpose of the ORB in CORBA? ans why it is essential to CORBA approach???
plz reply me as soon as possible
Joined: Feb 16, 2005
Hi Shop Girl,
CORBA and RMI (and Web Services) allow you to have distributed Java components invoke methods remotely. You don't always want to run everything within the same JVM, so you need a way for the different processes to talk.
RMI is Java-only, but can talk via the Internet Inter-ORB Protocol (IIOP) to CORBA components. CORBA components can be C/C++/Smalltalk/whatever
IDL = CORBA's Interface Definition Language - it's just a language neutral way to specify a service interface (similar to WSDL in web Services).
The ORB is the Object Request Broker, which is essentially the glue between your client and server which turns objects into data to send, and the data it receives into objects.
If you want to write distributed apps that are all Java, you're better off using either RMI or web services. If you want to write distributed systems that have non-Java components, you're better off using web services than CORBA, unless you're sending a *lot* of data and you need to squeeze every last drop of performance out of your architecture,
Dave Clark<br />Senior WebSphere Architect<br /><a href="http://www.versant.com" target="_blank" rel="nofollow">Versant Open Access - JDO2 & EJB3</a>
Joined: Feb 21, 2005
THANK U DEAR...
BUT ITS BETTER IF U ANSWER MY QESTIONS IN MORE DETAILS
PLZ IF U CAN ... REPLY ME WITH MORE DETAILS FOR MY QESTIONS
Author and all-around good cowpoke
Joined: Mar 22, 2000
That really sounds like a homework assignment to me Also two bits of advice - never ever use all CAPS in a message, and respect the Javaranch name policy. Bill