摘要 |
PROBLEM TO BE SOLVED: To provide a method and system for converting a desktop application to a Web application. SOLUTION: The method includes inputting, at a client side, URL of a desired desktop application and sending it to a server, with the server providing a code conversion tool to the client and loading the desktop application; at the server, extracting interface information of the loaded desktop application, wrapping the interface information to data in an interface descriptive language format (e.g. XML data), and sending the wrapped data back to the client; and at the client, parsing the received XML data by utilizing the code conversion tool to generate relevant webpage elements (e.g. HTML data) to display the desktop application. In another embodiment, the server directly runs the code conversion tool, to implement the code conversion from the XML data to the HTML webpage elements. COPYRIGHT: (C)2011,JPO&INPIT |