Automatic connection and query management
AssigneeSun Microsystems, Inc.
InventorsAmit Handa, Lance Andersen, Binod P.G., Shreyas Kaushik
Life of this patent
Estimating the term…
Abstract
A method for accessing data from a network storage medium is disclosed. An application supplies a query interface to a software object. The software object then establishes a connection between the application and the network storage medium using database information supplied by the query interface. Next, an annotated method supplied by the query interface is executed using logic provided by the software object. After the transactions have ended, the annotated method closes the connection between the application and the network storage medium.
Claims26
A method for accessing data at a network storage medium, comprising:
- supplying connection information and a query interface to a first software object, the connection information and the query interface being provided by an application;
- creating a second software object using the first software object;
- passing the connection information and query interface to the second software object;
- establishing a connection with the network storage medium, the connection being created by the second software object using the connection information, an annotated method being provided by the query interface to the second software object;
- and
- executing the annotated method to enable transactions with a database on the network storage medium, wherein the annotated method is configured to close the connection once the application is finished transacting with the database.
A method for accessing data at a network storage medium, comprising:
- supplying a query interface to a software object, the query interface being provided by an application;
- establishing a connection with the network storage medium, the connection being created by the software object using the query interface, the query interface providing database information and an annotated method to the software object;
- and
- executing the annotated method using logic provided by the software object to enable transactions with a database on the network storage medium, wherein the annotated method is configured to close the connection when the application is finished transacting with the database.
A system for accessing data at a network storage medium, comprising:
- a client computer system, the client computer system containing an application, the application having a query interface;
- a network storage medium;
- and
- an application interface, the application interface arbitrating communications between the client computer system and the network storage medium, wherein,
- the application interface is configured to establish a data communications connection between the application and the network storage medium using the query interface, the query interface including an annotated method and database information,
- the application interface transacts with a database on the network storage medium using the annotated method received from the query interface, and
- the application interface closes the data communications connection when
- the application finishes transacting with the network storage medium.
Dependencies are inferred from the claim text.