Couple of questions --
1. I learned that applet can be embedded in a html page given a "file.jar" which indicates those class codes. So when a client opens the applet, does it download the "file.jar" file ?
2. If the answer to question 1) is yes. Suppose I want to do some database query/update, I write the back end code using JDBC and write the GUI applet with panels inside, then I pack the back end code into a .jar file and deliver to client. However, when I write the JDBC part I didn't assume it is a remote client-server mode (i.e. I didn't use RMI or TCP/IP), then when client download the .jar file, how can it work remotely from client side ?
If you think I didn't make it clear enough for question 2), please answer this for me --- How do you write an applet application that can access remote server's database ? I mean, what parts of code should be put in the .jar and what should be taken care of ?
Thanks,
Steve
1. I learned that applet can be embedded in a html page given a "file.jar" which indicates those class codes. So when a client opens the applet, does it download the "file.jar" file ?
2. If the answer to question 1) is yes. Suppose I want to do some database query/update, I write the back end code using JDBC and write the GUI applet with panels inside, then I pack the back end code into a .jar file and deliver to client. However, when I write the JDBC part I didn't assume it is a remote client-server mode (i.e. I didn't use RMI or TCP/IP), then when client download the .jar file, how can it work remotely from client side ?
If you think I didn't make it clear enough for question 2), please answer this for me --- How do you write an applet application that can access remote server's database ? I mean, what parts of code should be put in the .jar and what should be taken care of ?
Thanks,
Steve