This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I try to connect to a mySql database, but I always get this message: Cannot connect to MySql server...(com.ms.SecurityExceptionEx) I don't want to make a certification, the applet is for an intranet. Is there any other way? If not, how can I certificat my applet? Thanks.
If you don't want to bother with certification, your applet is only allowed to communicate back with the host it was loaded from. So you have two choices: 1. put the database on the same machine as the web server 2. run a "port redirector" on the web server machine which redirects traffic on a specified port to a different port on another machine. This way your applet thinks the database is on the web server machine, but it's actually somewhere else.