2 messages in com.mysql.lists.javaApplet size with jdbc
FromSent OnAttachments
Miika Jännäri17 Feb 2004 03:37 
Dave Hudach17 Feb 2004 04:48 
Subject:Applet size with jdbc
From:Miika Jännäri (miik@mercuriusonline.com)
Date:02/17/2004 03:37:14 AM
List:com.mysql.lists.java

I'm writing an applet, that uses Connector/J to connect to MySQL. It works fine, but I would like to make the file size smaller. I have put the COM directory of the jdbc in my jar file, and the size is around 250k. The COM directory takes about 200k of this. This is too much for modem users, and I want the applet to load fast.

I'm not a very experienced programmer, so I would like to know if there is a better way to do this, and a way to get the file size down. My database usage is very simple, and I think I could drop most of the features Connector/J offers, but I don't know what .class files I could just delete.

Or is there maybe some simpler driver available, that is smaller, and loads faster? Have anyone else had similar issues with applets? I know it's not an issue with applications, and it's not much of an issue with the connection I'm working with, but the modem users are the problem. And it's a problem only the first time the applet is loaded on the session. After that I guess it's loaded from the cache, and is much faster.