-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ike wrote:
| Why would I ever have that hardcoded in my applet? Why would I not have a
| signon dialog in my applet to ask the user for these things?
|
| |
|>if you connect the database in your applet, somebody can decode the applet
|>and get your database's location and password.
|>
|>"Ike" <
[email protected]> дÈëÏûÏ¢ÐÂÎÅ
|>:
[email protected]...
|>
|>>I have an applet which communicates with a MySQL database on a server
|
| the
|
|>>served up the applet, communicating via JDBC.
|>>
|>>Can someone please tell me why I want to use a servlet as an
|
| intermediary
|
|>>between the database and the applet?
|>>
|>>Thanks, Ike
|>>
|>>
|>
|>
|
|
To find out the reason you would use a servlet, you should research the
MVC (Model View Controller) pattern. It explains why you would use a
servlet as you asked.
- --
[A n d r e w]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/gC+0x4nopx2ZsVURAt8EAKCHokqazAS5yLiLeHFQQScP9eL9hwCgkSyo
uV4zcdSEu5DP2fy9fcW474k=
=cLBo
-----END PGP SIGNATURE-----