Remote composition of messages for distributed applications

A system for remotely composing messages to generate a control message comprising: a shared coordination room for composing the messages, wherein the shared coordination space is a tuple room; and a plurality of components for performing predetermined actions and exchanging messages according to a predetermined ontology, wherein a first component comprises a call control application for controlling a switch, wherein the call control application is adapted to receive a user initiated request to use a location based feature and to register the request for the location information by notifying an anti-tuple of a tuple space, and wherein at least one of the other components has a directory application for storing location information, the directory application being adapted to operate on the Based on user selection of the location information, announcing a tuple to the tuple room containing the location data from the directory application and wherein the tuple room is adapted to compare the tuple with the anti-tuple and the control message to send to a central office to perform the location-based call feature requested by the user.