States in the component life cycle

EAServer components in any component model follow the state diagram illustrated in this figure:

Figure 2-1: States in the EAServer component life cycle

The state transitions are as follows:

The EAServer component life cycle allows component instances to be recycled; idle component instances can be cached when idle and bound to the service of individual clients only as needed. If your component has been coded to support early deactivation, a client holding a reference to the component’s stub or proxy object may be serviced by several different instances of the component. After each deactivation, the next method invocation causes an instance to be activated and bound to the client. Overall server scalability is increased because a new instance does not have to be instantiated each time a client invokes a method.