Re: can Applet use JDBC?# Java - 爪哇娇娃
o*d
1 楼
Yes. Applet can use JDBC to make database access. But,
Applet also has lots of security restriction. For example,
it can only make network connections to the host it comes
from. In another word, your database server and web server
needs to be on the machine, which is not always the case. If
your web server and database are located on seperate machine
and you do want your applet to access the database, you can
write an application as a media between the applet and
database.
Applet also has lots of security restriction. For example,
it can only make network connections to the host it comes
from. In another word, your database server and web server
needs to be on the machine, which is not always the case. If
your web server and database are located on seperate machine
and you do want your applet to access the database, you can
write an application as a media between the applet and
database.