>>> Stephen Casey <[EMAIL PROTECTED]> 02-Feb-01 6:26:26 PM >>>

>The answer to your question is, no. I would not ask
>the barber about taxes, etc. I would ask him ANYTHING
>related to hair care though. If he uses a brush or a
>razor in his line of work, I would ask him about the razor
>or brush. If I use JDBC in my servlet work, why can't I
>ask questions about JDBC?

I've just searched through the archives for questions you've asked.
In general I see a lot of usefull replies to your JDBC questions.
Perhaps you got flamed too but if you did it wasn't on the list.

The last question you asked (about ASP vs servlets) didn't get many
useful responses, partly because you limited the criteria of people
who should answer (you wanted people with experience of both ASP and
servlets).

I would have written to answer your question on that since I believe
there's a lot of rubbish talked about ASP but since I didn't then
here's an answer now.

Reasons why servlets are better than ASP:

- ASP has just one implementation, there are about 50 available
servlet engines

- ASP is a page language, servlets have a page language (JSP) which
is similar but you can also code them directly in Java and have all
the normal benefits of code vs. HTML; this enables the
Model-View-Control architecture so in vogue at the moment.
I guess MVC is possible with ASP but it's not as clear.

- Java has few stablity problems, ASP relies on many C libraries
which could have problems, Servlets jave just one C library to rely
on: the VM

- servlets scale well because of the optimizations that are possible
through the API's construction and Java's VM nature... once you run
out of threads with ASP that's it - you've run out; with Java there
are all sorts of things you can do to improve resource use

- servlets let you accurately work out what the per request object
load is (highly important to any performance analysis) you can't do
that with ASP because of the memory model


I hope that helps you defend your use of servlets to your colleague
who sounds like a very typical Microsoftie.


Nic

PS Please note that I in no way want to start a flame war about MS.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to