Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CORBA & RMI

 
shop girl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
shop girl
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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!
 
Dave Clark
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that was a Crisp but Clear explanation.

Thnx dude.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic