I am not sure of my best course of action and would appreciate some input. My problem is this. I have written an application in
java that communicates with a
micro controller and passes information back and forth.I read info from sensors and relays and make changes to them. My current GUI is set up with tables to
display this info. I am in the process of creating a graphics based interface to display the information in a web page but I am having trouble getting my
java program to update the HTML page. I have considered using java to update a database with values and then reading the database with PHP and updating the
HTML but I do not know how to get the java to run the PHP. I can use the java.awt.desktop API to display the html but I cant get it to display the .php files
due to the server issues with PHP. I am not sure what I am looking for here. Javascript? AJAX? What I want is for the user to push a button that loads a
web page and have java read that html file to determine which specific values to update, then update specific text boxes with those values from the
microcontroller. I already have the communication with my current java program. I know this is all a little confusing and convoluted and I apologize for
that. I am just having a tough time formulating a plan of attack. Any ideas?
Thanks in advance,
Ray
I will try to answer any questions as quickly as I can. All input is welcome.