Method to demonstrate software that performs database queries
First Claim
1. A method to retrieve data using a single input class operating in three or more modes, the input class being part of an interpretative based application running on an information processing unit, the method comprising the steps of:
- executing an interpretative based application on an Interpretative Machine (IM) with an input class function containing at least one parameter string for passing data to the application;
determining which of a plurality of modes the application requesting input from the input class function is running, the plurality of modes including;
a live mode, wherein the database is available either locally or through a network;
a demonstration mode, wherein the database is not available;
or a setup mode, wherein the database is available either locally or through a network;
wherein when the application is running in the live mode, the input class function performing the steps of;
using the parameter string to create a pointer into the database; and
retrieving the data from the database using the pointer to the database;
wherein when the application is running in the setup mode, the input class function performing the steps of;
using the parameter string to create a pointer into the database;
retrieving the data from the database using the pointer to the database; and
creating a copy of the data retrieve from the database into a file on the information processing system with a file name based on the parameter string;
wherein when the application is running in the demo mode, the input class function performing the steps of;
using the parameter string as the name of the file to retrieve data locally stored in a file on the information processing system during setup mode; and
retrieving the data using the parameter string;
wherein when the application is running in an environment where the IM is coupled to a web browser or the application is running in an environment where the IM not coupled to a web browser, no changes to the application making the call to the input class is necessary to retrieve data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method to retrieve data in a information processing unit. The method comprises: creating a pointer into a database based on a category for data to be retrieved, determining if an application running on the information processing unit is running in an online mode where the information processing unit is coupled to a database server or if the application is running in an offline mode where the information processing unit is not coupled to the database server; and retrieving at least part of the data using the pointer to the database when the application is running in an online mode. In accordance with another aspect of the invention, a computer readable medium can include instructions to program data processing apparatus to carry out the above method.
-
Citations
18 Claims
-
1. A method to retrieve data using a single input class operating in three or more modes, the input class being part of an interpretative based application running on an information processing unit, the method comprising the steps of:
-
executing an interpretative based application on an Interpretative Machine (IM) with an input class function containing at least one parameter string for passing data to the application;
determining which of a plurality of modes the application requesting input from the input class function is running, the plurality of modes including;
a live mode, wherein the database is available either locally or through a network;
a demonstration mode, wherein the database is not available;
ora setup mode, wherein the database is available either locally or through a network;
wherein when the application is running in the live mode, the input class function performing the steps of;
using the parameter string to create a pointer into the database; and
retrieving the data from the database using the pointer to the database;
wherein when the application is running in the setup mode, the input class function performing the steps of;
using the parameter string to create a pointer into the database;
retrieving the data from the database using the pointer to the database; and
creating a copy of the data retrieve from the database into a file on the information processing system with a file name based on the parameter string;
wherein when the application is running in the demo mode, the input class function performing the steps of;
using the parameter string as the name of the file to retrieve data locally stored in a file on the information processing system during setup mode; and
retrieving the data using the parameter string;
wherein when the application is running in an environment where the IM is coupled to a web browser or the application is running in an environment where the IM not coupled to a web browser, no changes to the application making the call to the input class is necessary to retrieve data. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer readable medium containing programming instructions for retrieving data using a single input class operating in three or more modes, the input class being part of an interpretative based application running on an information processing unit, the method comprising the steps of:
-
executing an interpretative based application on an Interpretative Machine (IM) with an input class function containing at least one parameter string for passing data to the application;
determining which of a plurality of modes the application requesting input from the input class function is running, the plurality of modes including;
a live mode, wherein the database is available either locally or through a network;
a demonstration mode, wherein the database is not available;
ora setup mode, wherein the database is available either locally or through a network;
wherein when the application is running in the live mode, the input class function performing the steps of;
using the parameter string to create a pointer into the database; and
retrieving the data from the database using the pointer to the database;
wherein when the application is running in the setup mode, the input class function performing the steps of;
using the parameter string to create a pointer into the database;
retrieving the data from the database using the pointer to the database; and
creating a copy of the data retrieve from the database into a file on the information processing system with a file name based on the parameter string;
wherein when the application is running in the demo mode, the input class function performing the steps of;
using the parameter string as the name of the file to retrieve data locally stored in a file on the information processing system during setup mode; and
retrieving the data using the parameter string without performing any calls to the database without performing any calls to the database. - View Dependent Claims (8, 10, 11, 12)
-
-
9. The computer readable medium 8, wherein the instruction of connecting to a database further comprises connecting to a web server running a servlet coupled to a database.
-
13. An information processing system for retrieving data using a single input class operating in three or more modes, the input class being part of an interpretative based application running on the information processing unit, the information processing unit comprising:
-
an interpretative based application executing on an Interpretative Machine (IM) with an input class function containing at least one parameter string for passing data to the application;
means for determining which of a plurality of modes the application requesting input from the input class function is running, the plurality of modes including;
a live mode, wherein the database is available either locally or through a network;
a demonstration mode, wherein the database is not available;
ora setup mode, wherein the database is available either locally or through a network;
wherein when the application is running in the live mode, the input class function forms a pointer from the parameter string into the database for retrieving the data from the database;
wherein when the application is running in the setup mode, the input class function forms;
a pointer from the parameter string into the database for retrieving the data from the database;
a file containing a copy of the data retrieve from the database into a file, the file stored on the information processing system with a file name based on the parameter string;
wherein when the application is running in the demo mode, the input class function uses the parameter string as the name of the file to retrieve data locally stored in a file on the information processing system during setup mode without performing any calls to the database. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification