orlox
February 17th, 2007, 11:57 PM
Rigt now, I'm developing a telescope control system (http://sourceforge.net/projects/tcsd/), and I'm looking for recomendations for a part of the application.
The program consists on a java program that runs as a daemon and communicates with the telescope on the server. There is a web GUI to access and control the daemon, that works using ajax.
The javaScript on the gui accesses php scripts that are located on the server. These php scripts connect to the daemon app through sockets. Then, the php script echoes the data received, so the javascript reads it...
I was wondering if there is a smarter way to do this...I believe java web services could be a choice, but can't figure how can the web services access the data in the daemon application.
Any suggestions??
The program consists on a java program that runs as a daemon and communicates with the telescope on the server. There is a web GUI to access and control the daemon, that works using ajax.
The javaScript on the gui accesses php scripts that are located on the server. These php scripts connect to the daemon app through sockets. Then, the php script echoes the data received, so the javascript reads it...
I was wondering if there is a smarter way to do this...I believe java web services could be a choice, but can't figure how can the web services access the data in the daemon application.
Any suggestions??