Summary

As we saw in this chapter, RMI is a mature technology that provides basic distributed object facilities. Using RMI, you can create an object that can be invoked remotely by one or more client programs.

In this chapter we discussed the framework for RMI and how this framework is used to provide the ability to access an object's methods over a network. We saw that RMI remote method parameters must either be primitive data types or serializable objects. After discussing the process for building an RMI application, we demonstrated the basic capabilities for using RMI first with an academic demonstration followed by a more complex, business-oriented sample application.

But RMI can do still more, as we will see in the next chapter, where we ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.