摘要:
A method is disclosed for handling an error in a script-based application, the method comprising detecting an error in the script-based application, the detecting comprising identifying the error and handling the detected error in accordance with a predetermined error-handling procedure suitable for the identified error.
摘要:
An application container-level transaction management system for managing transactions of an application on a wireless device. The system comprises a transaction manager for providing an interface to the application container for accessing methods for creation and execution of transactions in a hierarchical order. The transactions comprising correlative operations. The system further comprises a transaction stack for storing the transactions to be executed in an execution order according to the hierarchical order, the order of execution providing for at least one of rollback and completion of the correlative operations.
摘要:
A system and method for the simplification of data structures, particularly those used for wireless communications, encodes data structures for efficient storage and access. Wireless devices are provisioned with user applications for accessing remote services, such as World Wide Web services. The user applications comprise a plurality of component definitions which typically describe complex data structures for execution by a runtime environment. The runtime environment is conditioned to use a manner to encode such data structures in flat arrays of primitive types.
摘要:
An endless script or other function is considered to be malicious as it exhausts system resources such as CPU time and memory. Therefore, the handling of an endless function execution is crucial, particularly in a wireless runtime environment. A combination of time-out and user-interruption scheme is used to detect and handle the problem.
摘要:
An application container-level transaction management system for managing transactions of an application on a wireless device. The system comprises a transaction manager for providing an interface to the application container for accessing methods for creation and execution of transactions in a hierarchical order. The transactions comprising correlative operations. The system further comprises a transaction stack for storing the transactions to be executed in an execution order according to the hierarchical order, the order of execution providing for at least one of rollback and completion of the correlative operations.
摘要:
A method for extending a script language in a runtime environment of a data processing system to support an application, the runtime environment having a script language interpreter, the method comprising: subclassing a predetermined object defined by the script language to create a subclassed object, the predetermined object having an original method, the subclassed object having a respective replacement method for supporting the application; dynamically registering a symbol corresponding to the subclassed object; detecting the subclassed object in the application with the script language interpreter; and, executing the replacement method with the script language interpreter.