Patent ID: 6944851

Claim:
A method in a computer system for executing a program, the method comprising: providing a plurality of definitions of interactions of the program, an interaction having one or more command definitions defining commands and a view definition, a command having input attributes and output attributes and a behavior, each interaction being associated with a request; receiving a request; identifying the interaction associated with the received request; for each command of the identified interaction, preparing the command by setting values of input attributes of the command based on attribute values stored in an attribute store; performing the behavior of the command with the input attributes; and extracting attribute values of the command by retrieving values of the output attributes of the command and storing the retrieved values of the attributes in the attribute store; and providing a response generated by the view associated with the identified interaction; wherein the view definition defines a view with attributes and a behavior, the method further comprising: setting values of input attributes of the view based on attribute values stored in an attribute store; and performing the behavior of the view with the set attributes.