If you are going to go the java route then resin is a very good servlet container.
http://www.caucho.com/resin-2.1/index.xtp Any reason you want to use an applet? There are alternatives, just depends on what you are doing and your target set of browsers. Myles. -----Original Message----- From: Phil Middlemiss [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 November 2004 17:44 To: NZ Borland Developers Group - Offtopic List Subject: [DUG-Offtopic] Java Servletts and PHP processes We are at the design phase of a new web app that will consist of a Java applet that is continually fetching data from the server (same machine that serves the applet and containing page). We are limited at the moment to three choices: 1) use a servlet to dish up the data to the applet 2) the applet can fetch a php file off the server which will contain the data 3) build our own web server to dish up both the page and the data. We want to use our existing skill base if possible which is limited to Delphi, php, and Java (although we are just now learning java and JBuilder for this project). Having said that, if there is a inexpensive technology with a fairly low learning curve that is crying out to be used then we would also consider that. The servlet appeals because of it's simplicity and we can use our existing linux based web host, but we are unsure about one thing: does each fetch by the applet launch a new servlet process? And if so, does each servlet process start it's own java run time environment? The php appeals because we have good skills already with it, we can use our existing linux based host, and speed is not a huge factor here but again, we are unsure about one thing: Does each fetch by the applet launch a new php process (the compiled php we use is about 2.5mb - if 500 users happened to be fetching at the same time, that's over 1gig of memory)? The build-our-own-Delphi-server option appeals, but we are inexperienced with "hardening" a web server and the scaleability issues are a little unknown to us also. Any comments that could throw a little light on this for us would be welcome. Heck, we may even hire someone to do some of the Java work for us (work from home is fine). Cheers, Phil. _______________________________________________ Offtopic mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/offtopic Attention: This communication is confidential and may be legally privileged. If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system. _______________________________________________ Offtopic mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/offtopic
