Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2005

Tip: Looking for answers? Try searching our database.

Java servlets versus PHP

Thread view: 
Jeremy Watts - 24 Jun 2005 19:08 GMT
vague question i know, but what sort of difference in execution times can be
expected between a web application run server side in PHP, and a Java
servlet also obviously run server side?

thanks
Hal Rosser - 25 Jun 2005 02:01 GMT
> vague question i know, but what sort of difference in execution times can be
> expected between a web application run server side in PHP, and a Java
> servlet also obviously run server side?
>
> thanks

The more intensive and complicated the business logic, the more you should
lean toward the Java solution.
Rob - 25 Jun 2005 02:45 GMT
Execution times tend to be dominated by database interactions. The
PHP/JSP layer generally isn't a significant factor in response time.

http://delsquared.blogspot.com
Ike - 26 Jun 2005 13:58 GMT
I studied this for some time. It seems the servlet solution does best in
very heavy traffic situations. In the lightest traffic situations, there is
no difference, in fact, my own experience suggests that in the lighter
traffic situations, (vague defiinition, I know) php is considerably faster.
Additionally, php can be used to pass blobs, and other complex data
structures. Typically, I wil use a servlet for database interaction, but, if
that pukes, have it switch seamlessly over to a php incarnation of the same
thing. Works like a charm, -Ike

> vague question i know, but what sort of difference in execution times can be
> expected between a web application run server side in PHP, and a Java
> servlet also obviously run server side?
>
> thanks


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.