A method to perform I/O (Input/Output) operations in a data processing unit running an interpretative based program in an Interpretive Machine (IM). One example on an interpretative based program running in an IM is a Java based program. An I/O class for passing data into the interpretative based program and out of a the interpretative based program is defined. An object representing an instance of this I/O class is created. The I/O class includes a first member function called an Applet function for handling I/O operations when the IM is running as an Applet coupled to a Web browser. The Applet function has its own procedures and data variables for performing I/O operations. The I/O class includes a second member function called and Application function for handling I/O operations when the IM is running as an Application not coupled to a Web browser. The Application function has its own procedures and variables for performing I/O operations. A check is made to determine whether the interpretative based program is being executed with or without a browser. When the interpretative based program is being executed with a browser, the Applet function performs I/O operations and when the interpretive based program is being executed without a browser, the Application function performs the I/O operations. In accordance with another embodiment of the present invention, a computer readable medium is disclosed corresponding to the above method.

Un método para realizar operaciones de I/O (entrada-salida) en una unidad de proceso de datos que funciona un programa basado interpretativo en una máquina interpretativa (IM). Un ejemplo en un programa basado interpretativo que funciona en un IM es un programa basado Java. Una clase de I/O para pasar datos en el programa basado interpretativo y de el programa basado interpretativo se define. Un objeto que representa un caso de esta clase de I/O se crea. La clase de I/O incluye una primera función del miembro llamada una función del applet para manejar operaciones de I/O cuando el IM está funcionando como applet juntado a un browser del Web. La función del applet tiene sus propios procedimientos y variables de los datos para realizar operaciones de I/O. La clase de I/O incluye una segunda función del miembro llamada y función del uso para manejar operaciones de I/O cuando el IM está funcionando como uso no juntado a un browser del Web. La función del uso tiene sus propios procedimientos y variables para realizar operaciones de I/O. Un cheque se hace para determinarse con si el programa basado interpretativo se está ejecutando o sin un browser. Cuando el programa basado interpretativo se está ejecutando con un browser, la función del applet realiza operaciones de I/O y cuando el programa basado interpretativo se está ejecutando sin un browser, la función del uso realiza las operaciones de I/O. De acuerdo con otra encarnación de la actual invención, un medio legible por computador es el corresponder divulgado al método antedicho.

 
Web www.patentalert.com

< (none)

< Web calendar architecture and uses thereof

> Enterprise network management directory containing network addresses of users and devices providing access lists to routers and servers

> (none)

~ 00003