Re: Why JSP is better than PHP >>
| From: | Michael Kimsal | Date: | Mon, 13 Nov 2000 18:07:37 +0000 |
| Subject: | Re: Why JSP is better than PHP >> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25002@lists.php.net to get a copy of this message | ||
On a related note,
tell your friend to continue to read further down the page
where he got his last tidbit of info...
Even the java people have dissention in their ranks - nothing's perfect...
What are the disadvantages of JSP?
Created:2000-02-18 21:35:53.414
Modified:2000-05-29 12:13:34.873
Primary contributor:anil chakravarthy
1. As things stand, I believe that JSP can be effectively used only by
someone with some degree of Java
knowledge. Currently, Java programmers are a fairly expensive
commodity.
2. Debugging JSP programs is still a major challenge.You have to
remember that a jsp page will be first
converted to a .java file and then compiled. Thus, any errors will be
pointing to line numbers in the
converted .java file and not the .jsp page.For example an error in the
first line of .jsp page may be shown on
the 20th line of the .java file. Tracing back can be somewhat tricky.
(However, with the servlet engine
Resin, the errors refer to the line within the .jsp page.) You can
debug JSP pages using IDEs like VA Java
and JDeveloper; but I think debugging JSP using an high-powered IDE
would go against one of the basic
tenets of JSP - simplicity.
3. Database connectivity is not as easy as it should be. Most of the
servlet engine vendors do not support
connection pooling natively, as of this day. Consequently, one has to
write a lot of custom code to do the
job.
4. It is not an easy task to choose the appropriate servlet engine.
There isn't a single organization which
conducts independent benchmark testing on servlet engines. Individual
vendors do provide benchmarks for
their own products, but the figures usually refer to numbers and does
not provide any indication on the
stability of the engine.
5. There are numerous syntax related issues with JSP programming. Jason
Hunter, author of 'Java servlet
programming' has written an interesting article comparing JSP with
other scripting alternatives. You can read
the article at http://www.servlets.com/soapbox/problems-jsp.html.
Erick Papadakis wrote:
> Forgive me for a rehashed topic but the following has
> been thrust into my face by a guy who was born with
> Java skills and is still using the bloatware -
Furthermore, I'd suggest the biggest response you can give to him is to have
him try PHP. Rather than quoting biased drivel from a pro-java website,
base decisions on hands-on experience. We've done Java, ASP, Perl and PHP
for at least 18 months on each platform and PHP has far more real-world
benefits than the theoretical ones of the other platforms (CPAN
notwithstanding,
imo).
==========================
Michael Kimsal
http://www.tapinternet.com
734-480-9961