What I've found is that it is worthwhile to separate presentation from the
business logic (including database access), and from the logic that deals
with the server-side environment (the servlet container, initialization,
details of dispatching, etc.). There are very detailed and elaborate
frameworks to support this approach, and they certainly appear useful for
"heavy-duty" type applications, but even for more trivial pursuits, even
with a less formal approach, separation leads to a simple architecture, with
components that have clear-cut responsibilities, that are easier to test and
maintain.
----- Original Message -----
From: Neal Cabage <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 29, 2000 7:59 PM
Subject: Servlets v. JSP
> Anyone out there using servlets rather than JSPs? Why would a person
build
> a servlet rather than letting JSP just build one for you. My initial
> thought is that a pure hand-written servlet might be more efficient if
there
> is no actual output. Perhaps one might also consider it better style for
> the same reason. This is just speculation however and JSP just seems
easier
> and more time efficient...so would there be a good reason for hand-writing
> your own servlets instead?
>
> Thanks.
> Neal
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets