Applet for internet use, browser class/JAR download

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Sam

Applet for internet use, browser class/JAR download

Post by Sam » Sat May 25, 2002 2:56 pm

Hi everyone,

I'm building an applet using JFreeChart, JCommon. Users will make choices that will be passed to a php page from an HTML form. The php page will use those form values to get data from a MySQL database and do some processing, then output the HTML for the Applet; it will represent the data as applet parameters.

I am creating the applet using the jcommon-0.6.1.jar, (junit.jar) and jfreechart-0.8.1.jar class libraries. But these all amount to something like 550K on their own, even before I start developing the applet.
If applet is small to medium sized .. then together with the library files included ... am I likely to end up with a user having to make a h-u-g-e JAR download every time he/she pulls up a different page on my site that references the applet? Could someone please advise me, I'd be really grateful.

thanks,

Sam

David Gilbert

Re: Applet for internet use, browser class/JAR download

Post by David Gilbert » Mon May 27, 2002 7:21 am

I think most browsers download the jar files once, then cache them. But I haven't done much applet work so someone else might be able to advise.

You shouldn't need to include junit.jar. It is only required to run the unit tests in JCommon. In the next release, I'll try to separate these out of the main jar file. I'll also move the JFreeChart demo code into a separate jar...

Regards,

DG.

Locked