Posted By:
Christopher_Koenigsberg
Posted On:
Sunday, June 17, 2007 03:22 PM
One difference is that with a jsp, there's usually a separate app server and httpd server, so it can be more scalable (the httpd server can handle other requests, while waiting for a response from the app server. With PHP, all the code is typically executed in the same httpd server process.
Posted By:
Robert_Lybarger
Posted On:
Monday, June 11, 2007 06:30 PM
While you're at it, you may as well ask what the difference is between Perl and Java... or maybe between apples and oranges?
Posted By:
WarnerJan_Veldhuis
Posted On:
Monday, June 11, 2007 07:06 AM
In JSP you use C or Fortran to create dynamic javascript. That is executed on an Ajax, which in turn calls the script in an XML file. The XML is then parsed and processed in the browser. The HttpServletResponse will show the output from the client, and notifies the server that the page has been viewed, so the server can clean up the pool of connections.
PHP does the same, but it uses Pascal instead of Fortran...
Pffff... If this is representative for the questions that are going to be asked in the near future, I am going to quit my dayjob as a programmer. Quit JGuru, quit any IT site. I am going to work in a hospital or something. Start a restaurant.