A UDR written in Java code is implemented by a static method in a Java class.
# makefile for admin class
JAR_NAME = admin.jar
all:
javac *.java
jar cvmf manifest.txt $(JAR_NAME)
deploy.txt *.class
mv $(JAR_NAME) $(INFORMIXDIR)/jars
cleanup:
rm -f *.class $(INFORMIXDIR)/jars/$(JAR_NAME) JAR files contain Java classes that in turn contain static methods corresponding to SQL UDRs. JAR files can also contain auxiliary classes and methods that are used by the UDRs (for example, to perform SQL-to-Java type mapping).
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]