2.1. What are distributed objects?

In its most general sense, the term ‘distributed objects’ refers to an object-oriented architecture in which collaborating objects are located on different computers. Data and instructions are exchanged over a network. The computers may be in the same room or on different continents (Figure 2.1). In EJB 2.0, EJBs do not have to be capable of distribution (for efficiency reasons), but it is envisaged that most EJBs will support distribution to allow the server to provide load balancing and fault tolerance. Therefore, we assume in this chapter that EJBs are to be treated as distributable. In addition, this chapter assumes that if there is a distinction between ‘objects’ and ‘components,’ it is not important as ...

Get Applied Enterprise JavaBeans™ Technology now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.