- Persistent objects store their state in memory while they are active.
- This might pose problems if
- (1) Implicit caching of state causes conflicts with other database access
- (2) Normal operation requires too many active servants
- In the Auction Server we assume these problems do not occur
- How would we use the POA policies (and change the implementation) to address both of these concerns?
- Use a proxy style of implementation.
- (1) Objects have no state (no member variables)
- use storage manager to retrieve state as necessary
- (2) Create only one servant
- this should reduce memory usage considerably
|