摘要 |
<P>PROBLEM TO BE SOLVED: To provide a method and system for controlling resources to be used by the Web service application of a device. <P>SOLUTION: The pool contains data structures that web services applications are likely to re-use. Before allocating a new instance of a needed data structure from free memory, a web services application first determines whether the shared pool already contains a currently unused but allocated instance of a data structure of the needed type, and, if the shared pool does, then the web service application uses that instance, overwriting existing data in the instance as needed. Web services applications return such data structures to the shared pool when those web services applications are finished using those data structures. <P>COPYRIGHT: (C)2009,JPO&INPIT |