Re: PHP Pros/Cons, Case Examples, PHP vs Servlets
| From: | Mark Maggelet | Date: | Fri, 18 May 2001 16:44:23 +0000 |
| Subject: | Re: PHP Pros/Cons, Case Examples, PHP vs Servlets | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53452@lists.php.net to get a copy of this message | ||
>The sercuity of java is better and the network controlling features
>is better too .
>
>The loading time of servlet is faster since the server just need to
>run the servlet one times
You probably mean that it needs to load the jvm one time, the servlet
gets run with every request (unless you cache).
>and the servlet will leave inside server's memory for further use,
I'm guessing you meant to say either 'leak' or 'live', probably both.
>but PHP script will be run every times
Unless you cache. I've never seen a benchmark where java ran faster
than php
>you can control synchronization in servlet but you can't in PHP
Synchronization of what, threads? Php doesn't have threads.