The server (currently just server.py) should be isolated from the rest of the program and serve only one purpose :
Listen on 443 for the XML from PGE and upon receiving
open a socket to the main process and send the XML
and keep some of the latest XMLs so they can be retrieved RESTfully
This will allow to port the server to:
a WAR so that people that already have Tomcat servers can use a more secure system - ideally the webserver is on the same computer as the PGESMD service...
and a server in the cloud that can take in PGEs asynchronous XMLs and serve them back to users "synchronously" ... as long as they wait for PGE...
The server (currently just server.py) should be isolated from the rest of the program and serve only one purpose :
This will allow to port the server to: