An application management system includes an application manager for
managing an application and associated with a database resource storing a
plurality of entities. The application manager includes an input for
receiving an input defining an event in which a user is involved in the
application or an input defining an event involving a manipulation of at
least one entity in the database resource. A context is associated with
the event and is represented by a set of references to the entities
stored in the database resource. The application manager includes a
situation representation manager for determining a situation
representation that defines a subcontext. The situation representation
manager identifies a subset of references to a plurality of entities that
are relevant to the event. The application manager adapts the behavior of
the application to a situation or a future situation on the basis of the
situation representation.