Java Reference
In-Depth Information
CHAPTER 6
■ ■ ■
Networking with RMI
I n this chapter, you will develop the background needed to implement a complete network-
ing solution using Remote Method Invocation (RMI). To that end, this chapter will cover RMI
and, to a lesser extent, serialization. Figure 6-1 illustrates where the networking solution fits in
the overall architecture of the system, which is nestled between the GUI and the data layer.
Figure 6-1. The networking tier of Denny's DVDs version 2.0
Before you can fully understand RMI, it is important to familiarize yourself with some of
the ins and outs of serialization, since RMI relies on this feature. Serialization is a topic that
you may already be familiar with from the Sun Certified Java Programmer (SCJP) exam, but we
will still cover the topic briefly. These topics are some of the big-picture points developed in
this chapter:
Understanding object serialization in Denny's DVDs
Evaluating the pros and cons of using RMI as a network protocol
163
Search WWH ::




Custom Search