O'Reilly logo

Special Edition Using Java™ Server Pages and Servlets by Mark Wutka

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

Chapter 21. Using RMI in a Web Application

In this chapter

The Java Remote Method Invocation (RMI) package is a very natural way to do a three-tiered application. Because RMI is so tightly integrated with Java, it gives you a very natural feel. Calling a method in a remote Java object is just like calling a method in a local object, except that there is always the possibility of the call failing because of network problems.

When you use RMI in a Java Web application, the main thing you need to be concerned with is how you manage your remote object references. That is, you need to know when to create a connection to a remote object, how many connections ...

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