I am not a Java programmer, but I have found a way to feed data to an applet written by someone else: I simply use a database connected development environment (any will do: Cold Fusion, ASP, Tango, Perl, etc.). I query my tables and then format theresults using HTML applet parameter syntax, for example:
<applet archive="someapp.jar" code="someapp.class" width="135" height="225">
< %
Response.write '<param name="floatmode" value="' + floatvar +'">')
%>
</applet>
Assuming *floatvar* has been assigned previously, the applet gets the dynamic data as the page loads and all is right in the world.
JDBC is another topic to explore; it would allow you direct access to a database within the Java API, but I leave that to those who know more about it.
HTH