O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required