开发者

Connect database from applet

Is it po开发者_运维问答ssible to connect database from applet???


The sandbox requires that an applet connect back to the server and port it came from. If your database connection port is different from the servlet engine, it's not possible.

Best to put a servlet in between the applet and database. That way your database isn't exposed directly on the network. It gives the servlet a change to check authorization, bind variables, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜