dcsimg
differences
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, June 11, 2007 06:39 AM

what is the difference between php and jsp?

Re: differences

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.

Re: differences

Posted By:   David_Thornton  
Posted On:   Monday, June 11, 2007 11:22 PM

I'm not sure what all the differences are but one thing they both have in common is that they are not related to JDBC.



Read this and this and see if you can't work out the answer for yourself. If you need more information then there is some good advice here.

Re: differences

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?

Re: differences

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.

About | Sitemap | Contact