开发者

What type is RMI? [closed]

It's difficult to tell what is being asked h开发者_如何转开发ere. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

Does RMI belong to the object oriented middle ware type?


"Middleware" is another of these vague marketing terms that means whatever somone trying to make a sale wants them to mean.

But I'd say while RMI is certainly object-oriented, it does not qualify as middleware, because it offers no functionality of its own. It's a communications protocol and API.

Of course, there is a lot of middleware using RMI.


With all the cautions related the use of words, as already explained before, RMI can certainly be considered an object oriented middleware. It allows you to return object by value (serializing them) or by reference (offering you a reference to invoke methods on the remote object).

In the old days (back to 1996) were considered OO middleware also Voyager ( http://www.springerlink.com/content/cn20847n36378048/ ) and HORB ( http://www.springerlink.com/content/c1156178g025x422/ ). I can probably say that the "reference" OO middleware is/was anyway CORBA ( http://en.wikipedia.org/wiki/CORBA )

All those were commonly categorized as "ORB", that stands for Object Request Broker ( http://en.wikipedia.org/wiki/Object_request_broker )


Hmm... Java RMI can be used to implement OO-style middleware systems, so I guess that's a 'yes'?

You can read more about RMI from Oracle's RMI Home or from Wikipedia.


RMI is a Java technology, and it is a software component. It does connect different parts of applications (and processes) together. Java is object oriented. So you definitely can combine all those definitions and say that RMI belongs to the object oriented middleware.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜