Method and apparatus for using Java as a stored procedure language and as an embedded language on a client
First Claim
1. A method of using Java as a stored procedure programming language comprising:
- obtaining an abstract data type attribute from a database;
wrapping the abstract data type attribute in a Java class; and
executing a stored procedure in a Java virtual machine, wherein the stored procedure is written in the Java programming language and uses the Java class.
2 Assignments
0 Petitions
Accused Products
Abstract
One or more embodiments of the invention provide the ability to utilize the Java programming language as a stored procedure language. One or more embodiments of the invention provide for Java abstract data types (ADT) that map to ADT attributes from a database. The Java ADT can then be manipulated in an application written in the Java programming language such as a stored procedure. Each ADT attribute from a database is mapped to a Java class by wrapping the ADT definition (which is commonly written in C ++) in a Java wrapper. The wrapping process enables a user to write any client side Java application. Once the ADTs are wrapped and a stored procedure is created, the stored procedure must be able to execute. Enhancements permit a stored procedure written in the Java programming language to execute. Such enhancements include a server side cursor that the stored procedure can use to run SQL queries. Additionally, the server has been enhanced to link to a Java virtual machine that can be used to execute the bytecodes of the stored procedure written in the Java programming language.
75 Citations
15 Claims
-
1. A method of using Java as a stored procedure programming language comprising:
-
obtaining an abstract data type attribute from a database;
wrapping the abstract data type attribute in a Java class; and
executing a stored procedure in a Java virtual machine, wherein the stored procedure is written in the Java programming language and uses the Java class. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A system for using Java as a stored procedure programming language comprising:
-
a database comprised of an abstract data type attribute;
a Java class wrapping the abstract data type attribute;
a stored procedure on a data server, the stored procedure written in the Java programming language using the Java class;
a Java virtual machine configured to execute the stored procedure. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An article of manufacture for using Java as a stored procedure programming language comprising:
-
means for obtaining an abstract data type attribute from a database;
means for wrapping the abstract data type attribute in a Java class; and
means for executing a stored procedure in a Java virtual machine, wherein the stored procedure is written in the Java programming language and uses the Java class. - View Dependent Claims (12, 13, 14, 15)
-
Specification