Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
|
Using XML Transviewer Beans, 12 of 15
To use the database connectivity feature in this program, you must know the following:
You also need an account with CREATE TABLE privilege.
You can try the default account scott with password tiger if it still enabled on your Oracle8i system.
The following is the makefile
script:
# Makefile for sample java files .SUFFIXES : .java .class CLASSES = ViewSample.class AsyncTransformSample.class XMLTransformPanelSample.class # Change it to the appropriate separator based on the OS PATHSEP= : # Change this path to your JDK location. If you use JDK 1.1, you will need # to download also Swing 1.1 and add swingall.jar to your classpath. # You do not need to do this for JDK 1.2 since Swing is part of JDK 1.2 JDKPATH = /usr/local/packages/jdk1.2 # Make sure that the following product jar/zip files are in the classpath: # - Oracle JDBC driver for thin client (file classes111.zip) # - Oracle XML SQL Utility (file oraclexmlsql.jar) # You can download this products from technet.us.oracle.com # CLASSPATH :=$(CLASSPATH)$(PATHSEP)../lib/xmlparserv2.jar$(PATHSEP)../lib/xmlcomp.jar$(PATH SEP)../lib/jdev-rt.zip$(PATHSEP).$(PATHSEP) %.class: %.java $(JDKPATH)/bin/javac -classpath "$(CLASSPATH)" $< # make all class files all: $(CLASSES) sample1: XMLTransformPanelSample.class $(JDKPATH)/bin/java -classpath "$(CLASSPATH)" XMLTransformPanelSample sample2: ViewSample.class $(JDKPATH)/bin/java -classpath "$(CLASSPATH)" ViewSample sample3: AsyncTransformSample.class $(JDKPATH)/bin/java -classpath "$(CLASSPATH)" AsyncTransformSample
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|