Originally posted by Aleksey Matiychenko:
Applets can connect to database same as applications but with a few restrictions:
1. Applet can always connect to database server that is running on the same machine as the web server where applet is located.
2. Applet can connect to any database that is specified in security.policy file.
3. Applet can be signed to allow it access to database.
It is not always necessary to spend money to get appropriate drivers. Many are available for free.