7 messages in com.mysql.lists.javaRe: [solved] I have a working example...| From | Sent On | Attachments |
|---|---|---|
| Daevid Vincent | 15 Mar 2001 17:57 | |
| Mark Matthews | 16 Mar 2001 06:19 | |
| Daevid Vincent | 16 Mar 2001 13:51 | |
| Robert Seward | 16 Mar 2001 15:58 | |
| Dror Matalon | 16 Mar 2001 16:35 | |
| Daevid Vincent | 16 Mar 2001 18:27 | |
| Daevid Vincent | 16 Mar 2001 18:36 |
| Subject: | Re: [solved] I have a working example VJ++ project if anyone wants it.![]() |
|---|---|
| From: | Mark Matthews (mmat...@thematthews.org) |
| Date: | 03/16/2001 06:19:33 AM |
| List: | com.mysql.lists.java |
----- Original Message ----- From: "Daevid Vincent" <DayW...@TheMatrix.com> To: <ja...@lists.mysql.com> Sent: Thursday, March 15, 2001 7:58 PM Subject: [solved] I have a working example VJ++ project if anyone wants it.
It's 246KB .zip file.
I am amazed and to be frank, quite annoyed that there was no example program like this included with the JDBC driver, especially when there is all this stupid micro$oft permission assertions and stuff required to get it to even work! Not very beginner friendly that's for sure.
Sorry to disappoint, but all of these network permission problems are detailed in pretty much every book about writing applets in Java that are out there, and they are spelled out in the documentation that comes with Sun's JDK. If that information doesn't come with Microsoft's JDK, then that's too bad for their developers (personally, I don't use it). In fact, if you follow the applet development guidelines, you don't have to do any signed cabs, etc. The only requirement is that the database server is on the same machine as your webserver. You've hit it on the head with "stupid microsoft permission assertions", because they're non-standard.
From a coding standpoint, there is no difference in using MM.MySQL from applications/servlets/applets, etc, and this is covered in the documentation that ships with the driver in the "doc" subdirectory, and examples are provided in the "testsuite" directory.
[snip] Sorry for sounding so angst ridden, but it has been quite a frustrating ordeal, and I know it is mainly Microshite's problem/security model, but still, a FAQ or example code would have reduced the stress load considerably.
Your question has been answered many times on the java-mysql mailing list in the past. Did you check the archives (list available at http://www.mysql.com/documentation/searchlists.html)?




