aspose file tools*
The moose likes Distributed Java and the fly likes CORBA & RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "CORBA & RMI" Watch "CORBA & RMI" New topic
Author

CORBA & RMI

shop girl
Greenhorn

Joined: Feb 21, 2005
Posts: 2
Hi all....

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

Dave Clark
Ranch Hand

Joined: Feb 16, 2005
Posts: 52
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 = Remote Method Invocation
CORBA = Common Object Request Broker Architecture

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,

cheers,

Dave.


Dave Clark<br />Senior WebSphere Architect<br /><a href="http://www.versant.com" target="_blank" rel="nofollow">Versant Open Access - JDO2 & EJB3</a>
shop girl
Greenhorn

Joined: Feb 21, 2005
Posts: 2
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
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
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
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

"shop girl" -

Yep, what Bill said... Please adjust your displayed name to meet the
JavaRanch Naming Policy. User names cannot be obviously fake and must constist of a first name and a last name.

You can change your user name here.

Thanks! and welcome to the JavaRanch!


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Dave Clark
Ranch Hand

Joined: Feb 16, 2005
Posts: 52
Sounds like you need to do some surfing or buy a book or two:

http://www.oreilly.com/catalog/jentnut2/index.html
http://www.oreilly.com/catalog/jentnut2/index.html
http://www.omg.org/technology/documents/spec_catalog.htm

cheers,

Dave.
Senthil B Kumar
Ranch Hand

Joined: Feb 09, 2004
Posts: 140
that was a Crisp but Clear explanation.

Thnx dude.


Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside Here WEBlog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CORBA & RMI