![]() | ![]() |
Home |
|
|
Java in Adaptive Server Enterprise |
|
| Glossary |
This glossary describes Java and Java-SQL terms used in this book. For a description of Adaptive Server and SQL terms, refer to the Adaptive Server Glossary.
assignmentA generic term for the data transfers specified by select, fetch, insert, and update T-SQL commands. An assignment sets a source value into a target data item.
associated JARIf a class/jar is installed with installjava and the -jar option, then the JAR is retained in the database and the class is linked in the database with the associated jar. See retained JAR .
bytecodeThe compiled form of Java source code that is run by the Java VM.
classA class is the basic element of Java programs, containing a set of variable declarations and methods. A class is the master copy that determines the behavior and attributes of each instance of that class. See class instance .
class fileA file of type "class" (for example, myclass.class) that contains the compiled bytecode for a Java class. See Java file and Java archive (JAR) .
class instanceAn single copy of each of the fields of the class. Class instances are strongly typed by the class name.
datatype mappingConversions between Java and SQL datatypes.
declared classThe declared datatype of a Java-SQL data item. It is either the datatype of the runtime value or a supertype of it.
document type declaration (DTD)In XML, every valid document has a DTD that describes the elements available in that document type. A DTD can be embedded in the XML document or referenced by it.
Extensible Markup Language (XML)A metalanguage designed for Web applications that lets you define your own markup tags and attributes for different kinds of documents. XML is a subset of SGML.
Extensible Style Language (XSL)A markup language designed to format XML documents into HTML or other XML documents with different attributes and tags.
externalizationAn externalization of a Java instance is a byte stream that contains sufficient information for the class to reconstruct the instance. Externalization is defined by the externalizable interface. All Java-SQL classes must be either externalizable or serializable. See serialization .
friendlyA friendly method can be called only by methods of other classes in the same package.
Hypertext Markup Language (HTML)A subset of SGML designed for the Web.
installed classesInstalled Java classes and methods have been placed in the Adaptive Server system by the installjava utility.
instanceA particular copy of a class. An object that is contained in the Java VM. See class instance .
interfaceA unique type of class that lets a class inherit particular methods.
Java archive (JAR)A platform-independent format for collecting classes in a single file.
Java Database Connectivity (JDBC)A Java-SQL API that is a standard part of the Java Class Libraries that control Java application development. JDBC provides capabilities similar to those of ODBC.
Java Development Kit (JDK)A toolset from Sun Microsystems that allows you to write and test Java programs from the operating system.
Java fileA file of type "java" (for example, myfile.java) that contains Java source code. See class file and Java archive (JAR) .
Java objectAn instance of a Java class that is contained in the storage of the Java VM. Java instances that are referenced in SQL are either values of Java columns or Java objects.
Java-SQL columnA SQL column whose datatype is a Java-SQL class.
Java-SQL classA public Java class that has been installed in the Adaptive Server system. It consists of a set of variable definitions and methods.A class instance consists of an instance of each of the fields of the class. Class instances are strongly typed by the class name.A subclass is a class that is declared to extend (at most) to one other class. That other class is called the direct superclass of the subclass. A subclass has all of the variables and methods of its direct and indirect superclasses, and may be used interchangeably with them.
Java-SQL datatype mappingConversions between Java and SQL datatypes. See "Datatype Mapping Between Java and SQL" .
Java-SQL variableA SQL variable whose datatype is a Java-SQL class.
Java Virtual Machine (Java VM)The Java interpreter that processes Java in the server. It is invoked by the SQL implementation.
mappableA Java datatype is mappable if it is either:
Listed in the first column of Table 7-3 , or
A public Java-SQL class that is installed in the Adaptive Server system.
A SQL datatype is mappable if it is either:
Listed in the first column of Table 7-4 , or
A public Java-SQL class that is built-in or installed in the Adaptive Server system.
A Java method is mappable if all of its parameter and result datatypes are mappable.
methodA set of instructions, contained in a Java class, for performing a task. A method can be declared static, in which case it is called a class method. Otherwise, it is an instance method. Class methods can be referenced by qualifying the method name with either the class name or the name of an instance of the class. Instance methods are referenced by qualifying the method name with the name of an instance of the class. The method body of an instance method can reference the variables local to that instance
narrowing conversionA Java operation for converting a reference to a class instance to a reference to an instance of a subclass of that class. This operation is written in SQL with the convert function. See also widening conversion .
packageA package is a set of related classes. A class either specifies a package or is part of an anonymous default package. A class can use Java import statements to specify other packages whose classes can then be referenced.
procedureAn SQL stored procedure, or a Java method with a void result type.
publicPublic fields and methods, as defined in Java.
retained JARA JAR that is installed by the installjava utility with the -jar option. A retained JAR is associated in the database with the classes it contains.
serializationA serialization of a Java instance is a byte stream containing sufficient information to identify its class and reconstruct the instance. All Java-SQL classes must be either externalizable or serializable. See externalization .
SQL92The current SQL standard.
SQL3The working draft for the next revision of the SQL standard.
SQL-Java datatype mappingSee datatype mapping .
subclassA class below another class in a hierarchy. It inherits attributes and behavior from classes above it. A subclass may be used interchangeably with its superclasses. The class above the subclass is its direct superclass. See superclass , narrowing conversion , and widening conversion .
superclassA class above one or more classes in a hierarchy. It passes attributes and behavior to the classes below it. It may not be used interchangeably with its subclasses. See subclass , narrowing conversion , and widening conversion .
synonymous classesJava-SQL classes that have the same fully qualified name but are installed in different databases.
UnicodeA 16-bit character set defined by ISO 10646 that supports many languages.
valid documentIn XML, a valid document has a DTD and adheres to it. It is also a well-formed document .
variableIn Java, a variable is local to a class, to instances of the class, or to a method. A variable that is declared static is local to the class. Other variables declared in the class are local to instances of the class. Those variables are called fields of the class. A variable declared in a method is local to the method.
visibleA Java class that has been installed in a SQL system is visible in SQL if it is declared public; a field or method of a Java instance is visible in SQL if it is both public and mappable. Visible classes, fields, and methods can be referenced in SQL. Other classes, fields, and methods cannot, including classes that are private, protected, or friendly, and fields and methods that are either private, protected, or friendly, or are not mappable.
well-formed documentIn XML, the necessary characteristics of a well-formed document include: all elements with both start and end tags, attribute values in quotes, all elements properly nested.
widening conversionA Java operation for converting a reference to a class instance to a reference to an instance of a superclass of that class. This operation is written in SQL with the convert function. See also narrowing conversion .
|
|