| Jini | UPnP | |||||||
|---|---|---|---|---|---|---|---|---|
| Service adverts | via a Lookup Service (LUS) | Direct multicast | ||||||
| Service discovery | via an LUS | Direct multicast | ||||||
| Discovery protocol | fixed | fixed | ||||||
| Service invocation protocol | Unspecified (JRMP, Jeri, IIOP, etc) | SOAP | ||||||
| Object references | Java proxy objects | URLs or XML documents | ||||||
| Mobility |
|
None | ||||||
| Language | Java only | Agnostic |
RMIClassLoader)
RMISecurityManager)
The change is shown as
Proxy class reduces this: a proxy supporting
an interface can be generated on the fly
InvocationHandler to deal with method calls
Proxy and a standard invocation handler
avoids use of an HTTP server
in or
out parameters
out parameters such as IntHolder
MarshalledObject to a request