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 ...
Get Special Edition Using Java™ Server Pages and Servlets 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.