Project going fast ahead!!
Published Wednesday, May 24, 2006 by Sahil Ahuja | E-mail this post
Today...
For the first time we saw values change in the monitor with us changing a knob in our hands!!! (instantaneously)
We plotted the graph of the actual and observed readings.. IT WAS BEAUTIFUL!!!
Here is the attached pdf file for download.
We made a prog for querying C with MySQL and integrated it with PARAPIN.
Mr. Pandit told us to ponder more on the diode circuit problem he gave us.
Then..
I decided..
The following approaches are available for giving the data to the JAVA-APPLET:
- To digitally sign the java applet to allow it make connections to other hosts.
- To use the tomcat server to make the MySql queries for the applet and ask the applet to connect to tomcat server on port no 80. (The applet is allowed to make connection only to port it was called from.)
- The 3rd approach.. (My original approach :)
To use AJAX to update the data on the client!!
The APPLET tag on the webpage has a parameter named PARAM.
My theory is - - As the PARAM tag is on the html webpage.. JavaScript will have full access to it.
- JavaScript has full access to make network connections.
- The JavaScript can make AJAX requests to the web server and update the PARAM tag.
- I will make the JavaScript call for a PHP page which will in turn query the MySql Data.
Sahil
0 Responses to “Project going fast ahead!!”
Leave a Reply