Patent ID: 7810102

Claim:
A computer program product for adapting software entities using a declarative approach in a service framework, the computer program product comprising a computer-readable storage medium having computer-readable program code stored therein, the computer-readable program code being executable by a processor to cause the processor to perform operations comprising: presenting, to a user via a user interface provided by a service consumer computer system, an index listing a plurality of software services available at the service provider system, the service provider computer system comprising a service repository storing a plurality of existing software entities that each provide one of the plurality of software services; retrieving, by the service consumer computer system from the service repository, an existing software entity of the plurality of existing software entities in response to selection of a corresponding one of the software services from the index by the user, the existing software entity comprising a software entity interface and business logic; receiving, at the service consumer computer system from the user via the user interface, a declaration specifying logic or equations indicating relations to be solved for adaptation of the existing software entity by the service consumer computer system to an adapted software entity having compatibility with a scenario-specific user interface view provided by the service consumer computer system; adapting the existing software entity to the adapted software entity in accordance with the declaration, the adapting of the existing software entity to the adapted software entity comprising the service consumer computer system performing one or more of controlling and evaluating the logic or equation specified by the declaration, the adapted software entity retaining the existing software entity interface so that the adapted software entity appears to the user via the user interface and behaves like the existing software entity; and storing the adapted software entity at the service consumer computer system such that compatibility of the existing software entity with the scenario-specific user interface view at the service consumer computer system is provided to subsequent users.