Bug #1928
closedBuild deployment server using http over tcp/ip
0%
Description
Build deployment server that can be contacted from tablet PCs (using http over
tcp/ip) in order for them to get 2 things:
1) (more often) zip file containing generated form(s) and associated EML files
2) (less often) updated Jalama software, in the form of a WAR file for
deployment in Tomcat
NOTES:
a) When step (1) is carried out, we should be able to check if the user has the
latest version of the Jalama WAR, and if not, download and install it
automatically (maybe ask admin first)
b) because jalama's httprenderer directory in the tomcat servlet context may be
deleted and replaced by a new WAR at some point, we should ensure that we don't
lose any critical files during this process - either:
i) by backing them up and re-writing them to the new context (harder), or
ii) by just storing them elsewhere to begin with (easier, and we already use
~/.jalama for forms, so why not for data etc?)
Updated by Matthew Brooke almost 20 years ago
Tomcat config on workstation/server should allow connections only from the local
subnet, for security reasons. Tomcat on tablets shoudl allow connections only to
localhost.
when client originally tries to connect to workstation/server, or if tablet
cannot connect to server at previously-known address (eg if operating on a
quickly-changing DHCP network), then a dialog shoudl ask user for the server's
hostname or IP address. Otherwise, should just connect automatically, without
prompting user for address