Fine Grain Policies
  • Since objects have natural identitifiers, use them
    • Avoid having a mapping between POA identifiers and database identifiers.
    • ID_ASSIGNMENT_POLICY: USER_ID
  • Persistent objects
    • LIFESPAN_POLICY: PERSISTENT
  • We want objects to be activated on demand.
    • REQUEST_PROCESSING_POLICY: USE_SERVANT_MANAGER
  • After activation we will let the POA hold on to the Servants in the active object map:
    • SERVANT_RETENTION_POLICY: RETAIN
  • These two policies require that we implement a ServantActivator

Next Slide >>