What is the main difference between CORBA and Java RMI?

It would be great if you addin the minor differences as major ones.
3 answers 3