Introduction
In the previous chapter we were introduced to Java RMI. We reviewed the framework of RMI framework and the interaction between the RMI client and the remote object it is using. But RMI is not limited to simple invocation of objects. As we will demonstrate in this chapter, an RMI remote object can make calls back to the client which invoked it, and it can provide its own registry services or export its remote reference to a naming service other than the default RMI registry.
The RMI implementations we saw in the previous chapter had to be running in order for the client to retrieve the reference for the object and invoke its methods. But for some RMI implementations this may not be the optimal approach. RMI activation, as demonstrated ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access