I am trying to run a sample JDBCApplet code I picked from Sun's Java web site. I have a Derby DB sitting on my local PC and thought I would be able to leverage the sample to connect to this local DB and issue a select SQL statement and display the results. But it throws me an error stating:
Applets do not use the CLASSPATH variable. You need to include all necessary jar files in the archive attribute of the applet tag. See here for more detail on that.
Also be aware that if Derby needs access to the local file system (and I think it does, although it may have in-memory modes), which applets do not have for security reasons - it would need to be signed. See HowCanAnAppletReadFilesOnTheLocalFileSystem for further information. [ December 21, 2007: Message edited by: Ulf Dittmer ]