In Chapter 16, we briefly look at five different architecture types: fully centralized, client–server and its variations of N-tier, mobile agents, and peer-to-peer. You may want to refer to this chapter intermittently or read it first. In this chapter, we will focus on the latter two, namely mobile agents and peer-to-peer systems, as relating to mobile application development.
We focus on these systems for two reasons. First, the application of mobile agents and peer-to-peer architectures in the mobile application realm is not well documented because both are fairly recent concepts. Second, both mobile agents and peer-to-peer architectures promise to play an integral role in mobile application development as it matures. We have already discussed the properties of these two architectures that make them more desirable for mobile application development. Furthermore, we have surveyed both of these technologies. Now, you may wonder why we are making an association between the peer-to-peer and mobile agent architectures. We can find the answer in looking at some of the properties of the two architectures and their contrasts with the client–server model.
Peer-to-peer and mobile applications are similar in the following ways: