Link to home
Start Free TrialLog in
Avatar of Phoebe
Phoebe

asked on

RMI going to die??

My friend told me RMI is going to die.

I can not believe it?
I am very sad to hear the news


Does anyone has any idea?

ASKER CERTIFIED SOLUTION
Avatar of s_franklin
s_franklin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of heyhey_
heyhey_

RMI has a place if you are implementing distributed Java applications ... if you need to connect them with Cobol app - you'll need Corba.

RMI is 'good' Java technology.
Corba is multi-platform solution.
All valid points. In the context of the original question, the answer is "no, RMI is not going to die". However, there have been plenty of hints from Sun developers on newsgroups, small indications of increased CORBA support, and a shift in emphasis on CORBA in proposed java-centric architectures.

The advantage of CORBA over RMI is that CORBA works with distributed java applications as well. 2 year from now, if you want to expand your architecture with some components that RMI is not happy to interact with, you have that option with CORBA. Because technologies and architectures (especially web-based ones) are always in a state of flux, you have more options with CORBA from the very start.

There are also some real-world but informal benchmark discussions on the newsgroups that show performance improvements with CORBA over RMI.

So, RMI will not die any time soon in answer to the question. But, as CORBA gets easier to find/use, and now that J2EE emphasizes that CORBA is part of the spec such that your primary middle-tiers are implementing full-fledged ORBs, CORBA will likely continue to grow as the "popular" solution.

Yes, you are right - RMI is 'good' Java technology. But as I mentioned earlier, it's too hard to predict where your architecture is going. Assuming that your system should be able to grow to cross-platform, cross-language and distrubted architecture from the very start is often a worthwhile thing.

Steve
RMI can pass Java object by value (for example you can pass Vector of Strings as parameter), while you can only send primitive types (int, String, byte array) in Corba - that's why RMI is (was :) better for Java-to-Java communication... as far as I remeber Corba was supposed to (partially) support sending objects by value, but since it is quite Java specific version I doubt that that it will be successful.

so some 'Java specific Corba extension' will be the best solution :)