You have two approaches:
- Quick and simple: Compile with an embedded HTTP Server.
- Integrate with another web server: Your app is called by the web server via the FastCGI protocol.
Encryption
If you need encryption to to the end-user, then you must use a separate web server. The built-in web server is not capable of supporting SSL/TLS encryption. To protect the communication to the end-user, you must use a separate web server with SSL/TLS features.
jFastCGI
For those choosing the separate web server approach, discussion amongst the Web Edition crowd currently revolves around using the Apache HTTP Server ('httpd') as the front-end, calling your Web Edition app. But 'httpd' can be a bear. Some of us would rather use other web servers. For years, I have used Apache Tomcat as a standalone web server as well as for hosting Java Servlets.
Fortunately, there seems to be a good Java Servlet, jFastCGI, available to enable FastCGI on Servlet-enabled web servers such as Apache Tomcat, Jetty, Oracle Glassfish, JBoss, and others. People seem to be mainly using this to combine a PHP server with their Java server. But it seems possible that RS Web Edition may work just as well, using a couple elements in a simple XML config file.
No comments:
Post a Comment